1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: 00825_protobuf_format_syntax2.proto |
3 | |
4 | #include "00825_protobuf_format_syntax2.pb.h" |
5 | |
6 | #include <algorithm> |
7 | |
8 | #include <google/protobuf/stubs/common.h> |
9 | #include <google/protobuf/stubs/port.h> |
10 | #include <google/protobuf/io/coded_stream.h> |
11 | #include <google/protobuf/wire_format_lite_inl.h> |
12 | #include <google/protobuf/descriptor.h> |
13 | #include <google/protobuf/generated_message_reflection.h> |
14 | #include <google/protobuf/reflection_ops.h> |
15 | #include <google/protobuf/wire_format.h> |
16 | // This is a temporary google only hack |
17 | #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS |
18 | #include "third_party/protobuf/version.h" |
19 | #endif |
20 | // @@protoc_insertion_point(includes) |
21 | |
22 | namespace protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto { |
23 | extern PROTOBUF_INTERNAL_EXPORT_protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Syntax2Person_MeasureUnits; |
24 | extern PROTOBUF_INTERNAL_EXPORT_protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_Syntax2Person_Nestiness_A_SubB_C; |
25 | extern PROTOBUF_INTERNAL_EXPORT_protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Syntax2Person_Nestiness; |
26 | extern PROTOBUF_INTERNAL_EXPORT_protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Syntax2Person_Nestiness_A; |
27 | extern PROTOBUF_INTERNAL_EXPORT_protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Syntax2Person_Nestiness_A_SubB; |
28 | } // namespace protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto |
29 | class Syntax2Person_MeasureUnitsDefaultTypeInternal { |
30 | public: |
31 | ::google::protobuf::internal::ExplicitlyConstructed<Syntax2Person_MeasureUnits> |
32 | _instance; |
33 | } _Syntax2Person_MeasureUnits_default_instance_; |
34 | class Syntax2Person_Nestiness_A_SubB_CDefaultTypeInternal { |
35 | public: |
36 | ::google::protobuf::internal::ExplicitlyConstructed<Syntax2Person_Nestiness_A_SubB_C> |
37 | _instance; |
38 | } _Syntax2Person_Nestiness_A_SubB_C_default_instance_; |
39 | class Syntax2Person_Nestiness_A_SubBDefaultTypeInternal { |
40 | public: |
41 | ::google::protobuf::internal::ExplicitlyConstructed<Syntax2Person_Nestiness_A_SubB> |
42 | _instance; |
43 | } _Syntax2Person_Nestiness_A_SubB_default_instance_; |
44 | class Syntax2Person_Nestiness_ADefaultTypeInternal { |
45 | public: |
46 | ::google::protobuf::internal::ExplicitlyConstructed<Syntax2Person_Nestiness_A> |
47 | _instance; |
48 | } _Syntax2Person_Nestiness_A_default_instance_; |
49 | class Syntax2Person_NestinessDefaultTypeInternal { |
50 | public: |
51 | ::google::protobuf::internal::ExplicitlyConstructed<Syntax2Person_Nestiness> |
52 | _instance; |
53 | } _Syntax2Person_Nestiness_default_instance_; |
54 | class Syntax2PersonDefaultTypeInternal { |
55 | public: |
56 | ::google::protobuf::internal::ExplicitlyConstructed<Syntax2Person> |
57 | _instance; |
58 | } _Syntax2Person_default_instance_; |
59 | namespace protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto { |
60 | static void InitDefaultsSyntax2Person_MeasureUnits() { |
61 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
62 | |
63 | { |
64 | void* ptr = &::_Syntax2Person_MeasureUnits_default_instance_; |
65 | new (ptr) ::Syntax2Person_MeasureUnits(); |
66 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
67 | } |
68 | ::Syntax2Person_MeasureUnits::InitAsDefaultInstance(); |
69 | } |
70 | |
71 | ::google::protobuf::internal::SCCInfo<0> scc_info_Syntax2Person_MeasureUnits = |
72 | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSyntax2Person_MeasureUnits}, {}}; |
73 | |
74 | static void InitDefaultsSyntax2Person_Nestiness_A_SubB_C() { |
75 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
76 | |
77 | { |
78 | void* ptr = &::_Syntax2Person_Nestiness_A_SubB_C_default_instance_; |
79 | new (ptr) ::Syntax2Person_Nestiness_A_SubB_C(); |
80 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
81 | } |
82 | ::Syntax2Person_Nestiness_A_SubB_C::InitAsDefaultInstance(); |
83 | } |
84 | |
85 | ::google::protobuf::internal::SCCInfo<0> scc_info_Syntax2Person_Nestiness_A_SubB_C = |
86 | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSyntax2Person_Nestiness_A_SubB_C}, {}}; |
87 | |
88 | static void InitDefaultsSyntax2Person_Nestiness_A_SubB() { |
89 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
90 | |
91 | { |
92 | void* ptr = &::_Syntax2Person_Nestiness_A_SubB_default_instance_; |
93 | new (ptr) ::Syntax2Person_Nestiness_A_SubB(); |
94 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
95 | } |
96 | ::Syntax2Person_Nestiness_A_SubB::InitAsDefaultInstance(); |
97 | } |
98 | |
99 | ::google::protobuf::internal::SCCInfo<1> scc_info_Syntax2Person_Nestiness_A_SubB = |
100 | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSyntax2Person_Nestiness_A_SubB}, { |
101 | &protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_Nestiness_A_SubB_C.base,}}; |
102 | |
103 | static void InitDefaultsSyntax2Person_Nestiness_A() { |
104 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
105 | |
106 | { |
107 | void* ptr = &::_Syntax2Person_Nestiness_A_default_instance_; |
108 | new (ptr) ::Syntax2Person_Nestiness_A(); |
109 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
110 | } |
111 | ::Syntax2Person_Nestiness_A::InitAsDefaultInstance(); |
112 | } |
113 | |
114 | ::google::protobuf::internal::SCCInfo<1> scc_info_Syntax2Person_Nestiness_A = |
115 | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSyntax2Person_Nestiness_A}, { |
116 | &protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_Nestiness_A_SubB.base,}}; |
117 | |
118 | static void InitDefaultsSyntax2Person_Nestiness() { |
119 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
120 | |
121 | { |
122 | void* ptr = &::_Syntax2Person_Nestiness_default_instance_; |
123 | new (ptr) ::Syntax2Person_Nestiness(); |
124 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
125 | } |
126 | ::Syntax2Person_Nestiness::InitAsDefaultInstance(); |
127 | } |
128 | |
129 | ::google::protobuf::internal::SCCInfo<1> scc_info_Syntax2Person_Nestiness = |
130 | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSyntax2Person_Nestiness}, { |
131 | &protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_Nestiness_A.base,}}; |
132 | |
133 | static void InitDefaultsSyntax2Person() { |
134 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
135 | |
136 | ::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.DefaultConstruct(); |
137 | *::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get_mutable() = ::std::string("Moscow" , 6); |
138 | ::google::protobuf::internal::OnShutdownDestroyString( |
139 | ::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get_mutable()); |
140 | ::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.DefaultConstruct(); |
141 | *::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get_mutable() = ::std::string("abc" , 3); |
142 | ::google::protobuf::internal::OnShutdownDestroyString( |
143 | ::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get_mutable()); |
144 | { |
145 | void* ptr = &::_Syntax2Person_default_instance_; |
146 | new (ptr) ::Syntax2Person(); |
147 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
148 | } |
149 | ::Syntax2Person::InitAsDefaultInstance(); |
150 | } |
151 | |
152 | ::google::protobuf::internal::SCCInfo<2> scc_info_Syntax2Person = |
153 | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsSyntax2Person}, { |
154 | &protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_MeasureUnits.base, |
155 | &protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_Nestiness.base,}}; |
156 | |
157 | void InitDefaults() { |
158 | ::google::protobuf::internal::InitSCC(&scc_info_Syntax2Person_MeasureUnits.base); |
159 | ::google::protobuf::internal::InitSCC(&scc_info_Syntax2Person_Nestiness_A_SubB_C.base); |
160 | ::google::protobuf::internal::InitSCC(&scc_info_Syntax2Person_Nestiness_A_SubB.base); |
161 | ::google::protobuf::internal::InitSCC(&scc_info_Syntax2Person_Nestiness_A.base); |
162 | ::google::protobuf::internal::InitSCC(&scc_info_Syntax2Person_Nestiness.base); |
163 | ::google::protobuf::internal::InitSCC(&scc_info_Syntax2Person.base); |
164 | } |
165 | |
166 | ::google::protobuf::Metadata file_level_metadata[6]; |
167 | const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[2]; |
168 | |
169 | const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
170 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_MeasureUnits, _has_bits_), |
171 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_MeasureUnits, _internal_metadata_), |
172 | ~0u, // no _extensions_ |
173 | ~0u, // no _oneof_case_ |
174 | ~0u, // no _weak_field_map_ |
175 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_MeasureUnits, coef_), |
176 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_MeasureUnits, unit_), |
177 | ~0u, |
178 | ~0u, |
179 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness_A_SubB_C, _has_bits_), |
180 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness_A_SubB_C, _internal_metadata_), |
181 | ~0u, // no _extensions_ |
182 | ~0u, // no _oneof_case_ |
183 | ~0u, // no _weak_field_map_ |
184 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness_A_SubB_C, d_), |
185 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness_A_SubB_C, e_), |
186 | 0, |
187 | ~0u, |
188 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness_A_SubB, _has_bits_), |
189 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness_A_SubB, _internal_metadata_), |
190 | ~0u, // no _extensions_ |
191 | ~0u, // no _oneof_case_ |
192 | ~0u, // no _weak_field_map_ |
193 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness_A_SubB, c_), |
194 | 0, |
195 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness_A, _has_bits_), |
196 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness_A, _internal_metadata_), |
197 | ~0u, // no _extensions_ |
198 | ~0u, // no _oneof_case_ |
199 | ~0u, // no _weak_field_map_ |
200 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness_A, b_), |
201 | 0, |
202 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness, _has_bits_), |
203 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness, _internal_metadata_), |
204 | ~0u, // no _extensions_ |
205 | ~0u, // no _oneof_case_ |
206 | ~0u, // no _weak_field_map_ |
207 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person_Nestiness, a_), |
208 | 0, |
209 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, _has_bits_), |
210 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, _internal_metadata_), |
211 | ~0u, // no _extensions_ |
212 | ~0u, // no _oneof_case_ |
213 | ~0u, // no _weak_field_map_ |
214 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, uuid_), |
215 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, name_), |
216 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, surname_), |
217 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, gender_), |
218 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, birthdate_), |
219 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, photo_), |
220 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, phonenumber_), |
221 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, isonline_), |
222 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, visittime_), |
223 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, age_), |
224 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, zodiacsign_), |
225 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, songs_), |
226 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, color_), |
227 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, hometown_), |
228 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, location_), |
229 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, pi_), |
230 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, lotterywin_), |
231 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, someratio_), |
232 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, temperature_), |
233 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, randombignumber_), |
234 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, measureunits_), |
235 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, nestiness_), |
236 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, newfieldstr_), |
237 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, newfieldint_), |
238 | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::Syntax2Person, newbool_), |
239 | 0, |
240 | 1, |
241 | 2, |
242 | 9, |
243 | 10, |
244 | 3, |
245 | 4, |
246 | 11, |
247 | 12, |
248 | 13, |
249 | 14, |
250 | ~0u, |
251 | ~0u, |
252 | 5, |
253 | ~0u, |
254 | 15, |
255 | 16, |
256 | 17, |
257 | 18, |
258 | 19, |
259 | 7, |
260 | 8, |
261 | 6, |
262 | 20, |
263 | 21, |
264 | }; |
265 | static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
266 | { 0, 7, sizeof(::Syntax2Person_MeasureUnits)}, |
267 | { 9, 16, sizeof(::Syntax2Person_Nestiness_A_SubB_C)}, |
268 | { 18, 24, sizeof(::Syntax2Person_Nestiness_A_SubB)}, |
269 | { 25, 31, sizeof(::Syntax2Person_Nestiness_A)}, |
270 | { 32, 38, sizeof(::Syntax2Person_Nestiness)}, |
271 | { 39, 69, sizeof(::Syntax2Person)}, |
272 | }; |
273 | |
274 | static ::google::protobuf::Message const * const file_default_instances[] = { |
275 | reinterpret_cast<const ::google::protobuf::Message*>(&::_Syntax2Person_MeasureUnits_default_instance_), |
276 | reinterpret_cast<const ::google::protobuf::Message*>(&::_Syntax2Person_Nestiness_A_SubB_C_default_instance_), |
277 | reinterpret_cast<const ::google::protobuf::Message*>(&::_Syntax2Person_Nestiness_A_SubB_default_instance_), |
278 | reinterpret_cast<const ::google::protobuf::Message*>(&::_Syntax2Person_Nestiness_A_default_instance_), |
279 | reinterpret_cast<const ::google::protobuf::Message*>(&::_Syntax2Person_Nestiness_default_instance_), |
280 | reinterpret_cast<const ::google::protobuf::Message*>(&::_Syntax2Person_default_instance_), |
281 | }; |
282 | |
283 | void protobuf_AssignDescriptors() { |
284 | AddDescriptors(); |
285 | AssignDescriptors( |
286 | "00825_protobuf_format_syntax2.proto" , schemas, file_default_instances, TableStruct::offsets, |
287 | file_level_metadata, file_level_enum_descriptors, NULL); |
288 | } |
289 | |
290 | void protobuf_AssignDescriptorsOnce() { |
291 | static ::google::protobuf::internal::once_flag once; |
292 | ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors); |
293 | } |
294 | |
295 | void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; |
296 | void protobuf_RegisterTypes(const ::std::string&) { |
297 | protobuf_AssignDescriptorsOnce(); |
298 | ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 6); |
299 | } |
300 | |
301 | void AddDescriptorsImpl() { |
302 | InitDefaults(); |
303 | static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
304 | "\n#00825_protobuf_format_syntax2.proto\"\376\007" |
305 | "\n\rSyntax2Person\022\014\n\004uuid\030\001 \002(\t\022\014\n\004name\030\002 " |
306 | "\002(\t\022\017\n\007surname\030\003 \002(\t\022%\n\006gender\030\004 \002(\0162\025.S" |
307 | "yntax2Person.Gender\022\021\n\tbirthDate\030\005 \002(\r\022\r" |
308 | "\n\005photo\030\006 \001(\014\022\023\n\013phoneNumber\030\007 \001(\t\022\020\n\010is" |
309 | "Online\030\010 \001(\010\022\021\n\tvisitTime\030\t \001(\007\022\013\n\003age\030\n" |
310 | " \001(\r\022-\n\nzodiacSign\030\013 \001(\0162\031.Syntax2Person" |
311 | ".ZodiacSign\022\r\n\005songs\030\014 \003(\t\022\r\n\005color\030\r \003(" |
312 | "\r\022\030\n\010hometown\030\016 \001(\t:\006Moscow\022\024\n\010location\030" |
313 | "\017 \003(\002B\002\020\001\022\n\n\002pi\030\020 \001(\001\022\022\n\nlotteryWin\030\021 \001(" |
314 | "\001\022\021\n\tsomeRatio\030\022 \001(\002\022\023\n\013temperature\030\023 \001(" |
315 | "\002\022\027\n\017randomBigNumber\030\024 \001(\022\0221\n\014measureuni" |
316 | "ts\030\025 \001(\n2\033.Syntax2Person.MeasureUnits\022+\n" |
317 | "\tnestiness\030\026 \001(\n2\030.Syntax2Person.Nestine" |
318 | "ss\022\030\n\013newFieldStr\030\027 \001(\t:\003abc\022\030\n\013newField" |
319 | "Int\030\030 \001(\005:\003-11\022\025\n\007newBool\030\031 \001(\010:\004true\032*\n" |
320 | "\014MeasureUnits\022\014\n\004coef\030\001 \003(\002\022\014\n\004unit\030\002 \003(" |
321 | "\t\032\265\001\n\tNestiness\022%\n\001a\030\001 \001(\n2\032.Syntax2Pers" |
322 | "on.Nestiness.A\032\200\001\n\001A\022*\n\001b\030d \001(\0132\037.Syntax" |
323 | "2Person.Nestiness.A.SubB\032O\n\004SubB\022,\n\001c\030\001 " |
324 | "\001(\n2!.Syntax2Person.Nestiness.A.SubB.C\032\031" |
325 | "\n\001C\022\t\n\001d\030\001 \001(\r\022\t\n\001e\030\002 \003(\r\"\036\n\006Gender\022\n\n\006f" |
326 | "emale\020\000\022\010\n\004male\020\001\"\242\001\n\nZodiacSign\022\t\n\005arie" |
327 | "s\020\000\022\n\n\006taurus\020\001\022\n\n\006gemini\020\002\022\n\n\006cancer\020\003\022" |
328 | "\007\n\003leo\020\004\022\t\n\005virgo\020\005\022\t\n\005libra\020\006\022\014\n\010scorpi" |
329 | "us\020\007\022\017\n\013sagittarius\020\010\022\r\n\tcapricorn\020\t\022\014\n\010" |
330 | "aquarius\020\n\022\n\n\006pisces\020\013" |
331 | }; |
332 | ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( |
333 | descriptor, 1062); |
334 | ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( |
335 | "00825_protobuf_format_syntax2.proto" , &protobuf_RegisterTypes); |
336 | } |
337 | |
338 | void AddDescriptors() { |
339 | static ::google::protobuf::internal::once_flag once; |
340 | ::google::protobuf::internal::call_once(once, AddDescriptorsImpl); |
341 | } |
342 | // Force AddDescriptors() to be called at dynamic initialization time. |
343 | struct StaticDescriptorInitializer { |
344 | StaticDescriptorInitializer() { |
345 | AddDescriptors(); |
346 | } |
347 | } static_descriptor_initializer; |
348 | } // namespace protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto |
349 | const ::google::protobuf::EnumDescriptor* Syntax2Person_Gender_descriptor() { |
350 | protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
351 | return protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_enum_descriptors[0]; |
352 | } |
353 | bool Syntax2Person_Gender_IsValid(int value) { |
354 | switch (value) { |
355 | case 0: |
356 | case 1: |
357 | return true; |
358 | default: |
359 | return false; |
360 | } |
361 | } |
362 | |
363 | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
364 | const Syntax2Person_Gender Syntax2Person::female; |
365 | const Syntax2Person_Gender Syntax2Person::male; |
366 | const Syntax2Person_Gender Syntax2Person::Gender_MIN; |
367 | const Syntax2Person_Gender Syntax2Person::Gender_MAX; |
368 | const int Syntax2Person::Gender_ARRAYSIZE; |
369 | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
370 | const ::google::protobuf::EnumDescriptor* Syntax2Person_ZodiacSign_descriptor() { |
371 | protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
372 | return protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_enum_descriptors[1]; |
373 | } |
374 | bool Syntax2Person_ZodiacSign_IsValid(int value) { |
375 | switch (value) { |
376 | case 0: |
377 | case 1: |
378 | case 2: |
379 | case 3: |
380 | case 4: |
381 | case 5: |
382 | case 6: |
383 | case 7: |
384 | case 8: |
385 | case 9: |
386 | case 10: |
387 | case 11: |
388 | return true; |
389 | default: |
390 | return false; |
391 | } |
392 | } |
393 | |
394 | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
395 | const Syntax2Person_ZodiacSign Syntax2Person::aries; |
396 | const Syntax2Person_ZodiacSign Syntax2Person::taurus; |
397 | const Syntax2Person_ZodiacSign Syntax2Person::gemini; |
398 | const Syntax2Person_ZodiacSign Syntax2Person::cancer; |
399 | const Syntax2Person_ZodiacSign Syntax2Person::leo; |
400 | const Syntax2Person_ZodiacSign Syntax2Person::virgo; |
401 | const Syntax2Person_ZodiacSign Syntax2Person::libra; |
402 | const Syntax2Person_ZodiacSign Syntax2Person::scorpius; |
403 | const Syntax2Person_ZodiacSign Syntax2Person::sagittarius; |
404 | const Syntax2Person_ZodiacSign Syntax2Person::capricorn; |
405 | const Syntax2Person_ZodiacSign Syntax2Person::aquarius; |
406 | const Syntax2Person_ZodiacSign Syntax2Person::pisces; |
407 | const Syntax2Person_ZodiacSign Syntax2Person::ZodiacSign_MIN; |
408 | const Syntax2Person_ZodiacSign Syntax2Person::ZodiacSign_MAX; |
409 | const int Syntax2Person::ZodiacSign_ARRAYSIZE; |
410 | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
411 | |
412 | // =================================================================== |
413 | |
414 | void Syntax2Person_MeasureUnits::InitAsDefaultInstance() { |
415 | } |
416 | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
417 | const int Syntax2Person_MeasureUnits::kCoefFieldNumber; |
418 | const int Syntax2Person_MeasureUnits::kUnitFieldNumber; |
419 | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
420 | |
421 | Syntax2Person_MeasureUnits::Syntax2Person_MeasureUnits() |
422 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
423 | ::google::protobuf::internal::InitSCC( |
424 | &protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_MeasureUnits.base); |
425 | SharedCtor(); |
426 | // @@protoc_insertion_point(constructor:Syntax2Person.MeasureUnits) |
427 | } |
428 | Syntax2Person_MeasureUnits::Syntax2Person_MeasureUnits(const Syntax2Person_MeasureUnits& from) |
429 | : ::google::protobuf::Message(), |
430 | _internal_metadata_(NULL), |
431 | _has_bits_(from._has_bits_), |
432 | coef_(from.coef_), |
433 | unit_(from.unit_) { |
434 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
435 | // @@protoc_insertion_point(copy_constructor:Syntax2Person.MeasureUnits) |
436 | } |
437 | |
438 | void Syntax2Person_MeasureUnits::SharedCtor() { |
439 | } |
440 | |
441 | Syntax2Person_MeasureUnits::~Syntax2Person_MeasureUnits() { |
442 | // @@protoc_insertion_point(destructor:Syntax2Person.MeasureUnits) |
443 | SharedDtor(); |
444 | } |
445 | |
446 | void Syntax2Person_MeasureUnits::SharedDtor() { |
447 | } |
448 | |
449 | void Syntax2Person_MeasureUnits::SetCachedSize(int size) const { |
450 | _cached_size_.Set(size); |
451 | } |
452 | const ::google::protobuf::Descriptor* Syntax2Person_MeasureUnits::descriptor() { |
453 | ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
454 | return ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
455 | } |
456 | |
457 | const Syntax2Person_MeasureUnits& Syntax2Person_MeasureUnits::default_instance() { |
458 | ::google::protobuf::internal::InitSCC(&protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_MeasureUnits.base); |
459 | return *internal_default_instance(); |
460 | } |
461 | |
462 | |
463 | void Syntax2Person_MeasureUnits::Clear() { |
464 | // @@protoc_insertion_point(message_clear_start:Syntax2Person.MeasureUnits) |
465 | ::google::protobuf::uint32 cached_has_bits = 0; |
466 | // Prevent compiler warnings about cached_has_bits being unused |
467 | (void) cached_has_bits; |
468 | |
469 | coef_.Clear(); |
470 | unit_.Clear(); |
471 | _has_bits_.Clear(); |
472 | _internal_metadata_.Clear(); |
473 | } |
474 | |
475 | bool Syntax2Person_MeasureUnits::MergePartialFromCodedStream( |
476 | ::google::protobuf::io::CodedInputStream* input) { |
477 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
478 | ::google::protobuf::uint32 tag; |
479 | // @@protoc_insertion_point(parse_start:Syntax2Person.MeasureUnits) |
480 | for (;;) { |
481 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
482 | tag = p.first; |
483 | if (!p.second) goto handle_unusual; |
484 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
485 | // repeated float coef = 1; |
486 | case 1: { |
487 | if (static_cast< ::google::protobuf::uint8>(tag) == |
488 | static_cast< ::google::protobuf::uint8>(13u /* 13 & 0xFF */)) { |
489 | DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< |
490 | float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( |
491 | 1, 13u, input, this->mutable_coef()))); |
492 | } else if ( |
493 | static_cast< ::google::protobuf::uint8>(tag) == |
494 | static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
495 | DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< |
496 | float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( |
497 | input, this->mutable_coef()))); |
498 | } else { |
499 | goto handle_unusual; |
500 | } |
501 | break; |
502 | } |
503 | |
504 | // repeated string unit = 2; |
505 | case 2: { |
506 | if (static_cast< ::google::protobuf::uint8>(tag) == |
507 | static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
508 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
509 | input, this->add_unit())); |
510 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
511 | this->unit(this->unit_size() - 1).data(), |
512 | static_cast<int>(this->unit(this->unit_size() - 1).length()), |
513 | ::google::protobuf::internal::WireFormat::PARSE, |
514 | "Syntax2Person.MeasureUnits.unit" ); |
515 | } else { |
516 | goto handle_unusual; |
517 | } |
518 | break; |
519 | } |
520 | |
521 | default: { |
522 | handle_unusual: |
523 | if (tag == 0 || |
524 | ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
525 | ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { |
526 | input->SetLastTag(tag); |
527 | goto success; |
528 | } |
529 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
530 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
531 | break; |
532 | } |
533 | } |
534 | } |
535 | success: |
536 | // @@protoc_insertion_point(parse_success:Syntax2Person.MeasureUnits) |
537 | return true; |
538 | failure: |
539 | // @@protoc_insertion_point(parse_failure:Syntax2Person.MeasureUnits) |
540 | return false; |
541 | #undef DO_ |
542 | } |
543 | |
544 | void Syntax2Person_MeasureUnits::SerializeWithCachedSizes( |
545 | ::google::protobuf::io::CodedOutputStream* output) const { |
546 | // @@protoc_insertion_point(serialize_start:Syntax2Person.MeasureUnits) |
547 | ::google::protobuf::uint32 cached_has_bits = 0; |
548 | (void) cached_has_bits; |
549 | |
550 | // repeated float coef = 1; |
551 | for (int i = 0, n = this->coef_size(); i < n; i++) { |
552 | ::google::protobuf::internal::WireFormatLite::WriteFloat( |
553 | 1, this->coef(i), output); |
554 | } |
555 | |
556 | // repeated string unit = 2; |
557 | for (int i = 0, n = this->unit_size(); i < n; i++) { |
558 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
559 | this->unit(i).data(), static_cast<int>(this->unit(i).length()), |
560 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
561 | "Syntax2Person.MeasureUnits.unit" ); |
562 | ::google::protobuf::internal::WireFormatLite::WriteString( |
563 | 2, this->unit(i), output); |
564 | } |
565 | |
566 | if (_internal_metadata_.have_unknown_fields()) { |
567 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
568 | _internal_metadata_.unknown_fields(), output); |
569 | } |
570 | // @@protoc_insertion_point(serialize_end:Syntax2Person.MeasureUnits) |
571 | } |
572 | |
573 | ::google::protobuf::uint8* Syntax2Person_MeasureUnits::InternalSerializeWithCachedSizesToArray( |
574 | bool deterministic, ::google::protobuf::uint8* target) const { |
575 | (void)deterministic; // Unused |
576 | // @@protoc_insertion_point(serialize_to_array_start:Syntax2Person.MeasureUnits) |
577 | ::google::protobuf::uint32 cached_has_bits = 0; |
578 | (void) cached_has_bits; |
579 | |
580 | // repeated float coef = 1; |
581 | target = ::google::protobuf::internal::WireFormatLite:: |
582 | WriteFloatToArray(1, this->coef_, target); |
583 | |
584 | // repeated string unit = 2; |
585 | for (int i = 0, n = this->unit_size(); i < n; i++) { |
586 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
587 | this->unit(i).data(), static_cast<int>(this->unit(i).length()), |
588 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
589 | "Syntax2Person.MeasureUnits.unit" ); |
590 | target = ::google::protobuf::internal::WireFormatLite:: |
591 | WriteStringToArray(2, this->unit(i), target); |
592 | } |
593 | |
594 | if (_internal_metadata_.have_unknown_fields()) { |
595 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
596 | _internal_metadata_.unknown_fields(), target); |
597 | } |
598 | // @@protoc_insertion_point(serialize_to_array_end:Syntax2Person.MeasureUnits) |
599 | return target; |
600 | } |
601 | |
602 | size_t Syntax2Person_MeasureUnits::ByteSizeLong() const { |
603 | // @@protoc_insertion_point(message_byte_size_start:Syntax2Person.MeasureUnits) |
604 | size_t total_size = 0; |
605 | |
606 | if (_internal_metadata_.have_unknown_fields()) { |
607 | total_size += |
608 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
609 | _internal_metadata_.unknown_fields()); |
610 | } |
611 | // repeated float coef = 1; |
612 | { |
613 | unsigned int count = static_cast<unsigned int>(this->coef_size()); |
614 | size_t data_size = 4UL * count; |
615 | total_size += 1 * |
616 | ::google::protobuf::internal::FromIntSize(this->coef_size()); |
617 | total_size += data_size; |
618 | } |
619 | |
620 | // repeated string unit = 2; |
621 | total_size += 1 * |
622 | ::google::protobuf::internal::FromIntSize(this->unit_size()); |
623 | for (int i = 0, n = this->unit_size(); i < n; i++) { |
624 | total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
625 | this->unit(i)); |
626 | } |
627 | |
628 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
629 | SetCachedSize(cached_size); |
630 | return total_size; |
631 | } |
632 | |
633 | void Syntax2Person_MeasureUnits::MergeFrom(const ::google::protobuf::Message& from) { |
634 | // @@protoc_insertion_point(generalized_merge_from_start:Syntax2Person.MeasureUnits) |
635 | GOOGLE_DCHECK_NE(&from, this); |
636 | const Syntax2Person_MeasureUnits* source = |
637 | ::google::protobuf::internal::DynamicCastToGenerated<const Syntax2Person_MeasureUnits>( |
638 | &from); |
639 | if (source == NULL) { |
640 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:Syntax2Person.MeasureUnits) |
641 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
642 | } else { |
643 | // @@protoc_insertion_point(generalized_merge_from_cast_success:Syntax2Person.MeasureUnits) |
644 | MergeFrom(*source); |
645 | } |
646 | } |
647 | |
648 | void Syntax2Person_MeasureUnits::MergeFrom(const Syntax2Person_MeasureUnits& from) { |
649 | // @@protoc_insertion_point(class_specific_merge_from_start:Syntax2Person.MeasureUnits) |
650 | GOOGLE_DCHECK_NE(&from, this); |
651 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
652 | ::google::protobuf::uint32 cached_has_bits = 0; |
653 | (void) cached_has_bits; |
654 | |
655 | coef_.MergeFrom(from.coef_); |
656 | unit_.MergeFrom(from.unit_); |
657 | } |
658 | |
659 | void Syntax2Person_MeasureUnits::CopyFrom(const ::google::protobuf::Message& from) { |
660 | // @@protoc_insertion_point(generalized_copy_from_start:Syntax2Person.MeasureUnits) |
661 | if (&from == this) return; |
662 | Clear(); |
663 | MergeFrom(from); |
664 | } |
665 | |
666 | void Syntax2Person_MeasureUnits::CopyFrom(const Syntax2Person_MeasureUnits& from) { |
667 | // @@protoc_insertion_point(class_specific_copy_from_start:Syntax2Person.MeasureUnits) |
668 | if (&from == this) return; |
669 | Clear(); |
670 | MergeFrom(from); |
671 | } |
672 | |
673 | bool Syntax2Person_MeasureUnits::IsInitialized() const { |
674 | return true; |
675 | } |
676 | |
677 | void Syntax2Person_MeasureUnits::Swap(Syntax2Person_MeasureUnits* other) { |
678 | if (other == this) return; |
679 | InternalSwap(other); |
680 | } |
681 | void Syntax2Person_MeasureUnits::InternalSwap(Syntax2Person_MeasureUnits* other) { |
682 | using std::swap; |
683 | coef_.InternalSwap(&other->coef_); |
684 | unit_.InternalSwap(CastToBase(&other->unit_)); |
685 | swap(_has_bits_[0], other->_has_bits_[0]); |
686 | _internal_metadata_.Swap(&other->_internal_metadata_); |
687 | } |
688 | |
689 | ::google::protobuf::Metadata Syntax2Person_MeasureUnits::GetMetadata() const { |
690 | protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
691 | return ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_metadata[kIndexInFileMessages]; |
692 | } |
693 | |
694 | |
695 | // =================================================================== |
696 | |
697 | void Syntax2Person_Nestiness_A_SubB_C::InitAsDefaultInstance() { |
698 | } |
699 | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
700 | const int Syntax2Person_Nestiness_A_SubB_C::kDFieldNumber; |
701 | const int Syntax2Person_Nestiness_A_SubB_C::kEFieldNumber; |
702 | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
703 | |
704 | Syntax2Person_Nestiness_A_SubB_C::Syntax2Person_Nestiness_A_SubB_C() |
705 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
706 | ::google::protobuf::internal::InitSCC( |
707 | &protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_Nestiness_A_SubB_C.base); |
708 | SharedCtor(); |
709 | // @@protoc_insertion_point(constructor:Syntax2Person.Nestiness.A.SubB.C) |
710 | } |
711 | Syntax2Person_Nestiness_A_SubB_C::Syntax2Person_Nestiness_A_SubB_C(const Syntax2Person_Nestiness_A_SubB_C& from) |
712 | : ::google::protobuf::Message(), |
713 | _internal_metadata_(NULL), |
714 | _has_bits_(from._has_bits_), |
715 | e_(from.e_) { |
716 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
717 | d_ = from.d_; |
718 | // @@protoc_insertion_point(copy_constructor:Syntax2Person.Nestiness.A.SubB.C) |
719 | } |
720 | |
721 | void Syntax2Person_Nestiness_A_SubB_C::SharedCtor() { |
722 | d_ = 0u; |
723 | } |
724 | |
725 | Syntax2Person_Nestiness_A_SubB_C::~Syntax2Person_Nestiness_A_SubB_C() { |
726 | // @@protoc_insertion_point(destructor:Syntax2Person.Nestiness.A.SubB.C) |
727 | SharedDtor(); |
728 | } |
729 | |
730 | void Syntax2Person_Nestiness_A_SubB_C::SharedDtor() { |
731 | } |
732 | |
733 | void Syntax2Person_Nestiness_A_SubB_C::SetCachedSize(int size) const { |
734 | _cached_size_.Set(size); |
735 | } |
736 | const ::google::protobuf::Descriptor* Syntax2Person_Nestiness_A_SubB_C::descriptor() { |
737 | ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
738 | return ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
739 | } |
740 | |
741 | const Syntax2Person_Nestiness_A_SubB_C& Syntax2Person_Nestiness_A_SubB_C::default_instance() { |
742 | ::google::protobuf::internal::InitSCC(&protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_Nestiness_A_SubB_C.base); |
743 | return *internal_default_instance(); |
744 | } |
745 | |
746 | |
747 | void Syntax2Person_Nestiness_A_SubB_C::Clear() { |
748 | // @@protoc_insertion_point(message_clear_start:Syntax2Person.Nestiness.A.SubB.C) |
749 | ::google::protobuf::uint32 cached_has_bits = 0; |
750 | // Prevent compiler warnings about cached_has_bits being unused |
751 | (void) cached_has_bits; |
752 | |
753 | e_.Clear(); |
754 | d_ = 0u; |
755 | _has_bits_.Clear(); |
756 | _internal_metadata_.Clear(); |
757 | } |
758 | |
759 | bool Syntax2Person_Nestiness_A_SubB_C::MergePartialFromCodedStream( |
760 | ::google::protobuf::io::CodedInputStream* input) { |
761 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
762 | ::google::protobuf::uint32 tag; |
763 | // @@protoc_insertion_point(parse_start:Syntax2Person.Nestiness.A.SubB.C) |
764 | for (;;) { |
765 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
766 | tag = p.first; |
767 | if (!p.second) goto handle_unusual; |
768 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
769 | // optional uint32 d = 1; |
770 | case 1: { |
771 | if (static_cast< ::google::protobuf::uint8>(tag) == |
772 | static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
773 | set_has_d(); |
774 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
775 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( |
776 | input, &d_))); |
777 | } else { |
778 | goto handle_unusual; |
779 | } |
780 | break; |
781 | } |
782 | |
783 | // repeated uint32 e = 2; |
784 | case 2: { |
785 | if (static_cast< ::google::protobuf::uint8>(tag) == |
786 | static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
787 | DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< |
788 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( |
789 | 1, 16u, input, this->mutable_e()))); |
790 | } else if ( |
791 | static_cast< ::google::protobuf::uint8>(tag) == |
792 | static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
793 | DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< |
794 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( |
795 | input, this->mutable_e()))); |
796 | } else { |
797 | goto handle_unusual; |
798 | } |
799 | break; |
800 | } |
801 | |
802 | default: { |
803 | handle_unusual: |
804 | if (tag == 0 || |
805 | ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
806 | ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { |
807 | input->SetLastTag(tag); |
808 | goto success; |
809 | } |
810 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
811 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
812 | break; |
813 | } |
814 | } |
815 | } |
816 | success: |
817 | // @@protoc_insertion_point(parse_success:Syntax2Person.Nestiness.A.SubB.C) |
818 | return true; |
819 | failure: |
820 | // @@protoc_insertion_point(parse_failure:Syntax2Person.Nestiness.A.SubB.C) |
821 | return false; |
822 | #undef DO_ |
823 | } |
824 | |
825 | void Syntax2Person_Nestiness_A_SubB_C::SerializeWithCachedSizes( |
826 | ::google::protobuf::io::CodedOutputStream* output) const { |
827 | // @@protoc_insertion_point(serialize_start:Syntax2Person.Nestiness.A.SubB.C) |
828 | ::google::protobuf::uint32 cached_has_bits = 0; |
829 | (void) cached_has_bits; |
830 | |
831 | cached_has_bits = _has_bits_[0]; |
832 | // optional uint32 d = 1; |
833 | if (cached_has_bits & 0x00000001u) { |
834 | ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->d(), output); |
835 | } |
836 | |
837 | // repeated uint32 e = 2; |
838 | for (int i = 0, n = this->e_size(); i < n; i++) { |
839 | ::google::protobuf::internal::WireFormatLite::WriteUInt32( |
840 | 2, this->e(i), output); |
841 | } |
842 | |
843 | if (_internal_metadata_.have_unknown_fields()) { |
844 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
845 | _internal_metadata_.unknown_fields(), output); |
846 | } |
847 | // @@protoc_insertion_point(serialize_end:Syntax2Person.Nestiness.A.SubB.C) |
848 | } |
849 | |
850 | ::google::protobuf::uint8* Syntax2Person_Nestiness_A_SubB_C::InternalSerializeWithCachedSizesToArray( |
851 | bool deterministic, ::google::protobuf::uint8* target) const { |
852 | (void)deterministic; // Unused |
853 | // @@protoc_insertion_point(serialize_to_array_start:Syntax2Person.Nestiness.A.SubB.C) |
854 | ::google::protobuf::uint32 cached_has_bits = 0; |
855 | (void) cached_has_bits; |
856 | |
857 | cached_has_bits = _has_bits_[0]; |
858 | // optional uint32 d = 1; |
859 | if (cached_has_bits & 0x00000001u) { |
860 | target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->d(), target); |
861 | } |
862 | |
863 | // repeated uint32 e = 2; |
864 | target = ::google::protobuf::internal::WireFormatLite:: |
865 | WriteUInt32ToArray(2, this->e_, target); |
866 | |
867 | if (_internal_metadata_.have_unknown_fields()) { |
868 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
869 | _internal_metadata_.unknown_fields(), target); |
870 | } |
871 | // @@protoc_insertion_point(serialize_to_array_end:Syntax2Person.Nestiness.A.SubB.C) |
872 | return target; |
873 | } |
874 | |
875 | size_t Syntax2Person_Nestiness_A_SubB_C::ByteSizeLong() const { |
876 | // @@protoc_insertion_point(message_byte_size_start:Syntax2Person.Nestiness.A.SubB.C) |
877 | size_t total_size = 0; |
878 | |
879 | if (_internal_metadata_.have_unknown_fields()) { |
880 | total_size += |
881 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
882 | _internal_metadata_.unknown_fields()); |
883 | } |
884 | // repeated uint32 e = 2; |
885 | { |
886 | size_t data_size = ::google::protobuf::internal::WireFormatLite:: |
887 | UInt32Size(this->e_); |
888 | total_size += 1 * |
889 | ::google::protobuf::internal::FromIntSize(this->e_size()); |
890 | total_size += data_size; |
891 | } |
892 | |
893 | // optional uint32 d = 1; |
894 | if (has_d()) { |
895 | total_size += 1 + |
896 | ::google::protobuf::internal::WireFormatLite::UInt32Size( |
897 | this->d()); |
898 | } |
899 | |
900 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
901 | SetCachedSize(cached_size); |
902 | return total_size; |
903 | } |
904 | |
905 | void Syntax2Person_Nestiness_A_SubB_C::MergeFrom(const ::google::protobuf::Message& from) { |
906 | // @@protoc_insertion_point(generalized_merge_from_start:Syntax2Person.Nestiness.A.SubB.C) |
907 | GOOGLE_DCHECK_NE(&from, this); |
908 | const Syntax2Person_Nestiness_A_SubB_C* source = |
909 | ::google::protobuf::internal::DynamicCastToGenerated<const Syntax2Person_Nestiness_A_SubB_C>( |
910 | &from); |
911 | if (source == NULL) { |
912 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:Syntax2Person.Nestiness.A.SubB.C) |
913 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
914 | } else { |
915 | // @@protoc_insertion_point(generalized_merge_from_cast_success:Syntax2Person.Nestiness.A.SubB.C) |
916 | MergeFrom(*source); |
917 | } |
918 | } |
919 | |
920 | void Syntax2Person_Nestiness_A_SubB_C::MergeFrom(const Syntax2Person_Nestiness_A_SubB_C& from) { |
921 | // @@protoc_insertion_point(class_specific_merge_from_start:Syntax2Person.Nestiness.A.SubB.C) |
922 | GOOGLE_DCHECK_NE(&from, this); |
923 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
924 | ::google::protobuf::uint32 cached_has_bits = 0; |
925 | (void) cached_has_bits; |
926 | |
927 | e_.MergeFrom(from.e_); |
928 | if (from.has_d()) { |
929 | set_d(from.d()); |
930 | } |
931 | } |
932 | |
933 | void Syntax2Person_Nestiness_A_SubB_C::CopyFrom(const ::google::protobuf::Message& from) { |
934 | // @@protoc_insertion_point(generalized_copy_from_start:Syntax2Person.Nestiness.A.SubB.C) |
935 | if (&from == this) return; |
936 | Clear(); |
937 | MergeFrom(from); |
938 | } |
939 | |
940 | void Syntax2Person_Nestiness_A_SubB_C::CopyFrom(const Syntax2Person_Nestiness_A_SubB_C& from) { |
941 | // @@protoc_insertion_point(class_specific_copy_from_start:Syntax2Person.Nestiness.A.SubB.C) |
942 | if (&from == this) return; |
943 | Clear(); |
944 | MergeFrom(from); |
945 | } |
946 | |
947 | bool Syntax2Person_Nestiness_A_SubB_C::IsInitialized() const { |
948 | return true; |
949 | } |
950 | |
951 | void Syntax2Person_Nestiness_A_SubB_C::Swap(Syntax2Person_Nestiness_A_SubB_C* other) { |
952 | if (other == this) return; |
953 | InternalSwap(other); |
954 | } |
955 | void Syntax2Person_Nestiness_A_SubB_C::InternalSwap(Syntax2Person_Nestiness_A_SubB_C* other) { |
956 | using std::swap; |
957 | e_.InternalSwap(&other->e_); |
958 | swap(d_, other->d_); |
959 | swap(_has_bits_[0], other->_has_bits_[0]); |
960 | _internal_metadata_.Swap(&other->_internal_metadata_); |
961 | } |
962 | |
963 | ::google::protobuf::Metadata Syntax2Person_Nestiness_A_SubB_C::GetMetadata() const { |
964 | protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
965 | return ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_metadata[kIndexInFileMessages]; |
966 | } |
967 | |
968 | |
969 | // =================================================================== |
970 | |
971 | void Syntax2Person_Nestiness_A_SubB::InitAsDefaultInstance() { |
972 | ::_Syntax2Person_Nestiness_A_SubB_default_instance_._instance.get_mutable()->c_ = const_cast< ::Syntax2Person_Nestiness_A_SubB_C*>( |
973 | ::Syntax2Person_Nestiness_A_SubB_C::internal_default_instance()); |
974 | } |
975 | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
976 | const int Syntax2Person_Nestiness_A_SubB::kCFieldNumber; |
977 | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
978 | |
979 | Syntax2Person_Nestiness_A_SubB::Syntax2Person_Nestiness_A_SubB() |
980 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
981 | ::google::protobuf::internal::InitSCC( |
982 | &protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_Nestiness_A_SubB.base); |
983 | SharedCtor(); |
984 | // @@protoc_insertion_point(constructor:Syntax2Person.Nestiness.A.SubB) |
985 | } |
986 | Syntax2Person_Nestiness_A_SubB::Syntax2Person_Nestiness_A_SubB(const Syntax2Person_Nestiness_A_SubB& from) |
987 | : ::google::protobuf::Message(), |
988 | _internal_metadata_(NULL), |
989 | _has_bits_(from._has_bits_) { |
990 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
991 | if (from.has_c()) { |
992 | c_ = new ::Syntax2Person_Nestiness_A_SubB_C(*from.c_); |
993 | } else { |
994 | c_ = NULL; |
995 | } |
996 | // @@protoc_insertion_point(copy_constructor:Syntax2Person.Nestiness.A.SubB) |
997 | } |
998 | |
999 | void Syntax2Person_Nestiness_A_SubB::SharedCtor() { |
1000 | c_ = NULL; |
1001 | } |
1002 | |
1003 | Syntax2Person_Nestiness_A_SubB::~Syntax2Person_Nestiness_A_SubB() { |
1004 | // @@protoc_insertion_point(destructor:Syntax2Person.Nestiness.A.SubB) |
1005 | SharedDtor(); |
1006 | } |
1007 | |
1008 | void Syntax2Person_Nestiness_A_SubB::SharedDtor() { |
1009 | if (this != internal_default_instance()) delete c_; |
1010 | } |
1011 | |
1012 | void Syntax2Person_Nestiness_A_SubB::SetCachedSize(int size) const { |
1013 | _cached_size_.Set(size); |
1014 | } |
1015 | const ::google::protobuf::Descriptor* Syntax2Person_Nestiness_A_SubB::descriptor() { |
1016 | ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
1017 | return ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
1018 | } |
1019 | |
1020 | const Syntax2Person_Nestiness_A_SubB& Syntax2Person_Nestiness_A_SubB::default_instance() { |
1021 | ::google::protobuf::internal::InitSCC(&protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_Nestiness_A_SubB.base); |
1022 | return *internal_default_instance(); |
1023 | } |
1024 | |
1025 | |
1026 | void Syntax2Person_Nestiness_A_SubB::Clear() { |
1027 | // @@protoc_insertion_point(message_clear_start:Syntax2Person.Nestiness.A.SubB) |
1028 | ::google::protobuf::uint32 cached_has_bits = 0; |
1029 | // Prevent compiler warnings about cached_has_bits being unused |
1030 | (void) cached_has_bits; |
1031 | |
1032 | cached_has_bits = _has_bits_[0]; |
1033 | if (cached_has_bits & 0x00000001u) { |
1034 | GOOGLE_DCHECK(c_ != NULL); |
1035 | c_->Clear(); |
1036 | } |
1037 | _has_bits_.Clear(); |
1038 | _internal_metadata_.Clear(); |
1039 | } |
1040 | |
1041 | bool Syntax2Person_Nestiness_A_SubB::MergePartialFromCodedStream( |
1042 | ::google::protobuf::io::CodedInputStream* input) { |
1043 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
1044 | ::google::protobuf::uint32 tag; |
1045 | // @@protoc_insertion_point(parse_start:Syntax2Person.Nestiness.A.SubB) |
1046 | for (;;) { |
1047 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
1048 | tag = p.first; |
1049 | if (!p.second) goto handle_unusual; |
1050 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
1051 | // optional group C = 1 { ... }; |
1052 | case 1: { |
1053 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1054 | static_cast< ::google::protobuf::uint8>(11u /* 11 & 0xFF */)) { |
1055 | DO_(::google::protobuf::internal::WireFormatLite::ReadGroup( |
1056 | 1, input, mutable_c())); |
1057 | } else { |
1058 | goto handle_unusual; |
1059 | } |
1060 | break; |
1061 | } |
1062 | |
1063 | default: { |
1064 | handle_unusual: |
1065 | if (tag == 0) { |
1066 | goto success; |
1067 | } |
1068 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
1069 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
1070 | break; |
1071 | } |
1072 | } |
1073 | } |
1074 | success: |
1075 | // @@protoc_insertion_point(parse_success:Syntax2Person.Nestiness.A.SubB) |
1076 | return true; |
1077 | failure: |
1078 | // @@protoc_insertion_point(parse_failure:Syntax2Person.Nestiness.A.SubB) |
1079 | return false; |
1080 | #undef DO_ |
1081 | } |
1082 | |
1083 | void Syntax2Person_Nestiness_A_SubB::SerializeWithCachedSizes( |
1084 | ::google::protobuf::io::CodedOutputStream* output) const { |
1085 | // @@protoc_insertion_point(serialize_start:Syntax2Person.Nestiness.A.SubB) |
1086 | ::google::protobuf::uint32 cached_has_bits = 0; |
1087 | (void) cached_has_bits; |
1088 | |
1089 | cached_has_bits = _has_bits_[0]; |
1090 | // optional group C = 1 { ... }; |
1091 | if (cached_has_bits & 0x00000001u) { |
1092 | ::google::protobuf::internal::WireFormatLite::WriteGroupMaybeToArray( |
1093 | 1, this->_internal_c(), output); |
1094 | } |
1095 | |
1096 | if (_internal_metadata_.have_unknown_fields()) { |
1097 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
1098 | _internal_metadata_.unknown_fields(), output); |
1099 | } |
1100 | // @@protoc_insertion_point(serialize_end:Syntax2Person.Nestiness.A.SubB) |
1101 | } |
1102 | |
1103 | ::google::protobuf::uint8* Syntax2Person_Nestiness_A_SubB::InternalSerializeWithCachedSizesToArray( |
1104 | bool deterministic, ::google::protobuf::uint8* target) const { |
1105 | (void)deterministic; // Unused |
1106 | // @@protoc_insertion_point(serialize_to_array_start:Syntax2Person.Nestiness.A.SubB) |
1107 | ::google::protobuf::uint32 cached_has_bits = 0; |
1108 | (void) cached_has_bits; |
1109 | |
1110 | cached_has_bits = _has_bits_[0]; |
1111 | // optional group C = 1 { ... }; |
1112 | if (cached_has_bits & 0x00000001u) { |
1113 | target = ::google::protobuf::internal::WireFormatLite:: |
1114 | InternalWriteGroupToArray( |
1115 | 1, this->_internal_c(), deterministic, target); |
1116 | } |
1117 | |
1118 | if (_internal_metadata_.have_unknown_fields()) { |
1119 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
1120 | _internal_metadata_.unknown_fields(), target); |
1121 | } |
1122 | // @@protoc_insertion_point(serialize_to_array_end:Syntax2Person.Nestiness.A.SubB) |
1123 | return target; |
1124 | } |
1125 | |
1126 | size_t Syntax2Person_Nestiness_A_SubB::ByteSizeLong() const { |
1127 | // @@protoc_insertion_point(message_byte_size_start:Syntax2Person.Nestiness.A.SubB) |
1128 | size_t total_size = 0; |
1129 | |
1130 | if (_internal_metadata_.have_unknown_fields()) { |
1131 | total_size += |
1132 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
1133 | _internal_metadata_.unknown_fields()); |
1134 | } |
1135 | // optional group C = 1 { ... }; |
1136 | if (has_c()) { |
1137 | total_size += 2 + |
1138 | ::google::protobuf::internal::WireFormatLite::GroupSize( |
1139 | *c_); |
1140 | } |
1141 | |
1142 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
1143 | SetCachedSize(cached_size); |
1144 | return total_size; |
1145 | } |
1146 | |
1147 | void Syntax2Person_Nestiness_A_SubB::MergeFrom(const ::google::protobuf::Message& from) { |
1148 | // @@protoc_insertion_point(generalized_merge_from_start:Syntax2Person.Nestiness.A.SubB) |
1149 | GOOGLE_DCHECK_NE(&from, this); |
1150 | const Syntax2Person_Nestiness_A_SubB* source = |
1151 | ::google::protobuf::internal::DynamicCastToGenerated<const Syntax2Person_Nestiness_A_SubB>( |
1152 | &from); |
1153 | if (source == NULL) { |
1154 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:Syntax2Person.Nestiness.A.SubB) |
1155 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
1156 | } else { |
1157 | // @@protoc_insertion_point(generalized_merge_from_cast_success:Syntax2Person.Nestiness.A.SubB) |
1158 | MergeFrom(*source); |
1159 | } |
1160 | } |
1161 | |
1162 | void Syntax2Person_Nestiness_A_SubB::MergeFrom(const Syntax2Person_Nestiness_A_SubB& from) { |
1163 | // @@protoc_insertion_point(class_specific_merge_from_start:Syntax2Person.Nestiness.A.SubB) |
1164 | GOOGLE_DCHECK_NE(&from, this); |
1165 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1166 | ::google::protobuf::uint32 cached_has_bits = 0; |
1167 | (void) cached_has_bits; |
1168 | |
1169 | if (from.has_c()) { |
1170 | mutable_c()->::Syntax2Person_Nestiness_A_SubB_C::MergeFrom(from.c()); |
1171 | } |
1172 | } |
1173 | |
1174 | void Syntax2Person_Nestiness_A_SubB::CopyFrom(const ::google::protobuf::Message& from) { |
1175 | // @@protoc_insertion_point(generalized_copy_from_start:Syntax2Person.Nestiness.A.SubB) |
1176 | if (&from == this) return; |
1177 | Clear(); |
1178 | MergeFrom(from); |
1179 | } |
1180 | |
1181 | void Syntax2Person_Nestiness_A_SubB::CopyFrom(const Syntax2Person_Nestiness_A_SubB& from) { |
1182 | // @@protoc_insertion_point(class_specific_copy_from_start:Syntax2Person.Nestiness.A.SubB) |
1183 | if (&from == this) return; |
1184 | Clear(); |
1185 | MergeFrom(from); |
1186 | } |
1187 | |
1188 | bool Syntax2Person_Nestiness_A_SubB::IsInitialized() const { |
1189 | return true; |
1190 | } |
1191 | |
1192 | void Syntax2Person_Nestiness_A_SubB::Swap(Syntax2Person_Nestiness_A_SubB* other) { |
1193 | if (other == this) return; |
1194 | InternalSwap(other); |
1195 | } |
1196 | void Syntax2Person_Nestiness_A_SubB::InternalSwap(Syntax2Person_Nestiness_A_SubB* other) { |
1197 | using std::swap; |
1198 | swap(c_, other->c_); |
1199 | swap(_has_bits_[0], other->_has_bits_[0]); |
1200 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1201 | } |
1202 | |
1203 | ::google::protobuf::Metadata Syntax2Person_Nestiness_A_SubB::GetMetadata() const { |
1204 | protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
1205 | return ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_metadata[kIndexInFileMessages]; |
1206 | } |
1207 | |
1208 | |
1209 | // =================================================================== |
1210 | |
1211 | void Syntax2Person_Nestiness_A::InitAsDefaultInstance() { |
1212 | ::_Syntax2Person_Nestiness_A_default_instance_._instance.get_mutable()->b_ = const_cast< ::Syntax2Person_Nestiness_A_SubB*>( |
1213 | ::Syntax2Person_Nestiness_A_SubB::internal_default_instance()); |
1214 | } |
1215 | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
1216 | const int Syntax2Person_Nestiness_A::kBFieldNumber; |
1217 | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
1218 | |
1219 | Syntax2Person_Nestiness_A::Syntax2Person_Nestiness_A() |
1220 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
1221 | ::google::protobuf::internal::InitSCC( |
1222 | &protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_Nestiness_A.base); |
1223 | SharedCtor(); |
1224 | // @@protoc_insertion_point(constructor:Syntax2Person.Nestiness.A) |
1225 | } |
1226 | Syntax2Person_Nestiness_A::Syntax2Person_Nestiness_A(const Syntax2Person_Nestiness_A& from) |
1227 | : ::google::protobuf::Message(), |
1228 | _internal_metadata_(NULL), |
1229 | _has_bits_(from._has_bits_) { |
1230 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1231 | if (from.has_b()) { |
1232 | b_ = new ::Syntax2Person_Nestiness_A_SubB(*from.b_); |
1233 | } else { |
1234 | b_ = NULL; |
1235 | } |
1236 | // @@protoc_insertion_point(copy_constructor:Syntax2Person.Nestiness.A) |
1237 | } |
1238 | |
1239 | void Syntax2Person_Nestiness_A::SharedCtor() { |
1240 | b_ = NULL; |
1241 | } |
1242 | |
1243 | Syntax2Person_Nestiness_A::~Syntax2Person_Nestiness_A() { |
1244 | // @@protoc_insertion_point(destructor:Syntax2Person.Nestiness.A) |
1245 | SharedDtor(); |
1246 | } |
1247 | |
1248 | void Syntax2Person_Nestiness_A::SharedDtor() { |
1249 | if (this != internal_default_instance()) delete b_; |
1250 | } |
1251 | |
1252 | void Syntax2Person_Nestiness_A::SetCachedSize(int size) const { |
1253 | _cached_size_.Set(size); |
1254 | } |
1255 | const ::google::protobuf::Descriptor* Syntax2Person_Nestiness_A::descriptor() { |
1256 | ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
1257 | return ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
1258 | } |
1259 | |
1260 | const Syntax2Person_Nestiness_A& Syntax2Person_Nestiness_A::default_instance() { |
1261 | ::google::protobuf::internal::InitSCC(&protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_Nestiness_A.base); |
1262 | return *internal_default_instance(); |
1263 | } |
1264 | |
1265 | |
1266 | void Syntax2Person_Nestiness_A::Clear() { |
1267 | // @@protoc_insertion_point(message_clear_start:Syntax2Person.Nestiness.A) |
1268 | ::google::protobuf::uint32 cached_has_bits = 0; |
1269 | // Prevent compiler warnings about cached_has_bits being unused |
1270 | (void) cached_has_bits; |
1271 | |
1272 | cached_has_bits = _has_bits_[0]; |
1273 | if (cached_has_bits & 0x00000001u) { |
1274 | GOOGLE_DCHECK(b_ != NULL); |
1275 | b_->Clear(); |
1276 | } |
1277 | _has_bits_.Clear(); |
1278 | _internal_metadata_.Clear(); |
1279 | } |
1280 | |
1281 | bool Syntax2Person_Nestiness_A::MergePartialFromCodedStream( |
1282 | ::google::protobuf::io::CodedInputStream* input) { |
1283 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
1284 | ::google::protobuf::uint32 tag; |
1285 | // @@protoc_insertion_point(parse_start:Syntax2Person.Nestiness.A) |
1286 | for (;;) { |
1287 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); |
1288 | tag = p.first; |
1289 | if (!p.second) goto handle_unusual; |
1290 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
1291 | // optional .Syntax2Person.Nestiness.A.SubB b = 100; |
1292 | case 100: { |
1293 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1294 | static_cast< ::google::protobuf::uint8>(34u /* 802 & 0xFF */)) { |
1295 | DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
1296 | input, mutable_b())); |
1297 | } else { |
1298 | goto handle_unusual; |
1299 | } |
1300 | break; |
1301 | } |
1302 | |
1303 | default: { |
1304 | handle_unusual: |
1305 | if (tag == 0 || |
1306 | ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
1307 | ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { |
1308 | input->SetLastTag(tag); |
1309 | goto success; |
1310 | } |
1311 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
1312 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
1313 | break; |
1314 | } |
1315 | } |
1316 | } |
1317 | success: |
1318 | // @@protoc_insertion_point(parse_success:Syntax2Person.Nestiness.A) |
1319 | return true; |
1320 | failure: |
1321 | // @@protoc_insertion_point(parse_failure:Syntax2Person.Nestiness.A) |
1322 | return false; |
1323 | #undef DO_ |
1324 | } |
1325 | |
1326 | void Syntax2Person_Nestiness_A::SerializeWithCachedSizes( |
1327 | ::google::protobuf::io::CodedOutputStream* output) const { |
1328 | // @@protoc_insertion_point(serialize_start:Syntax2Person.Nestiness.A) |
1329 | ::google::protobuf::uint32 cached_has_bits = 0; |
1330 | (void) cached_has_bits; |
1331 | |
1332 | cached_has_bits = _has_bits_[0]; |
1333 | // optional .Syntax2Person.Nestiness.A.SubB b = 100; |
1334 | if (cached_has_bits & 0x00000001u) { |
1335 | ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
1336 | 100, this->_internal_b(), output); |
1337 | } |
1338 | |
1339 | if (_internal_metadata_.have_unknown_fields()) { |
1340 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
1341 | _internal_metadata_.unknown_fields(), output); |
1342 | } |
1343 | // @@protoc_insertion_point(serialize_end:Syntax2Person.Nestiness.A) |
1344 | } |
1345 | |
1346 | ::google::protobuf::uint8* Syntax2Person_Nestiness_A::InternalSerializeWithCachedSizesToArray( |
1347 | bool deterministic, ::google::protobuf::uint8* target) const { |
1348 | (void)deterministic; // Unused |
1349 | // @@protoc_insertion_point(serialize_to_array_start:Syntax2Person.Nestiness.A) |
1350 | ::google::protobuf::uint32 cached_has_bits = 0; |
1351 | (void) cached_has_bits; |
1352 | |
1353 | cached_has_bits = _has_bits_[0]; |
1354 | // optional .Syntax2Person.Nestiness.A.SubB b = 100; |
1355 | if (cached_has_bits & 0x00000001u) { |
1356 | target = ::google::protobuf::internal::WireFormatLite:: |
1357 | InternalWriteMessageToArray( |
1358 | 100, this->_internal_b(), deterministic, target); |
1359 | } |
1360 | |
1361 | if (_internal_metadata_.have_unknown_fields()) { |
1362 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
1363 | _internal_metadata_.unknown_fields(), target); |
1364 | } |
1365 | // @@protoc_insertion_point(serialize_to_array_end:Syntax2Person.Nestiness.A) |
1366 | return target; |
1367 | } |
1368 | |
1369 | size_t Syntax2Person_Nestiness_A::ByteSizeLong() const { |
1370 | // @@protoc_insertion_point(message_byte_size_start:Syntax2Person.Nestiness.A) |
1371 | size_t total_size = 0; |
1372 | |
1373 | if (_internal_metadata_.have_unknown_fields()) { |
1374 | total_size += |
1375 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
1376 | _internal_metadata_.unknown_fields()); |
1377 | } |
1378 | // optional .Syntax2Person.Nestiness.A.SubB b = 100; |
1379 | if (has_b()) { |
1380 | total_size += 2 + |
1381 | ::google::protobuf::internal::WireFormatLite::MessageSize( |
1382 | *b_); |
1383 | } |
1384 | |
1385 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
1386 | SetCachedSize(cached_size); |
1387 | return total_size; |
1388 | } |
1389 | |
1390 | void Syntax2Person_Nestiness_A::MergeFrom(const ::google::protobuf::Message& from) { |
1391 | // @@protoc_insertion_point(generalized_merge_from_start:Syntax2Person.Nestiness.A) |
1392 | GOOGLE_DCHECK_NE(&from, this); |
1393 | const Syntax2Person_Nestiness_A* source = |
1394 | ::google::protobuf::internal::DynamicCastToGenerated<const Syntax2Person_Nestiness_A>( |
1395 | &from); |
1396 | if (source == NULL) { |
1397 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:Syntax2Person.Nestiness.A) |
1398 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
1399 | } else { |
1400 | // @@protoc_insertion_point(generalized_merge_from_cast_success:Syntax2Person.Nestiness.A) |
1401 | MergeFrom(*source); |
1402 | } |
1403 | } |
1404 | |
1405 | void Syntax2Person_Nestiness_A::MergeFrom(const Syntax2Person_Nestiness_A& from) { |
1406 | // @@protoc_insertion_point(class_specific_merge_from_start:Syntax2Person.Nestiness.A) |
1407 | GOOGLE_DCHECK_NE(&from, this); |
1408 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1409 | ::google::protobuf::uint32 cached_has_bits = 0; |
1410 | (void) cached_has_bits; |
1411 | |
1412 | if (from.has_b()) { |
1413 | mutable_b()->::Syntax2Person_Nestiness_A_SubB::MergeFrom(from.b()); |
1414 | } |
1415 | } |
1416 | |
1417 | void Syntax2Person_Nestiness_A::CopyFrom(const ::google::protobuf::Message& from) { |
1418 | // @@protoc_insertion_point(generalized_copy_from_start:Syntax2Person.Nestiness.A) |
1419 | if (&from == this) return; |
1420 | Clear(); |
1421 | MergeFrom(from); |
1422 | } |
1423 | |
1424 | void Syntax2Person_Nestiness_A::CopyFrom(const Syntax2Person_Nestiness_A& from) { |
1425 | // @@protoc_insertion_point(class_specific_copy_from_start:Syntax2Person.Nestiness.A) |
1426 | if (&from == this) return; |
1427 | Clear(); |
1428 | MergeFrom(from); |
1429 | } |
1430 | |
1431 | bool Syntax2Person_Nestiness_A::IsInitialized() const { |
1432 | return true; |
1433 | } |
1434 | |
1435 | void Syntax2Person_Nestiness_A::Swap(Syntax2Person_Nestiness_A* other) { |
1436 | if (other == this) return; |
1437 | InternalSwap(other); |
1438 | } |
1439 | void Syntax2Person_Nestiness_A::InternalSwap(Syntax2Person_Nestiness_A* other) { |
1440 | using std::swap; |
1441 | swap(b_, other->b_); |
1442 | swap(_has_bits_[0], other->_has_bits_[0]); |
1443 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1444 | } |
1445 | |
1446 | ::google::protobuf::Metadata Syntax2Person_Nestiness_A::GetMetadata() const { |
1447 | protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
1448 | return ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_metadata[kIndexInFileMessages]; |
1449 | } |
1450 | |
1451 | |
1452 | // =================================================================== |
1453 | |
1454 | void Syntax2Person_Nestiness::InitAsDefaultInstance() { |
1455 | ::_Syntax2Person_Nestiness_default_instance_._instance.get_mutable()->a_ = const_cast< ::Syntax2Person_Nestiness_A*>( |
1456 | ::Syntax2Person_Nestiness_A::internal_default_instance()); |
1457 | } |
1458 | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
1459 | const int Syntax2Person_Nestiness::kAFieldNumber; |
1460 | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
1461 | |
1462 | Syntax2Person_Nestiness::Syntax2Person_Nestiness() |
1463 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
1464 | ::google::protobuf::internal::InitSCC( |
1465 | &protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_Nestiness.base); |
1466 | SharedCtor(); |
1467 | // @@protoc_insertion_point(constructor:Syntax2Person.Nestiness) |
1468 | } |
1469 | Syntax2Person_Nestiness::Syntax2Person_Nestiness(const Syntax2Person_Nestiness& from) |
1470 | : ::google::protobuf::Message(), |
1471 | _internal_metadata_(NULL), |
1472 | _has_bits_(from._has_bits_) { |
1473 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1474 | if (from.has_a()) { |
1475 | a_ = new ::Syntax2Person_Nestiness_A(*from.a_); |
1476 | } else { |
1477 | a_ = NULL; |
1478 | } |
1479 | // @@protoc_insertion_point(copy_constructor:Syntax2Person.Nestiness) |
1480 | } |
1481 | |
1482 | void Syntax2Person_Nestiness::SharedCtor() { |
1483 | a_ = NULL; |
1484 | } |
1485 | |
1486 | Syntax2Person_Nestiness::~Syntax2Person_Nestiness() { |
1487 | // @@protoc_insertion_point(destructor:Syntax2Person.Nestiness) |
1488 | SharedDtor(); |
1489 | } |
1490 | |
1491 | void Syntax2Person_Nestiness::SharedDtor() { |
1492 | if (this != internal_default_instance()) delete a_; |
1493 | } |
1494 | |
1495 | void Syntax2Person_Nestiness::SetCachedSize(int size) const { |
1496 | _cached_size_.Set(size); |
1497 | } |
1498 | const ::google::protobuf::Descriptor* Syntax2Person_Nestiness::descriptor() { |
1499 | ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
1500 | return ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
1501 | } |
1502 | |
1503 | const Syntax2Person_Nestiness& Syntax2Person_Nestiness::default_instance() { |
1504 | ::google::protobuf::internal::InitSCC(&protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person_Nestiness.base); |
1505 | return *internal_default_instance(); |
1506 | } |
1507 | |
1508 | |
1509 | void Syntax2Person_Nestiness::Clear() { |
1510 | // @@protoc_insertion_point(message_clear_start:Syntax2Person.Nestiness) |
1511 | ::google::protobuf::uint32 cached_has_bits = 0; |
1512 | // Prevent compiler warnings about cached_has_bits being unused |
1513 | (void) cached_has_bits; |
1514 | |
1515 | cached_has_bits = _has_bits_[0]; |
1516 | if (cached_has_bits & 0x00000001u) { |
1517 | GOOGLE_DCHECK(a_ != NULL); |
1518 | a_->Clear(); |
1519 | } |
1520 | _has_bits_.Clear(); |
1521 | _internal_metadata_.Clear(); |
1522 | } |
1523 | |
1524 | bool Syntax2Person_Nestiness::MergePartialFromCodedStream( |
1525 | ::google::protobuf::io::CodedInputStream* input) { |
1526 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
1527 | ::google::protobuf::uint32 tag; |
1528 | // @@protoc_insertion_point(parse_start:Syntax2Person.Nestiness) |
1529 | for (;;) { |
1530 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
1531 | tag = p.first; |
1532 | if (!p.second) goto handle_unusual; |
1533 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
1534 | // optional group A = 1 { ... }; |
1535 | case 1: { |
1536 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1537 | static_cast< ::google::protobuf::uint8>(11u /* 11 & 0xFF */)) { |
1538 | DO_(::google::protobuf::internal::WireFormatLite::ReadGroup( |
1539 | 1, input, mutable_a())); |
1540 | } else { |
1541 | goto handle_unusual; |
1542 | } |
1543 | break; |
1544 | } |
1545 | |
1546 | default: { |
1547 | handle_unusual: |
1548 | if (tag == 0 || |
1549 | ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == |
1550 | ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { |
1551 | input->SetLastTag(tag); |
1552 | goto success; |
1553 | } |
1554 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
1555 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
1556 | break; |
1557 | } |
1558 | } |
1559 | } |
1560 | success: |
1561 | // @@protoc_insertion_point(parse_success:Syntax2Person.Nestiness) |
1562 | return true; |
1563 | failure: |
1564 | // @@protoc_insertion_point(parse_failure:Syntax2Person.Nestiness) |
1565 | return false; |
1566 | #undef DO_ |
1567 | } |
1568 | |
1569 | void Syntax2Person_Nestiness::SerializeWithCachedSizes( |
1570 | ::google::protobuf::io::CodedOutputStream* output) const { |
1571 | // @@protoc_insertion_point(serialize_start:Syntax2Person.Nestiness) |
1572 | ::google::protobuf::uint32 cached_has_bits = 0; |
1573 | (void) cached_has_bits; |
1574 | |
1575 | cached_has_bits = _has_bits_[0]; |
1576 | // optional group A = 1 { ... }; |
1577 | if (cached_has_bits & 0x00000001u) { |
1578 | ::google::protobuf::internal::WireFormatLite::WriteGroupMaybeToArray( |
1579 | 1, this->_internal_a(), output); |
1580 | } |
1581 | |
1582 | if (_internal_metadata_.have_unknown_fields()) { |
1583 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
1584 | _internal_metadata_.unknown_fields(), output); |
1585 | } |
1586 | // @@protoc_insertion_point(serialize_end:Syntax2Person.Nestiness) |
1587 | } |
1588 | |
1589 | ::google::protobuf::uint8* Syntax2Person_Nestiness::InternalSerializeWithCachedSizesToArray( |
1590 | bool deterministic, ::google::protobuf::uint8* target) const { |
1591 | (void)deterministic; // Unused |
1592 | // @@protoc_insertion_point(serialize_to_array_start:Syntax2Person.Nestiness) |
1593 | ::google::protobuf::uint32 cached_has_bits = 0; |
1594 | (void) cached_has_bits; |
1595 | |
1596 | cached_has_bits = _has_bits_[0]; |
1597 | // optional group A = 1 { ... }; |
1598 | if (cached_has_bits & 0x00000001u) { |
1599 | target = ::google::protobuf::internal::WireFormatLite:: |
1600 | InternalWriteGroupToArray( |
1601 | 1, this->_internal_a(), deterministic, target); |
1602 | } |
1603 | |
1604 | if (_internal_metadata_.have_unknown_fields()) { |
1605 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
1606 | _internal_metadata_.unknown_fields(), target); |
1607 | } |
1608 | // @@protoc_insertion_point(serialize_to_array_end:Syntax2Person.Nestiness) |
1609 | return target; |
1610 | } |
1611 | |
1612 | size_t Syntax2Person_Nestiness::ByteSizeLong() const { |
1613 | // @@protoc_insertion_point(message_byte_size_start:Syntax2Person.Nestiness) |
1614 | size_t total_size = 0; |
1615 | |
1616 | if (_internal_metadata_.have_unknown_fields()) { |
1617 | total_size += |
1618 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
1619 | _internal_metadata_.unknown_fields()); |
1620 | } |
1621 | // optional group A = 1 { ... }; |
1622 | if (has_a()) { |
1623 | total_size += 2 + |
1624 | ::google::protobuf::internal::WireFormatLite::GroupSize( |
1625 | *a_); |
1626 | } |
1627 | |
1628 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
1629 | SetCachedSize(cached_size); |
1630 | return total_size; |
1631 | } |
1632 | |
1633 | void Syntax2Person_Nestiness::MergeFrom(const ::google::protobuf::Message& from) { |
1634 | // @@protoc_insertion_point(generalized_merge_from_start:Syntax2Person.Nestiness) |
1635 | GOOGLE_DCHECK_NE(&from, this); |
1636 | const Syntax2Person_Nestiness* source = |
1637 | ::google::protobuf::internal::DynamicCastToGenerated<const Syntax2Person_Nestiness>( |
1638 | &from); |
1639 | if (source == NULL) { |
1640 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:Syntax2Person.Nestiness) |
1641 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
1642 | } else { |
1643 | // @@protoc_insertion_point(generalized_merge_from_cast_success:Syntax2Person.Nestiness) |
1644 | MergeFrom(*source); |
1645 | } |
1646 | } |
1647 | |
1648 | void Syntax2Person_Nestiness::MergeFrom(const Syntax2Person_Nestiness& from) { |
1649 | // @@protoc_insertion_point(class_specific_merge_from_start:Syntax2Person.Nestiness) |
1650 | GOOGLE_DCHECK_NE(&from, this); |
1651 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1652 | ::google::protobuf::uint32 cached_has_bits = 0; |
1653 | (void) cached_has_bits; |
1654 | |
1655 | if (from.has_a()) { |
1656 | mutable_a()->::Syntax2Person_Nestiness_A::MergeFrom(from.a()); |
1657 | } |
1658 | } |
1659 | |
1660 | void Syntax2Person_Nestiness::CopyFrom(const ::google::protobuf::Message& from) { |
1661 | // @@protoc_insertion_point(generalized_copy_from_start:Syntax2Person.Nestiness) |
1662 | if (&from == this) return; |
1663 | Clear(); |
1664 | MergeFrom(from); |
1665 | } |
1666 | |
1667 | void Syntax2Person_Nestiness::CopyFrom(const Syntax2Person_Nestiness& from) { |
1668 | // @@protoc_insertion_point(class_specific_copy_from_start:Syntax2Person.Nestiness) |
1669 | if (&from == this) return; |
1670 | Clear(); |
1671 | MergeFrom(from); |
1672 | } |
1673 | |
1674 | bool Syntax2Person_Nestiness::IsInitialized() const { |
1675 | return true; |
1676 | } |
1677 | |
1678 | void Syntax2Person_Nestiness::Swap(Syntax2Person_Nestiness* other) { |
1679 | if (other == this) return; |
1680 | InternalSwap(other); |
1681 | } |
1682 | void Syntax2Person_Nestiness::InternalSwap(Syntax2Person_Nestiness* other) { |
1683 | using std::swap; |
1684 | swap(a_, other->a_); |
1685 | swap(_has_bits_[0], other->_has_bits_[0]); |
1686 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1687 | } |
1688 | |
1689 | ::google::protobuf::Metadata Syntax2Person_Nestiness::GetMetadata() const { |
1690 | protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
1691 | return ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_metadata[kIndexInFileMessages]; |
1692 | } |
1693 | |
1694 | |
1695 | // =================================================================== |
1696 | |
1697 | void Syntax2Person::InitAsDefaultInstance() { |
1698 | ::_Syntax2Person_default_instance_._instance.get_mutable()->measureunits_ = const_cast< ::Syntax2Person_MeasureUnits*>( |
1699 | ::Syntax2Person_MeasureUnits::internal_default_instance()); |
1700 | ::_Syntax2Person_default_instance_._instance.get_mutable()->nestiness_ = const_cast< ::Syntax2Person_Nestiness*>( |
1701 | ::Syntax2Person_Nestiness::internal_default_instance()); |
1702 | } |
1703 | ::google::protobuf::internal::ExplicitlyConstructed<::std::string> Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_; |
1704 | ::google::protobuf::internal::ExplicitlyConstructed<::std::string> Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_; |
1705 | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
1706 | const int Syntax2Person::kUuidFieldNumber; |
1707 | const int Syntax2Person::kNameFieldNumber; |
1708 | const int Syntax2Person::kSurnameFieldNumber; |
1709 | const int Syntax2Person::kGenderFieldNumber; |
1710 | const int Syntax2Person::kBirthDateFieldNumber; |
1711 | const int Syntax2Person::kPhotoFieldNumber; |
1712 | const int Syntax2Person::kPhoneNumberFieldNumber; |
1713 | const int Syntax2Person::kIsOnlineFieldNumber; |
1714 | const int Syntax2Person::kVisitTimeFieldNumber; |
1715 | const int Syntax2Person::kAgeFieldNumber; |
1716 | const int Syntax2Person::kZodiacSignFieldNumber; |
1717 | const int Syntax2Person::kSongsFieldNumber; |
1718 | const int Syntax2Person::kColorFieldNumber; |
1719 | const int Syntax2Person::kHometownFieldNumber; |
1720 | const int Syntax2Person::kLocationFieldNumber; |
1721 | const int Syntax2Person::kPiFieldNumber; |
1722 | const int Syntax2Person::kLotteryWinFieldNumber; |
1723 | const int Syntax2Person::kSomeRatioFieldNumber; |
1724 | const int Syntax2Person::kTemperatureFieldNumber; |
1725 | const int Syntax2Person::kRandomBigNumberFieldNumber; |
1726 | const int Syntax2Person::kMeasureunitsFieldNumber; |
1727 | const int Syntax2Person::kNestinessFieldNumber; |
1728 | const int Syntax2Person::kNewFieldStrFieldNumber; |
1729 | const int Syntax2Person::kNewFieldIntFieldNumber; |
1730 | const int Syntax2Person::kNewBoolFieldNumber; |
1731 | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
1732 | |
1733 | Syntax2Person::Syntax2Person() |
1734 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
1735 | ::google::protobuf::internal::InitSCC( |
1736 | &protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person.base); |
1737 | SharedCtor(); |
1738 | // @@protoc_insertion_point(constructor:Syntax2Person) |
1739 | } |
1740 | Syntax2Person::Syntax2Person(const Syntax2Person& from) |
1741 | : ::google::protobuf::Message(), |
1742 | _internal_metadata_(NULL), |
1743 | _has_bits_(from._has_bits_), |
1744 | songs_(from.songs_), |
1745 | color_(from.color_), |
1746 | location_(from.location_) { |
1747 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1748 | uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1749 | if (from.has_uuid()) { |
1750 | uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uuid_); |
1751 | } |
1752 | name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1753 | if (from.has_name()) { |
1754 | name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); |
1755 | } |
1756 | surname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1757 | if (from.has_surname()) { |
1758 | surname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.surname_); |
1759 | } |
1760 | photo_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1761 | if (from.has_photo()) { |
1762 | photo_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.photo_); |
1763 | } |
1764 | phonenumber_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1765 | if (from.has_phonenumber()) { |
1766 | phonenumber_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.phonenumber_); |
1767 | } |
1768 | hometown_.UnsafeSetDefault(&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get()); |
1769 | if (from.has_hometown()) { |
1770 | hometown_.AssignWithDefault(&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get(), from.hometown_); |
1771 | } |
1772 | newfieldstr_.UnsafeSetDefault(&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get()); |
1773 | if (from.has_newfieldstr()) { |
1774 | newfieldstr_.AssignWithDefault(&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get(), from.newfieldstr_); |
1775 | } |
1776 | if (from.has_measureunits()) { |
1777 | measureunits_ = new ::Syntax2Person_MeasureUnits(*from.measureunits_); |
1778 | } else { |
1779 | measureunits_ = NULL; |
1780 | } |
1781 | if (from.has_nestiness()) { |
1782 | nestiness_ = new ::Syntax2Person_Nestiness(*from.nestiness_); |
1783 | } else { |
1784 | nestiness_ = NULL; |
1785 | } |
1786 | ::memcpy(&gender_, &from.gender_, |
1787 | static_cast<size_t>(reinterpret_cast<char*>(&newbool_) - |
1788 | reinterpret_cast<char*>(&gender_)) + sizeof(newbool_)); |
1789 | // @@protoc_insertion_point(copy_constructor:Syntax2Person) |
1790 | } |
1791 | |
1792 | void Syntax2Person::SharedCtor() { |
1793 | uuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1794 | name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1795 | surname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1796 | photo_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1797 | phonenumber_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1798 | hometown_.UnsafeSetDefault(&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get()); |
1799 | newfieldstr_.UnsafeSetDefault(&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get()); |
1800 | ::memset(&measureunits_, 0, static_cast<size_t>( |
1801 | reinterpret_cast<char*>(&randombignumber_) - |
1802 | reinterpret_cast<char*>(&measureunits_)) + sizeof(randombignumber_)); |
1803 | newfieldint_ = -11; |
1804 | newbool_ = true; |
1805 | } |
1806 | |
1807 | Syntax2Person::~Syntax2Person() { |
1808 | // @@protoc_insertion_point(destructor:Syntax2Person) |
1809 | SharedDtor(); |
1810 | } |
1811 | |
1812 | void Syntax2Person::SharedDtor() { |
1813 | uuid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1814 | name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1815 | surname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1816 | photo_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1817 | phonenumber_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1818 | hometown_.DestroyNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get()); |
1819 | newfieldstr_.DestroyNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get()); |
1820 | if (this != internal_default_instance()) delete measureunits_; |
1821 | if (this != internal_default_instance()) delete nestiness_; |
1822 | } |
1823 | |
1824 | void Syntax2Person::SetCachedSize(int size) const { |
1825 | _cached_size_.Set(size); |
1826 | } |
1827 | const ::google::protobuf::Descriptor* Syntax2Person::descriptor() { |
1828 | ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
1829 | return ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
1830 | } |
1831 | |
1832 | const Syntax2Person& Syntax2Person::default_instance() { |
1833 | ::google::protobuf::internal::InitSCC(&protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::scc_info_Syntax2Person.base); |
1834 | return *internal_default_instance(); |
1835 | } |
1836 | |
1837 | |
1838 | void Syntax2Person::Clear() { |
1839 | // @@protoc_insertion_point(message_clear_start:Syntax2Person) |
1840 | ::google::protobuf::uint32 cached_has_bits = 0; |
1841 | // Prevent compiler warnings about cached_has_bits being unused |
1842 | (void) cached_has_bits; |
1843 | |
1844 | songs_.Clear(); |
1845 | color_.Clear(); |
1846 | location_.Clear(); |
1847 | cached_has_bits = _has_bits_[0]; |
1848 | if (cached_has_bits & 255u) { |
1849 | if (cached_has_bits & 0x00000001u) { |
1850 | uuid_.ClearNonDefaultToEmptyNoArena(); |
1851 | } |
1852 | if (cached_has_bits & 0x00000002u) { |
1853 | name_.ClearNonDefaultToEmptyNoArena(); |
1854 | } |
1855 | if (cached_has_bits & 0x00000004u) { |
1856 | surname_.ClearNonDefaultToEmptyNoArena(); |
1857 | } |
1858 | if (cached_has_bits & 0x00000008u) { |
1859 | photo_.ClearNonDefaultToEmptyNoArena(); |
1860 | } |
1861 | if (cached_has_bits & 0x00000010u) { |
1862 | phonenumber_.ClearNonDefaultToEmptyNoArena(); |
1863 | } |
1864 | if (cached_has_bits & 0x00000020u) { |
1865 | hometown_.UnsafeMutablePointer()->assign(*&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get()); |
1866 | } |
1867 | if (cached_has_bits & 0x00000040u) { |
1868 | newfieldstr_.UnsafeMutablePointer()->assign(*&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get()); |
1869 | } |
1870 | if (cached_has_bits & 0x00000080u) { |
1871 | GOOGLE_DCHECK(measureunits_ != NULL); |
1872 | measureunits_->Clear(); |
1873 | } |
1874 | } |
1875 | if (cached_has_bits & 0x00000100u) { |
1876 | GOOGLE_DCHECK(nestiness_ != NULL); |
1877 | nestiness_->Clear(); |
1878 | } |
1879 | if (cached_has_bits & 65024u) { |
1880 | ::memset(&gender_, 0, static_cast<size_t>( |
1881 | reinterpret_cast<char*>(&pi_) - |
1882 | reinterpret_cast<char*>(&gender_)) + sizeof(pi_)); |
1883 | } |
1884 | if (cached_has_bits & 4128768u) { |
1885 | ::memset(&lotterywin_, 0, static_cast<size_t>( |
1886 | reinterpret_cast<char*>(&randombignumber_) - |
1887 | reinterpret_cast<char*>(&lotterywin_)) + sizeof(randombignumber_)); |
1888 | newfieldint_ = -11; |
1889 | newbool_ = true; |
1890 | } |
1891 | _has_bits_.Clear(); |
1892 | _internal_metadata_.Clear(); |
1893 | } |
1894 | |
1895 | bool Syntax2Person::MergePartialFromCodedStream( |
1896 | ::google::protobuf::io::CodedInputStream* input) { |
1897 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
1898 | ::google::protobuf::uint32 tag; |
1899 | // @@protoc_insertion_point(parse_start:Syntax2Person) |
1900 | for (;;) { |
1901 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); |
1902 | tag = p.first; |
1903 | if (!p.second) goto handle_unusual; |
1904 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
1905 | // required string uuid = 1; |
1906 | case 1: { |
1907 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1908 | static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
1909 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
1910 | input, this->mutable_uuid())); |
1911 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1912 | this->uuid().data(), static_cast<int>(this->uuid().length()), |
1913 | ::google::protobuf::internal::WireFormat::PARSE, |
1914 | "Syntax2Person.uuid" ); |
1915 | } else { |
1916 | goto handle_unusual; |
1917 | } |
1918 | break; |
1919 | } |
1920 | |
1921 | // required string name = 2; |
1922 | case 2: { |
1923 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1924 | static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
1925 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
1926 | input, this->mutable_name())); |
1927 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1928 | this->name().data(), static_cast<int>(this->name().length()), |
1929 | ::google::protobuf::internal::WireFormat::PARSE, |
1930 | "Syntax2Person.name" ); |
1931 | } else { |
1932 | goto handle_unusual; |
1933 | } |
1934 | break; |
1935 | } |
1936 | |
1937 | // required string surname = 3; |
1938 | case 3: { |
1939 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1940 | static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
1941 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
1942 | input, this->mutable_surname())); |
1943 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1944 | this->surname().data(), static_cast<int>(this->surname().length()), |
1945 | ::google::protobuf::internal::WireFormat::PARSE, |
1946 | "Syntax2Person.surname" ); |
1947 | } else { |
1948 | goto handle_unusual; |
1949 | } |
1950 | break; |
1951 | } |
1952 | |
1953 | // required .Syntax2Person.Gender gender = 4; |
1954 | case 4: { |
1955 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1956 | static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { |
1957 | int value; |
1958 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
1959 | int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
1960 | input, &value))); |
1961 | if (::Syntax2Person_Gender_IsValid(value)) { |
1962 | set_gender(static_cast< ::Syntax2Person_Gender >(value)); |
1963 | } else { |
1964 | mutable_unknown_fields()->AddVarint( |
1965 | 4, static_cast< ::google::protobuf::uint64>(value)); |
1966 | } |
1967 | } else { |
1968 | goto handle_unusual; |
1969 | } |
1970 | break; |
1971 | } |
1972 | |
1973 | // required uint32 birthDate = 5; |
1974 | case 5: { |
1975 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1976 | static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { |
1977 | set_has_birthdate(); |
1978 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
1979 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( |
1980 | input, &birthdate_))); |
1981 | } else { |
1982 | goto handle_unusual; |
1983 | } |
1984 | break; |
1985 | } |
1986 | |
1987 | // optional bytes photo = 6; |
1988 | case 6: { |
1989 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1990 | static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) { |
1991 | DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( |
1992 | input, this->mutable_photo())); |
1993 | } else { |
1994 | goto handle_unusual; |
1995 | } |
1996 | break; |
1997 | } |
1998 | |
1999 | // optional string phoneNumber = 7; |
2000 | case 7: { |
2001 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2002 | static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) { |
2003 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
2004 | input, this->mutable_phonenumber())); |
2005 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2006 | this->phonenumber().data(), static_cast<int>(this->phonenumber().length()), |
2007 | ::google::protobuf::internal::WireFormat::PARSE, |
2008 | "Syntax2Person.phoneNumber" ); |
2009 | } else { |
2010 | goto handle_unusual; |
2011 | } |
2012 | break; |
2013 | } |
2014 | |
2015 | // optional bool isOnline = 8; |
2016 | case 8: { |
2017 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2018 | static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) { |
2019 | set_has_isonline(); |
2020 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2021 | bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
2022 | input, &isonline_))); |
2023 | } else { |
2024 | goto handle_unusual; |
2025 | } |
2026 | break; |
2027 | } |
2028 | |
2029 | // optional fixed32 visitTime = 9; |
2030 | case 9: { |
2031 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2032 | static_cast< ::google::protobuf::uint8>(77u /* 77 & 0xFF */)) { |
2033 | set_has_visittime(); |
2034 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2035 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_FIXED32>( |
2036 | input, &visittime_))); |
2037 | } else { |
2038 | goto handle_unusual; |
2039 | } |
2040 | break; |
2041 | } |
2042 | |
2043 | // optional uint32 age = 10; |
2044 | case 10: { |
2045 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2046 | static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) { |
2047 | set_has_age(); |
2048 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2049 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( |
2050 | input, &age_))); |
2051 | } else { |
2052 | goto handle_unusual; |
2053 | } |
2054 | break; |
2055 | } |
2056 | |
2057 | // optional .Syntax2Person.ZodiacSign zodiacSign = 11; |
2058 | case 11: { |
2059 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2060 | static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) { |
2061 | int value; |
2062 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2063 | int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( |
2064 | input, &value))); |
2065 | if (::Syntax2Person_ZodiacSign_IsValid(value)) { |
2066 | set_zodiacsign(static_cast< ::Syntax2Person_ZodiacSign >(value)); |
2067 | } else { |
2068 | mutable_unknown_fields()->AddVarint( |
2069 | 11, static_cast< ::google::protobuf::uint64>(value)); |
2070 | } |
2071 | } else { |
2072 | goto handle_unusual; |
2073 | } |
2074 | break; |
2075 | } |
2076 | |
2077 | // repeated string songs = 12; |
2078 | case 12: { |
2079 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2080 | static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) { |
2081 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
2082 | input, this->add_songs())); |
2083 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2084 | this->songs(this->songs_size() - 1).data(), |
2085 | static_cast<int>(this->songs(this->songs_size() - 1).length()), |
2086 | ::google::protobuf::internal::WireFormat::PARSE, |
2087 | "Syntax2Person.songs" ); |
2088 | } else { |
2089 | goto handle_unusual; |
2090 | } |
2091 | break; |
2092 | } |
2093 | |
2094 | // repeated uint32 color = 13; |
2095 | case 13: { |
2096 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2097 | static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) { |
2098 | DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< |
2099 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( |
2100 | 1, 104u, input, this->mutable_color()))); |
2101 | } else if ( |
2102 | static_cast< ::google::protobuf::uint8>(tag) == |
2103 | static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) { |
2104 | DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< |
2105 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( |
2106 | input, this->mutable_color()))); |
2107 | } else { |
2108 | goto handle_unusual; |
2109 | } |
2110 | break; |
2111 | } |
2112 | |
2113 | // optional string hometown = 14 [default = "Moscow"]; |
2114 | case 14: { |
2115 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2116 | static_cast< ::google::protobuf::uint8>(114u /* 114 & 0xFF */)) { |
2117 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
2118 | input, this->mutable_hometown())); |
2119 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2120 | this->hometown().data(), static_cast<int>(this->hometown().length()), |
2121 | ::google::protobuf::internal::WireFormat::PARSE, |
2122 | "Syntax2Person.hometown" ); |
2123 | } else { |
2124 | goto handle_unusual; |
2125 | } |
2126 | break; |
2127 | } |
2128 | |
2129 | // repeated float location = 15 [packed = true]; |
2130 | case 15: { |
2131 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2132 | static_cast< ::google::protobuf::uint8>(122u /* 122 & 0xFF */)) { |
2133 | DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive< |
2134 | float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( |
2135 | input, this->mutable_location()))); |
2136 | } else if ( |
2137 | static_cast< ::google::protobuf::uint8>(tag) == |
2138 | static_cast< ::google::protobuf::uint8>(125u /* 125 & 0xFF */)) { |
2139 | DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< |
2140 | float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( |
2141 | 1, 122u, input, this->mutable_location()))); |
2142 | } else { |
2143 | goto handle_unusual; |
2144 | } |
2145 | break; |
2146 | } |
2147 | |
2148 | // optional double pi = 16; |
2149 | case 16: { |
2150 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2151 | static_cast< ::google::protobuf::uint8>(129u /* 129 & 0xFF */)) { |
2152 | set_has_pi(); |
2153 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2154 | double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( |
2155 | input, &pi_))); |
2156 | } else { |
2157 | goto handle_unusual; |
2158 | } |
2159 | break; |
2160 | } |
2161 | |
2162 | // optional double lotteryWin = 17; |
2163 | case 17: { |
2164 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2165 | static_cast< ::google::protobuf::uint8>(137u /* 137 & 0xFF */)) { |
2166 | set_has_lotterywin(); |
2167 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2168 | double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>( |
2169 | input, &lotterywin_))); |
2170 | } else { |
2171 | goto handle_unusual; |
2172 | } |
2173 | break; |
2174 | } |
2175 | |
2176 | // optional float someRatio = 18; |
2177 | case 18: { |
2178 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2179 | static_cast< ::google::protobuf::uint8>(149u /* 149 & 0xFF */)) { |
2180 | set_has_someratio(); |
2181 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2182 | float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( |
2183 | input, &someratio_))); |
2184 | } else { |
2185 | goto handle_unusual; |
2186 | } |
2187 | break; |
2188 | } |
2189 | |
2190 | // optional float temperature = 19; |
2191 | case 19: { |
2192 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2193 | static_cast< ::google::protobuf::uint8>(157u /* 157 & 0xFF */)) { |
2194 | set_has_temperature(); |
2195 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2196 | float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>( |
2197 | input, &temperature_))); |
2198 | } else { |
2199 | goto handle_unusual; |
2200 | } |
2201 | break; |
2202 | } |
2203 | |
2204 | // optional sint64 randomBigNumber = 20; |
2205 | case 20: { |
2206 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2207 | static_cast< ::google::protobuf::uint8>(160u /* 160 & 0xFF */)) { |
2208 | set_has_randombignumber(); |
2209 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2210 | ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_SINT64>( |
2211 | input, &randombignumber_))); |
2212 | } else { |
2213 | goto handle_unusual; |
2214 | } |
2215 | break; |
2216 | } |
2217 | |
2218 | // optional group MeasureUnits = 21 { ... }; |
2219 | case 21: { |
2220 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2221 | static_cast< ::google::protobuf::uint8>(171u /* 171 & 0xFF */)) { |
2222 | DO_(::google::protobuf::internal::WireFormatLite::ReadGroup( |
2223 | 21, input, mutable_measureunits())); |
2224 | } else { |
2225 | goto handle_unusual; |
2226 | } |
2227 | break; |
2228 | } |
2229 | |
2230 | // optional group Nestiness = 22 { ... }; |
2231 | case 22: { |
2232 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2233 | static_cast< ::google::protobuf::uint8>(179u /* 179 & 0xFF */)) { |
2234 | DO_(::google::protobuf::internal::WireFormatLite::ReadGroup( |
2235 | 22, input, mutable_nestiness())); |
2236 | } else { |
2237 | goto handle_unusual; |
2238 | } |
2239 | break; |
2240 | } |
2241 | |
2242 | // optional string newFieldStr = 23 [default = "abc"]; |
2243 | case 23: { |
2244 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2245 | static_cast< ::google::protobuf::uint8>(186u /* 186 & 0xFF */)) { |
2246 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
2247 | input, this->mutable_newfieldstr())); |
2248 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2249 | this->newfieldstr().data(), static_cast<int>(this->newfieldstr().length()), |
2250 | ::google::protobuf::internal::WireFormat::PARSE, |
2251 | "Syntax2Person.newFieldStr" ); |
2252 | } else { |
2253 | goto handle_unusual; |
2254 | } |
2255 | break; |
2256 | } |
2257 | |
2258 | // optional int32 newFieldInt = 24 [default = -11]; |
2259 | case 24: { |
2260 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2261 | static_cast< ::google::protobuf::uint8>(192u /* 192 & 0xFF */)) { |
2262 | set_has_newfieldint(); |
2263 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2264 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
2265 | input, &newfieldint_))); |
2266 | } else { |
2267 | goto handle_unusual; |
2268 | } |
2269 | break; |
2270 | } |
2271 | |
2272 | // optional bool newBool = 25 [default = true]; |
2273 | case 25: { |
2274 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2275 | static_cast< ::google::protobuf::uint8>(200u /* 200 & 0xFF */)) { |
2276 | set_has_newbool(); |
2277 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2278 | bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( |
2279 | input, &newbool_))); |
2280 | } else { |
2281 | goto handle_unusual; |
2282 | } |
2283 | break; |
2284 | } |
2285 | |
2286 | default: { |
2287 | handle_unusual: |
2288 | if (tag == 0) { |
2289 | goto success; |
2290 | } |
2291 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
2292 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
2293 | break; |
2294 | } |
2295 | } |
2296 | } |
2297 | success: |
2298 | // @@protoc_insertion_point(parse_success:Syntax2Person) |
2299 | return true; |
2300 | failure: |
2301 | // @@protoc_insertion_point(parse_failure:Syntax2Person) |
2302 | return false; |
2303 | #undef DO_ |
2304 | } |
2305 | |
2306 | void Syntax2Person::SerializeWithCachedSizes( |
2307 | ::google::protobuf::io::CodedOutputStream* output) const { |
2308 | // @@protoc_insertion_point(serialize_start:Syntax2Person) |
2309 | ::google::protobuf::uint32 cached_has_bits = 0; |
2310 | (void) cached_has_bits; |
2311 | |
2312 | cached_has_bits = _has_bits_[0]; |
2313 | // required string uuid = 1; |
2314 | if (cached_has_bits & 0x00000001u) { |
2315 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2316 | this->uuid().data(), static_cast<int>(this->uuid().length()), |
2317 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2318 | "Syntax2Person.uuid" ); |
2319 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
2320 | 1, this->uuid(), output); |
2321 | } |
2322 | |
2323 | // required string name = 2; |
2324 | if (cached_has_bits & 0x00000002u) { |
2325 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2326 | this->name().data(), static_cast<int>(this->name().length()), |
2327 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2328 | "Syntax2Person.name" ); |
2329 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
2330 | 2, this->name(), output); |
2331 | } |
2332 | |
2333 | // required string surname = 3; |
2334 | if (cached_has_bits & 0x00000004u) { |
2335 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2336 | this->surname().data(), static_cast<int>(this->surname().length()), |
2337 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2338 | "Syntax2Person.surname" ); |
2339 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
2340 | 3, this->surname(), output); |
2341 | } |
2342 | |
2343 | // required .Syntax2Person.Gender gender = 4; |
2344 | if (cached_has_bits & 0x00000200u) { |
2345 | ::google::protobuf::internal::WireFormatLite::WriteEnum( |
2346 | 4, this->gender(), output); |
2347 | } |
2348 | |
2349 | // required uint32 birthDate = 5; |
2350 | if (cached_has_bits & 0x00000400u) { |
2351 | ::google::protobuf::internal::WireFormatLite::WriteUInt32(5, this->birthdate(), output); |
2352 | } |
2353 | |
2354 | // optional bytes photo = 6; |
2355 | if (cached_has_bits & 0x00000008u) { |
2356 | ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( |
2357 | 6, this->photo(), output); |
2358 | } |
2359 | |
2360 | // optional string phoneNumber = 7; |
2361 | if (cached_has_bits & 0x00000010u) { |
2362 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2363 | this->phonenumber().data(), static_cast<int>(this->phonenumber().length()), |
2364 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2365 | "Syntax2Person.phoneNumber" ); |
2366 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
2367 | 7, this->phonenumber(), output); |
2368 | } |
2369 | |
2370 | // optional bool isOnline = 8; |
2371 | if (cached_has_bits & 0x00000800u) { |
2372 | ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->isonline(), output); |
2373 | } |
2374 | |
2375 | // optional fixed32 visitTime = 9; |
2376 | if (cached_has_bits & 0x00001000u) { |
2377 | ::google::protobuf::internal::WireFormatLite::WriteFixed32(9, this->visittime(), output); |
2378 | } |
2379 | |
2380 | // optional uint32 age = 10; |
2381 | if (cached_has_bits & 0x00002000u) { |
2382 | ::google::protobuf::internal::WireFormatLite::WriteUInt32(10, this->age(), output); |
2383 | } |
2384 | |
2385 | // optional .Syntax2Person.ZodiacSign zodiacSign = 11; |
2386 | if (cached_has_bits & 0x00004000u) { |
2387 | ::google::protobuf::internal::WireFormatLite::WriteEnum( |
2388 | 11, this->zodiacsign(), output); |
2389 | } |
2390 | |
2391 | // repeated string songs = 12; |
2392 | for (int i = 0, n = this->songs_size(); i < n; i++) { |
2393 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2394 | this->songs(i).data(), static_cast<int>(this->songs(i).length()), |
2395 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2396 | "Syntax2Person.songs" ); |
2397 | ::google::protobuf::internal::WireFormatLite::WriteString( |
2398 | 12, this->songs(i), output); |
2399 | } |
2400 | |
2401 | // repeated uint32 color = 13; |
2402 | for (int i = 0, n = this->color_size(); i < n; i++) { |
2403 | ::google::protobuf::internal::WireFormatLite::WriteUInt32( |
2404 | 13, this->color(i), output); |
2405 | } |
2406 | |
2407 | // optional string hometown = 14 [default = "Moscow"]; |
2408 | if (cached_has_bits & 0x00000020u) { |
2409 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2410 | this->hometown().data(), static_cast<int>(this->hometown().length()), |
2411 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2412 | "Syntax2Person.hometown" ); |
2413 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
2414 | 14, this->hometown(), output); |
2415 | } |
2416 | |
2417 | // repeated float location = 15 [packed = true]; |
2418 | if (this->location_size() > 0) { |
2419 | ::google::protobuf::internal::WireFormatLite::WriteTag(15, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); |
2420 | output->WriteVarint32(static_cast< ::google::protobuf::uint32>( |
2421 | _location_cached_byte_size_)); |
2422 | ::google::protobuf::internal::WireFormatLite::WriteFloatArray( |
2423 | this->location().data(), this->location_size(), output); |
2424 | } |
2425 | |
2426 | // optional double pi = 16; |
2427 | if (cached_has_bits & 0x00008000u) { |
2428 | ::google::protobuf::internal::WireFormatLite::WriteDouble(16, this->pi(), output); |
2429 | } |
2430 | |
2431 | // optional double lotteryWin = 17; |
2432 | if (cached_has_bits & 0x00010000u) { |
2433 | ::google::protobuf::internal::WireFormatLite::WriteDouble(17, this->lotterywin(), output); |
2434 | } |
2435 | |
2436 | // optional float someRatio = 18; |
2437 | if (cached_has_bits & 0x00020000u) { |
2438 | ::google::protobuf::internal::WireFormatLite::WriteFloat(18, this->someratio(), output); |
2439 | } |
2440 | |
2441 | // optional float temperature = 19; |
2442 | if (cached_has_bits & 0x00040000u) { |
2443 | ::google::protobuf::internal::WireFormatLite::WriteFloat(19, this->temperature(), output); |
2444 | } |
2445 | |
2446 | // optional sint64 randomBigNumber = 20; |
2447 | if (cached_has_bits & 0x00080000u) { |
2448 | ::google::protobuf::internal::WireFormatLite::WriteSInt64(20, this->randombignumber(), output); |
2449 | } |
2450 | |
2451 | // optional group MeasureUnits = 21 { ... }; |
2452 | if (cached_has_bits & 0x00000080u) { |
2453 | ::google::protobuf::internal::WireFormatLite::WriteGroupMaybeToArray( |
2454 | 21, this->_internal_measureunits(), output); |
2455 | } |
2456 | |
2457 | // optional group Nestiness = 22 { ... }; |
2458 | if (cached_has_bits & 0x00000100u) { |
2459 | ::google::protobuf::internal::WireFormatLite::WriteGroupMaybeToArray( |
2460 | 22, this->_internal_nestiness(), output); |
2461 | } |
2462 | |
2463 | // optional string newFieldStr = 23 [default = "abc"]; |
2464 | if (cached_has_bits & 0x00000040u) { |
2465 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2466 | this->newfieldstr().data(), static_cast<int>(this->newfieldstr().length()), |
2467 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2468 | "Syntax2Person.newFieldStr" ); |
2469 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
2470 | 23, this->newfieldstr(), output); |
2471 | } |
2472 | |
2473 | // optional int32 newFieldInt = 24 [default = -11]; |
2474 | if (cached_has_bits & 0x00100000u) { |
2475 | ::google::protobuf::internal::WireFormatLite::WriteInt32(24, this->newfieldint(), output); |
2476 | } |
2477 | |
2478 | // optional bool newBool = 25 [default = true]; |
2479 | if (cached_has_bits & 0x00200000u) { |
2480 | ::google::protobuf::internal::WireFormatLite::WriteBool(25, this->newbool(), output); |
2481 | } |
2482 | |
2483 | if (_internal_metadata_.have_unknown_fields()) { |
2484 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
2485 | _internal_metadata_.unknown_fields(), output); |
2486 | } |
2487 | // @@protoc_insertion_point(serialize_end:Syntax2Person) |
2488 | } |
2489 | |
2490 | ::google::protobuf::uint8* Syntax2Person::InternalSerializeWithCachedSizesToArray( |
2491 | bool deterministic, ::google::protobuf::uint8* target) const { |
2492 | (void)deterministic; // Unused |
2493 | // @@protoc_insertion_point(serialize_to_array_start:Syntax2Person) |
2494 | ::google::protobuf::uint32 cached_has_bits = 0; |
2495 | (void) cached_has_bits; |
2496 | |
2497 | cached_has_bits = _has_bits_[0]; |
2498 | // required string uuid = 1; |
2499 | if (cached_has_bits & 0x00000001u) { |
2500 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2501 | this->uuid().data(), static_cast<int>(this->uuid().length()), |
2502 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2503 | "Syntax2Person.uuid" ); |
2504 | target = |
2505 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
2506 | 1, this->uuid(), target); |
2507 | } |
2508 | |
2509 | // required string name = 2; |
2510 | if (cached_has_bits & 0x00000002u) { |
2511 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2512 | this->name().data(), static_cast<int>(this->name().length()), |
2513 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2514 | "Syntax2Person.name" ); |
2515 | target = |
2516 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
2517 | 2, this->name(), target); |
2518 | } |
2519 | |
2520 | // required string surname = 3; |
2521 | if (cached_has_bits & 0x00000004u) { |
2522 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2523 | this->surname().data(), static_cast<int>(this->surname().length()), |
2524 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2525 | "Syntax2Person.surname" ); |
2526 | target = |
2527 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
2528 | 3, this->surname(), target); |
2529 | } |
2530 | |
2531 | // required .Syntax2Person.Gender gender = 4; |
2532 | if (cached_has_bits & 0x00000200u) { |
2533 | target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( |
2534 | 4, this->gender(), target); |
2535 | } |
2536 | |
2537 | // required uint32 birthDate = 5; |
2538 | if (cached_has_bits & 0x00000400u) { |
2539 | target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(5, this->birthdate(), target); |
2540 | } |
2541 | |
2542 | // optional bytes photo = 6; |
2543 | if (cached_has_bits & 0x00000008u) { |
2544 | target = |
2545 | ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( |
2546 | 6, this->photo(), target); |
2547 | } |
2548 | |
2549 | // optional string phoneNumber = 7; |
2550 | if (cached_has_bits & 0x00000010u) { |
2551 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2552 | this->phonenumber().data(), static_cast<int>(this->phonenumber().length()), |
2553 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2554 | "Syntax2Person.phoneNumber" ); |
2555 | target = |
2556 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
2557 | 7, this->phonenumber(), target); |
2558 | } |
2559 | |
2560 | // optional bool isOnline = 8; |
2561 | if (cached_has_bits & 0x00000800u) { |
2562 | target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->isonline(), target); |
2563 | } |
2564 | |
2565 | // optional fixed32 visitTime = 9; |
2566 | if (cached_has_bits & 0x00001000u) { |
2567 | target = ::google::protobuf::internal::WireFormatLite::WriteFixed32ToArray(9, this->visittime(), target); |
2568 | } |
2569 | |
2570 | // optional uint32 age = 10; |
2571 | if (cached_has_bits & 0x00002000u) { |
2572 | target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(10, this->age(), target); |
2573 | } |
2574 | |
2575 | // optional .Syntax2Person.ZodiacSign zodiacSign = 11; |
2576 | if (cached_has_bits & 0x00004000u) { |
2577 | target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( |
2578 | 11, this->zodiacsign(), target); |
2579 | } |
2580 | |
2581 | // repeated string songs = 12; |
2582 | for (int i = 0, n = this->songs_size(); i < n; i++) { |
2583 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2584 | this->songs(i).data(), static_cast<int>(this->songs(i).length()), |
2585 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2586 | "Syntax2Person.songs" ); |
2587 | target = ::google::protobuf::internal::WireFormatLite:: |
2588 | WriteStringToArray(12, this->songs(i), target); |
2589 | } |
2590 | |
2591 | // repeated uint32 color = 13; |
2592 | target = ::google::protobuf::internal::WireFormatLite:: |
2593 | WriteUInt32ToArray(13, this->color_, target); |
2594 | |
2595 | // optional string hometown = 14 [default = "Moscow"]; |
2596 | if (cached_has_bits & 0x00000020u) { |
2597 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2598 | this->hometown().data(), static_cast<int>(this->hometown().length()), |
2599 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2600 | "Syntax2Person.hometown" ); |
2601 | target = |
2602 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
2603 | 14, this->hometown(), target); |
2604 | } |
2605 | |
2606 | // repeated float location = 15 [packed = true]; |
2607 | if (this->location_size() > 0) { |
2608 | target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray( |
2609 | 15, |
2610 | ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, |
2611 | target); |
2612 | target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray( |
2613 | static_cast< ::google::protobuf::int32>( |
2614 | _location_cached_byte_size_), target); |
2615 | target = ::google::protobuf::internal::WireFormatLite:: |
2616 | WriteFloatNoTagToArray(this->location_, target); |
2617 | } |
2618 | |
2619 | // optional double pi = 16; |
2620 | if (cached_has_bits & 0x00008000u) { |
2621 | target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(16, this->pi(), target); |
2622 | } |
2623 | |
2624 | // optional double lotteryWin = 17; |
2625 | if (cached_has_bits & 0x00010000u) { |
2626 | target = ::google::protobuf::internal::WireFormatLite::WriteDoubleToArray(17, this->lotterywin(), target); |
2627 | } |
2628 | |
2629 | // optional float someRatio = 18; |
2630 | if (cached_has_bits & 0x00020000u) { |
2631 | target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(18, this->someratio(), target); |
2632 | } |
2633 | |
2634 | // optional float temperature = 19; |
2635 | if (cached_has_bits & 0x00040000u) { |
2636 | target = ::google::protobuf::internal::WireFormatLite::WriteFloatToArray(19, this->temperature(), target); |
2637 | } |
2638 | |
2639 | // optional sint64 randomBigNumber = 20; |
2640 | if (cached_has_bits & 0x00080000u) { |
2641 | target = ::google::protobuf::internal::WireFormatLite::WriteSInt64ToArray(20, this->randombignumber(), target); |
2642 | } |
2643 | |
2644 | // optional group MeasureUnits = 21 { ... }; |
2645 | if (cached_has_bits & 0x00000080u) { |
2646 | target = ::google::protobuf::internal::WireFormatLite:: |
2647 | InternalWriteGroupToArray( |
2648 | 21, this->_internal_measureunits(), deterministic, target); |
2649 | } |
2650 | |
2651 | // optional group Nestiness = 22 { ... }; |
2652 | if (cached_has_bits & 0x00000100u) { |
2653 | target = ::google::protobuf::internal::WireFormatLite:: |
2654 | InternalWriteGroupToArray( |
2655 | 22, this->_internal_nestiness(), deterministic, target); |
2656 | } |
2657 | |
2658 | // optional string newFieldStr = 23 [default = "abc"]; |
2659 | if (cached_has_bits & 0x00000040u) { |
2660 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2661 | this->newfieldstr().data(), static_cast<int>(this->newfieldstr().length()), |
2662 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2663 | "Syntax2Person.newFieldStr" ); |
2664 | target = |
2665 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
2666 | 23, this->newfieldstr(), target); |
2667 | } |
2668 | |
2669 | // optional int32 newFieldInt = 24 [default = -11]; |
2670 | if (cached_has_bits & 0x00100000u) { |
2671 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(24, this->newfieldint(), target); |
2672 | } |
2673 | |
2674 | // optional bool newBool = 25 [default = true]; |
2675 | if (cached_has_bits & 0x00200000u) { |
2676 | target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(25, this->newbool(), target); |
2677 | } |
2678 | |
2679 | if (_internal_metadata_.have_unknown_fields()) { |
2680 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
2681 | _internal_metadata_.unknown_fields(), target); |
2682 | } |
2683 | // @@protoc_insertion_point(serialize_to_array_end:Syntax2Person) |
2684 | return target; |
2685 | } |
2686 | |
2687 | size_t Syntax2Person::RequiredFieldsByteSizeFallback() const { |
2688 | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:Syntax2Person) |
2689 | size_t total_size = 0; |
2690 | |
2691 | if (has_uuid()) { |
2692 | // required string uuid = 1; |
2693 | total_size += 1 + |
2694 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2695 | this->uuid()); |
2696 | } |
2697 | |
2698 | if (has_name()) { |
2699 | // required string name = 2; |
2700 | total_size += 1 + |
2701 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2702 | this->name()); |
2703 | } |
2704 | |
2705 | if (has_surname()) { |
2706 | // required string surname = 3; |
2707 | total_size += 1 + |
2708 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2709 | this->surname()); |
2710 | } |
2711 | |
2712 | if (has_gender()) { |
2713 | // required .Syntax2Person.Gender gender = 4; |
2714 | total_size += 1 + |
2715 | ::google::protobuf::internal::WireFormatLite::EnumSize(this->gender()); |
2716 | } |
2717 | |
2718 | if (has_birthdate()) { |
2719 | // required uint32 birthDate = 5; |
2720 | total_size += 1 + |
2721 | ::google::protobuf::internal::WireFormatLite::UInt32Size( |
2722 | this->birthdate()); |
2723 | } |
2724 | |
2725 | return total_size; |
2726 | } |
2727 | size_t Syntax2Person::ByteSizeLong() const { |
2728 | // @@protoc_insertion_point(message_byte_size_start:Syntax2Person) |
2729 | size_t total_size = 0; |
2730 | |
2731 | if (_internal_metadata_.have_unknown_fields()) { |
2732 | total_size += |
2733 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
2734 | _internal_metadata_.unknown_fields()); |
2735 | } |
2736 | if (((_has_bits_[0] & 0x00000607) ^ 0x00000607) == 0) { // All required fields are present. |
2737 | // required string uuid = 1; |
2738 | total_size += 1 + |
2739 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2740 | this->uuid()); |
2741 | |
2742 | // required string name = 2; |
2743 | total_size += 1 + |
2744 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2745 | this->name()); |
2746 | |
2747 | // required string surname = 3; |
2748 | total_size += 1 + |
2749 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2750 | this->surname()); |
2751 | |
2752 | // required .Syntax2Person.Gender gender = 4; |
2753 | total_size += 1 + |
2754 | ::google::protobuf::internal::WireFormatLite::EnumSize(this->gender()); |
2755 | |
2756 | // required uint32 birthDate = 5; |
2757 | total_size += 1 + |
2758 | ::google::protobuf::internal::WireFormatLite::UInt32Size( |
2759 | this->birthdate()); |
2760 | |
2761 | } else { |
2762 | total_size += RequiredFieldsByteSizeFallback(); |
2763 | } |
2764 | // repeated string songs = 12; |
2765 | total_size += 1 * |
2766 | ::google::protobuf::internal::FromIntSize(this->songs_size()); |
2767 | for (int i = 0, n = this->songs_size(); i < n; i++) { |
2768 | total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
2769 | this->songs(i)); |
2770 | } |
2771 | |
2772 | // repeated uint32 color = 13; |
2773 | { |
2774 | size_t data_size = ::google::protobuf::internal::WireFormatLite:: |
2775 | UInt32Size(this->color_); |
2776 | total_size += 1 * |
2777 | ::google::protobuf::internal::FromIntSize(this->color_size()); |
2778 | total_size += data_size; |
2779 | } |
2780 | |
2781 | // repeated float location = 15 [packed = true]; |
2782 | { |
2783 | unsigned int count = static_cast<unsigned int>(this->location_size()); |
2784 | size_t data_size = 4UL * count; |
2785 | if (data_size > 0) { |
2786 | total_size += 1 + |
2787 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
2788 | static_cast< ::google::protobuf::int32>(data_size)); |
2789 | } |
2790 | int cached_size = ::google::protobuf::internal::ToCachedSize(data_size); |
2791 | GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); |
2792 | _location_cached_byte_size_ = cached_size; |
2793 | GOOGLE_SAFE_CONCURRENT_WRITES_END(); |
2794 | total_size += data_size; |
2795 | } |
2796 | |
2797 | if (_has_bits_[0 / 32] & 248u) { |
2798 | // optional bytes photo = 6; |
2799 | if (has_photo()) { |
2800 | total_size += 1 + |
2801 | ::google::protobuf::internal::WireFormatLite::BytesSize( |
2802 | this->photo()); |
2803 | } |
2804 | |
2805 | // optional string phoneNumber = 7; |
2806 | if (has_phonenumber()) { |
2807 | total_size += 1 + |
2808 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2809 | this->phonenumber()); |
2810 | } |
2811 | |
2812 | // optional string hometown = 14 [default = "Moscow"]; |
2813 | if (has_hometown()) { |
2814 | total_size += 1 + |
2815 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2816 | this->hometown()); |
2817 | } |
2818 | |
2819 | // optional string newFieldStr = 23 [default = "abc"]; |
2820 | if (has_newfieldstr()) { |
2821 | total_size += 2 + |
2822 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2823 | this->newfieldstr()); |
2824 | } |
2825 | |
2826 | // optional group MeasureUnits = 21 { ... }; |
2827 | if (has_measureunits()) { |
2828 | total_size += 4 + |
2829 | ::google::protobuf::internal::WireFormatLite::GroupSize( |
2830 | *measureunits_); |
2831 | } |
2832 | |
2833 | } |
2834 | // optional group Nestiness = 22 { ... }; |
2835 | if (has_nestiness()) { |
2836 | total_size += 4 + |
2837 | ::google::protobuf::internal::WireFormatLite::GroupSize( |
2838 | *nestiness_); |
2839 | } |
2840 | |
2841 | if (_has_bits_[8 / 32] & 63488u) { |
2842 | // optional bool isOnline = 8; |
2843 | if (has_isonline()) { |
2844 | total_size += 1 + 1; |
2845 | } |
2846 | |
2847 | // optional fixed32 visitTime = 9; |
2848 | if (has_visittime()) { |
2849 | total_size += 1 + 4; |
2850 | } |
2851 | |
2852 | // optional uint32 age = 10; |
2853 | if (has_age()) { |
2854 | total_size += 1 + |
2855 | ::google::protobuf::internal::WireFormatLite::UInt32Size( |
2856 | this->age()); |
2857 | } |
2858 | |
2859 | // optional .Syntax2Person.ZodiacSign zodiacSign = 11; |
2860 | if (has_zodiacsign()) { |
2861 | total_size += 1 + |
2862 | ::google::protobuf::internal::WireFormatLite::EnumSize(this->zodiacsign()); |
2863 | } |
2864 | |
2865 | // optional double pi = 16; |
2866 | if (has_pi()) { |
2867 | total_size += 2 + 8; |
2868 | } |
2869 | |
2870 | } |
2871 | if (_has_bits_[16 / 32] & 4128768u) { |
2872 | // optional double lotteryWin = 17; |
2873 | if (has_lotterywin()) { |
2874 | total_size += 2 + 8; |
2875 | } |
2876 | |
2877 | // optional float someRatio = 18; |
2878 | if (has_someratio()) { |
2879 | total_size += 2 + 4; |
2880 | } |
2881 | |
2882 | // optional float temperature = 19; |
2883 | if (has_temperature()) { |
2884 | total_size += 2 + 4; |
2885 | } |
2886 | |
2887 | // optional sint64 randomBigNumber = 20; |
2888 | if (has_randombignumber()) { |
2889 | total_size += 2 + |
2890 | ::google::protobuf::internal::WireFormatLite::SInt64Size( |
2891 | this->randombignumber()); |
2892 | } |
2893 | |
2894 | // optional int32 newFieldInt = 24 [default = -11]; |
2895 | if (has_newfieldint()) { |
2896 | total_size += 2 + |
2897 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
2898 | this->newfieldint()); |
2899 | } |
2900 | |
2901 | // optional bool newBool = 25 [default = true]; |
2902 | if (has_newbool()) { |
2903 | total_size += 2 + 1; |
2904 | } |
2905 | |
2906 | } |
2907 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
2908 | SetCachedSize(cached_size); |
2909 | return total_size; |
2910 | } |
2911 | |
2912 | void Syntax2Person::MergeFrom(const ::google::protobuf::Message& from) { |
2913 | // @@protoc_insertion_point(generalized_merge_from_start:Syntax2Person) |
2914 | GOOGLE_DCHECK_NE(&from, this); |
2915 | const Syntax2Person* source = |
2916 | ::google::protobuf::internal::DynamicCastToGenerated<const Syntax2Person>( |
2917 | &from); |
2918 | if (source == NULL) { |
2919 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:Syntax2Person) |
2920 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
2921 | } else { |
2922 | // @@protoc_insertion_point(generalized_merge_from_cast_success:Syntax2Person) |
2923 | MergeFrom(*source); |
2924 | } |
2925 | } |
2926 | |
2927 | void Syntax2Person::MergeFrom(const Syntax2Person& from) { |
2928 | // @@protoc_insertion_point(class_specific_merge_from_start:Syntax2Person) |
2929 | GOOGLE_DCHECK_NE(&from, this); |
2930 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2931 | ::google::protobuf::uint32 cached_has_bits = 0; |
2932 | (void) cached_has_bits; |
2933 | |
2934 | songs_.MergeFrom(from.songs_); |
2935 | color_.MergeFrom(from.color_); |
2936 | location_.MergeFrom(from.location_); |
2937 | cached_has_bits = from._has_bits_[0]; |
2938 | if (cached_has_bits & 255u) { |
2939 | if (cached_has_bits & 0x00000001u) { |
2940 | set_has_uuid(); |
2941 | uuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uuid_); |
2942 | } |
2943 | if (cached_has_bits & 0x00000002u) { |
2944 | set_has_name(); |
2945 | name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); |
2946 | } |
2947 | if (cached_has_bits & 0x00000004u) { |
2948 | set_has_surname(); |
2949 | surname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.surname_); |
2950 | } |
2951 | if (cached_has_bits & 0x00000008u) { |
2952 | set_has_photo(); |
2953 | photo_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.photo_); |
2954 | } |
2955 | if (cached_has_bits & 0x00000010u) { |
2956 | set_has_phonenumber(); |
2957 | phonenumber_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.phonenumber_); |
2958 | } |
2959 | if (cached_has_bits & 0x00000020u) { |
2960 | set_has_hometown(); |
2961 | hometown_.AssignWithDefault(&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get(), from.hometown_); |
2962 | } |
2963 | if (cached_has_bits & 0x00000040u) { |
2964 | set_has_newfieldstr(); |
2965 | newfieldstr_.AssignWithDefault(&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get(), from.newfieldstr_); |
2966 | } |
2967 | if (cached_has_bits & 0x00000080u) { |
2968 | mutable_measureunits()->::Syntax2Person_MeasureUnits::MergeFrom(from.measureunits()); |
2969 | } |
2970 | } |
2971 | if (cached_has_bits & 65280u) { |
2972 | if (cached_has_bits & 0x00000100u) { |
2973 | mutable_nestiness()->::Syntax2Person_Nestiness::MergeFrom(from.nestiness()); |
2974 | } |
2975 | if (cached_has_bits & 0x00000200u) { |
2976 | gender_ = from.gender_; |
2977 | } |
2978 | if (cached_has_bits & 0x00000400u) { |
2979 | birthdate_ = from.birthdate_; |
2980 | } |
2981 | if (cached_has_bits & 0x00000800u) { |
2982 | isonline_ = from.isonline_; |
2983 | } |
2984 | if (cached_has_bits & 0x00001000u) { |
2985 | visittime_ = from.visittime_; |
2986 | } |
2987 | if (cached_has_bits & 0x00002000u) { |
2988 | age_ = from.age_; |
2989 | } |
2990 | if (cached_has_bits & 0x00004000u) { |
2991 | zodiacsign_ = from.zodiacsign_; |
2992 | } |
2993 | if (cached_has_bits & 0x00008000u) { |
2994 | pi_ = from.pi_; |
2995 | } |
2996 | _has_bits_[0] |= cached_has_bits; |
2997 | } |
2998 | if (cached_has_bits & 4128768u) { |
2999 | if (cached_has_bits & 0x00010000u) { |
3000 | lotterywin_ = from.lotterywin_; |
3001 | } |
3002 | if (cached_has_bits & 0x00020000u) { |
3003 | someratio_ = from.someratio_; |
3004 | } |
3005 | if (cached_has_bits & 0x00040000u) { |
3006 | temperature_ = from.temperature_; |
3007 | } |
3008 | if (cached_has_bits & 0x00080000u) { |
3009 | randombignumber_ = from.randombignumber_; |
3010 | } |
3011 | if (cached_has_bits & 0x00100000u) { |
3012 | newfieldint_ = from.newfieldint_; |
3013 | } |
3014 | if (cached_has_bits & 0x00200000u) { |
3015 | newbool_ = from.newbool_; |
3016 | } |
3017 | _has_bits_[0] |= cached_has_bits; |
3018 | } |
3019 | } |
3020 | |
3021 | void Syntax2Person::CopyFrom(const ::google::protobuf::Message& from) { |
3022 | // @@protoc_insertion_point(generalized_copy_from_start:Syntax2Person) |
3023 | if (&from == this) return; |
3024 | Clear(); |
3025 | MergeFrom(from); |
3026 | } |
3027 | |
3028 | void Syntax2Person::CopyFrom(const Syntax2Person& from) { |
3029 | // @@protoc_insertion_point(class_specific_copy_from_start:Syntax2Person) |
3030 | if (&from == this) return; |
3031 | Clear(); |
3032 | MergeFrom(from); |
3033 | } |
3034 | |
3035 | bool Syntax2Person::IsInitialized() const { |
3036 | if ((_has_bits_[0] & 0x00000607) != 0x00000607) return false; |
3037 | return true; |
3038 | } |
3039 | |
3040 | void Syntax2Person::Swap(Syntax2Person* other) { |
3041 | if (other == this) return; |
3042 | InternalSwap(other); |
3043 | } |
3044 | void Syntax2Person::InternalSwap(Syntax2Person* other) { |
3045 | using std::swap; |
3046 | songs_.InternalSwap(CastToBase(&other->songs_)); |
3047 | color_.InternalSwap(&other->color_); |
3048 | location_.InternalSwap(&other->location_); |
3049 | uuid_.Swap(&other->uuid_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3050 | GetArenaNoVirtual()); |
3051 | name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3052 | GetArenaNoVirtual()); |
3053 | surname_.Swap(&other->surname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3054 | GetArenaNoVirtual()); |
3055 | photo_.Swap(&other->photo_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3056 | GetArenaNoVirtual()); |
3057 | phonenumber_.Swap(&other->phonenumber_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3058 | GetArenaNoVirtual()); |
3059 | hometown_.Swap(&other->hometown_, &::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get(), |
3060 | GetArenaNoVirtual()); |
3061 | newfieldstr_.Swap(&other->newfieldstr_, &::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get(), |
3062 | GetArenaNoVirtual()); |
3063 | swap(measureunits_, other->measureunits_); |
3064 | swap(nestiness_, other->nestiness_); |
3065 | swap(gender_, other->gender_); |
3066 | swap(birthdate_, other->birthdate_); |
3067 | swap(isonline_, other->isonline_); |
3068 | swap(visittime_, other->visittime_); |
3069 | swap(age_, other->age_); |
3070 | swap(zodiacsign_, other->zodiacsign_); |
3071 | swap(pi_, other->pi_); |
3072 | swap(lotterywin_, other->lotterywin_); |
3073 | swap(someratio_, other->someratio_); |
3074 | swap(temperature_, other->temperature_); |
3075 | swap(randombignumber_, other->randombignumber_); |
3076 | swap(newfieldint_, other->newfieldint_); |
3077 | swap(newbool_, other->newbool_); |
3078 | swap(_has_bits_[0], other->_has_bits_[0]); |
3079 | _internal_metadata_.Swap(&other->_internal_metadata_); |
3080 | } |
3081 | |
3082 | ::google::protobuf::Metadata Syntax2Person::GetMetadata() const { |
3083 | protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::protobuf_AssignDescriptorsOnce(); |
3084 | return ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::file_level_metadata[kIndexInFileMessages]; |
3085 | } |
3086 | |
3087 | |
3088 | // @@protoc_insertion_point(namespace_scope) |
3089 | namespace google { |
3090 | namespace protobuf { |
3091 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Syntax2Person_MeasureUnits* Arena::CreateMaybeMessage< ::Syntax2Person_MeasureUnits >(Arena* arena) { |
3092 | return Arena::CreateInternal< ::Syntax2Person_MeasureUnits >(arena); |
3093 | } |
3094 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Syntax2Person_Nestiness_A_SubB_C* Arena::CreateMaybeMessage< ::Syntax2Person_Nestiness_A_SubB_C >(Arena* arena) { |
3095 | return Arena::CreateInternal< ::Syntax2Person_Nestiness_A_SubB_C >(arena); |
3096 | } |
3097 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Syntax2Person_Nestiness_A_SubB* Arena::CreateMaybeMessage< ::Syntax2Person_Nestiness_A_SubB >(Arena* arena) { |
3098 | return Arena::CreateInternal< ::Syntax2Person_Nestiness_A_SubB >(arena); |
3099 | } |
3100 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Syntax2Person_Nestiness_A* Arena::CreateMaybeMessage< ::Syntax2Person_Nestiness_A >(Arena* arena) { |
3101 | return Arena::CreateInternal< ::Syntax2Person_Nestiness_A >(arena); |
3102 | } |
3103 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Syntax2Person_Nestiness* Arena::CreateMaybeMessage< ::Syntax2Person_Nestiness >(Arena* arena) { |
3104 | return Arena::CreateInternal< ::Syntax2Person_Nestiness >(arena); |
3105 | } |
3106 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::Syntax2Person* Arena::CreateMaybeMessage< ::Syntax2Person >(Arena* arena) { |
3107 | return Arena::CreateInternal< ::Syntax2Person >(arena); |
3108 | } |
3109 | } // namespace protobuf |
3110 | } // namespace google |
3111 | |
3112 | // @@protoc_insertion_point(global_scope) |
3113 | |