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