/src/brpc/build/test/addressbook_map.pb.h
Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: addressbook_map.proto |
3 | | |
4 | | #ifndef GOOGLE_PROTOBUF_INCLUDED_addressbook_5fmap_2eproto |
5 | | #define GOOGLE_PROTOBUF_INCLUDED_addressbook_5fmap_2eproto |
6 | | |
7 | | #include <limits> |
8 | | #include <string> |
9 | | |
10 | | #include <google/protobuf/port_def.inc> |
11 | | #if PROTOBUF_VERSION < 3021000 |
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 3021012 < PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/port_undef.inc> |
23 | | #include <google/protobuf/io/coded_stream.h> |
24 | | #include <google/protobuf/arena.h> |
25 | | #include <google/protobuf/arenastring.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata_lite.h> |
28 | | #include <google/protobuf/generated_message_reflection.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 | | #include <google/protobuf/port_def.inc> |
38 | | #define PROTOBUF_INTERNAL_EXPORT_addressbook_5fmap_2eproto |
39 | | PROTOBUF_NAMESPACE_OPEN |
40 | | namespace internal { |
41 | | class AnyMetadata; |
42 | | } // namespace internal |
43 | | PROTOBUF_NAMESPACE_CLOSE |
44 | | |
45 | | // Internal implementation detail -- do not use these members. |
46 | | struct TableStruct_addressbook_5fmap_2eproto { |
47 | | static const uint32_t offsets[]; |
48 | | }; |
49 | | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_addressbook_5fmap_2eproto; |
50 | | class AddressComplex; |
51 | | struct AddressComplexDefaultTypeInternal; |
52 | | extern AddressComplexDefaultTypeInternal _AddressComplex_default_instance_; |
53 | | class AddressComplex_FriendEntry; |
54 | | struct AddressComplex_FriendEntryDefaultTypeInternal; |
55 | | extern AddressComplex_FriendEntryDefaultTypeInternal _AddressComplex_FriendEntry_default_instance_; |
56 | | class AddressComplex_FriendEntry_Education; |
57 | | struct AddressComplex_FriendEntry_EducationDefaultTypeInternal; |
58 | | extern AddressComplex_FriendEntry_EducationDefaultTypeInternal _AddressComplex_FriendEntry_Education_default_instance_; |
59 | | class AddressIntMap; |
60 | | struct AddressIntMapDefaultTypeInternal; |
61 | | extern AddressIntMapDefaultTypeInternal _AddressIntMap_default_instance_; |
62 | | class AddressIntMapStd; |
63 | | struct AddressIntMapStdDefaultTypeInternal; |
64 | | extern AddressIntMapStdDefaultTypeInternal _AddressIntMapStd_default_instance_; |
65 | | class AddressIntMapStd_NumbersEntry_DoNotUse; |
66 | | struct AddressIntMapStd_NumbersEntry_DoNotUseDefaultTypeInternal; |
67 | | extern AddressIntMapStd_NumbersEntry_DoNotUseDefaultTypeInternal _AddressIntMapStd_NumbersEntry_DoNotUse_default_instance_; |
68 | | class AddressIntMap_MapFieldEntry; |
69 | | struct AddressIntMap_MapFieldEntryDefaultTypeInternal; |
70 | | extern AddressIntMap_MapFieldEntryDefaultTypeInternal _AddressIntMap_MapFieldEntry_default_instance_; |
71 | | class AddressNoMap; |
72 | | struct AddressNoMapDefaultTypeInternal; |
73 | | extern AddressNoMapDefaultTypeInternal _AddressNoMap_default_instance_; |
74 | | class AddressStringMap; |
75 | | struct AddressStringMapDefaultTypeInternal; |
76 | | extern AddressStringMapDefaultTypeInternal _AddressStringMap_default_instance_; |
77 | | class AddressStringMapStd; |
78 | | struct AddressStringMapStdDefaultTypeInternal; |
79 | | extern AddressStringMapStdDefaultTypeInternal _AddressStringMapStd_default_instance_; |
80 | | class AddressStringMapStd_ContactsEntry_DoNotUse; |
81 | | struct AddressStringMapStd_ContactsEntry_DoNotUseDefaultTypeInternal; |
82 | | extern AddressStringMapStd_ContactsEntry_DoNotUseDefaultTypeInternal _AddressStringMapStd_ContactsEntry_DoNotUse_default_instance_; |
83 | | class AddressStringMap_MapFieldEntry; |
84 | | struct AddressStringMap_MapFieldEntryDefaultTypeInternal; |
85 | | extern AddressStringMap_MapFieldEntryDefaultTypeInternal _AddressStringMap_MapFieldEntry_default_instance_; |
86 | | class haha; |
87 | | struct hahaDefaultTypeInternal; |
88 | | extern hahaDefaultTypeInternal _haha_default_instance_; |
89 | | PROTOBUF_NAMESPACE_OPEN |
90 | | template<> ::AddressComplex* Arena::CreateMaybeMessage<::AddressComplex>(Arena*); |
91 | | template<> ::AddressComplex_FriendEntry* Arena::CreateMaybeMessage<::AddressComplex_FriendEntry>(Arena*); |
92 | | template<> ::AddressComplex_FriendEntry_Education* Arena::CreateMaybeMessage<::AddressComplex_FriendEntry_Education>(Arena*); |
93 | | template<> ::AddressIntMap* Arena::CreateMaybeMessage<::AddressIntMap>(Arena*); |
94 | | template<> ::AddressIntMapStd* Arena::CreateMaybeMessage<::AddressIntMapStd>(Arena*); |
95 | | template<> ::AddressIntMapStd_NumbersEntry_DoNotUse* Arena::CreateMaybeMessage<::AddressIntMapStd_NumbersEntry_DoNotUse>(Arena*); |
96 | | template<> ::AddressIntMap_MapFieldEntry* Arena::CreateMaybeMessage<::AddressIntMap_MapFieldEntry>(Arena*); |
97 | | template<> ::AddressNoMap* Arena::CreateMaybeMessage<::AddressNoMap>(Arena*); |
98 | | template<> ::AddressStringMap* Arena::CreateMaybeMessage<::AddressStringMap>(Arena*); |
99 | | template<> ::AddressStringMapStd* Arena::CreateMaybeMessage<::AddressStringMapStd>(Arena*); |
100 | | template<> ::AddressStringMapStd_ContactsEntry_DoNotUse* Arena::CreateMaybeMessage<::AddressStringMapStd_ContactsEntry_DoNotUse>(Arena*); |
101 | | template<> ::AddressStringMap_MapFieldEntry* Arena::CreateMaybeMessage<::AddressStringMap_MapFieldEntry>(Arena*); |
102 | | template<> ::haha* Arena::CreateMaybeMessage<::haha>(Arena*); |
103 | | PROTOBUF_NAMESPACE_CLOSE |
104 | | |
105 | | // =================================================================== |
106 | | |
107 | | class AddressNoMap final : |
108 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AddressNoMap) */ { |
109 | | public: |
110 | 0 | inline AddressNoMap() : AddressNoMap(nullptr) {} |
111 | | ~AddressNoMap() override; |
112 | | explicit PROTOBUF_CONSTEXPR AddressNoMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
113 | | |
114 | | AddressNoMap(const AddressNoMap& from); |
115 | | AddressNoMap(AddressNoMap&& from) noexcept |
116 | 0 | : AddressNoMap() { |
117 | 0 | *this = ::std::move(from); |
118 | 0 | } |
119 | | |
120 | 0 | inline AddressNoMap& operator=(const AddressNoMap& from) { |
121 | 0 | CopyFrom(from); |
122 | 0 | return *this; |
123 | 0 | } |
124 | 0 | inline AddressNoMap& operator=(AddressNoMap&& from) noexcept { |
125 | 0 | if (this == &from) return *this; |
126 | 0 | if (GetOwningArena() == from.GetOwningArena() |
127 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
128 | 0 | && GetOwningArena() != nullptr |
129 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
130 | 0 | ) { |
131 | 0 | InternalSwap(&from); |
132 | 0 | } else { |
133 | 0 | CopyFrom(from); |
134 | 0 | } |
135 | 0 | return *this; |
136 | 0 | } |
137 | | |
138 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
139 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
140 | 0 | } |
141 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
142 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
143 | 0 | } |
144 | | |
145 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
146 | 0 | return GetDescriptor(); |
147 | 0 | } |
148 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
149 | 0 | return default_instance().GetMetadata().descriptor; |
150 | 0 | } |
151 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
152 | 0 | return default_instance().GetMetadata().reflection; |
153 | 0 | } |
154 | 0 | static const AddressNoMap& default_instance() { |
155 | 0 | return *internal_default_instance(); |
156 | 0 | } |
157 | 0 | static inline const AddressNoMap* internal_default_instance() { |
158 | 0 | return reinterpret_cast<const AddressNoMap*>( |
159 | 0 | &_AddressNoMap_default_instance_); |
160 | 0 | } |
161 | | static constexpr int kIndexInFileMessages = |
162 | | 0; |
163 | | |
164 | 0 | friend void swap(AddressNoMap& a, AddressNoMap& b) { |
165 | 0 | a.Swap(&b); |
166 | 0 | } |
167 | 0 | inline void Swap(AddressNoMap* other) { |
168 | 0 | if (other == this) return; |
169 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
170 | 0 | if (GetOwningArena() != nullptr && |
171 | 0 | GetOwningArena() == other->GetOwningArena()) { |
172 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
173 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
174 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
175 | 0 | InternalSwap(other); |
176 | 0 | } else { |
177 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
178 | 0 | } |
179 | 0 | } |
180 | 0 | void UnsafeArenaSwap(AddressNoMap* other) { |
181 | 0 | if (other == this) return; |
182 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
183 | 0 | InternalSwap(other); |
184 | 0 | } |
185 | | |
186 | | // implements Message ---------------------------------------------- |
187 | | |
188 | 0 | AddressNoMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
189 | 0 | return CreateMaybeMessage<AddressNoMap>(arena); |
190 | 0 | } |
191 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
192 | | void CopyFrom(const AddressNoMap& from); |
193 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
194 | 0 | void MergeFrom( const AddressNoMap& from) { |
195 | 0 | AddressNoMap::MergeImpl(*this, from); |
196 | 0 | } |
197 | | private: |
198 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
199 | | public: |
200 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
201 | | bool IsInitialized() const final; |
202 | | |
203 | | size_t ByteSizeLong() const final; |
204 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
205 | | uint8_t* _InternalSerialize( |
206 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
207 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
208 | | |
209 | | private: |
210 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
211 | | void SharedDtor(); |
212 | | void SetCachedSize(int size) const final; |
213 | | void InternalSwap(AddressNoMap* other); |
214 | | |
215 | | private: |
216 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
217 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
218 | 0 | return "AddressNoMap"; |
219 | 0 | } |
220 | | protected: |
221 | | explicit AddressNoMap(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
222 | | bool is_message_owned = false); |
223 | | public: |
224 | | |
225 | | static const ClassData _class_data_; |
226 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
227 | | |
228 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
229 | | |
230 | | // nested types ---------------------------------------------------- |
231 | | |
232 | | // accessors ------------------------------------------------------- |
233 | | |
234 | | enum : int { |
235 | | kAddrFieldNumber = 1, |
236 | | }; |
237 | | // required string addr = 1; |
238 | | bool has_addr() const; |
239 | | private: |
240 | | bool _internal_has_addr() const; |
241 | | public: |
242 | | void clear_addr(); |
243 | | const std::string& addr() const; |
244 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
245 | | void set_addr(ArgT0&& arg0, ArgT... args); |
246 | | std::string* mutable_addr(); |
247 | | PROTOBUF_NODISCARD std::string* release_addr(); |
248 | | void set_allocated_addr(std::string* addr); |
249 | | private: |
250 | | const std::string& _internal_addr() const; |
251 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_addr(const std::string& value); |
252 | | std::string* _internal_mutable_addr(); |
253 | | public: |
254 | | |
255 | | // @@protoc_insertion_point(class_scope:AddressNoMap) |
256 | | private: |
257 | | class _Internal; |
258 | | |
259 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
260 | | typedef void InternalArenaConstructable_; |
261 | | typedef void DestructorSkippable_; |
262 | | struct Impl_ { |
263 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
264 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
265 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addr_; |
266 | | }; |
267 | | union { Impl_ _impl_; }; |
268 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
269 | | }; |
270 | | // ------------------------------------------------------------------- |
271 | | |
272 | | class AddressIntMap_MapFieldEntry final : |
273 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AddressIntMap.MapFieldEntry) */ { |
274 | | public: |
275 | 0 | inline AddressIntMap_MapFieldEntry() : AddressIntMap_MapFieldEntry(nullptr) {} |
276 | | ~AddressIntMap_MapFieldEntry() override; |
277 | | explicit PROTOBUF_CONSTEXPR AddressIntMap_MapFieldEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
278 | | |
279 | | AddressIntMap_MapFieldEntry(const AddressIntMap_MapFieldEntry& from); |
280 | | AddressIntMap_MapFieldEntry(AddressIntMap_MapFieldEntry&& from) noexcept |
281 | 0 | : AddressIntMap_MapFieldEntry() { |
282 | 0 | *this = ::std::move(from); |
283 | 0 | } |
284 | | |
285 | 0 | inline AddressIntMap_MapFieldEntry& operator=(const AddressIntMap_MapFieldEntry& from) { |
286 | 0 | CopyFrom(from); |
287 | 0 | return *this; |
288 | 0 | } |
289 | 0 | inline AddressIntMap_MapFieldEntry& operator=(AddressIntMap_MapFieldEntry&& from) noexcept { |
290 | 0 | if (this == &from) return *this; |
291 | 0 | if (GetOwningArena() == from.GetOwningArena() |
292 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
293 | 0 | && GetOwningArena() != nullptr |
294 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
295 | 0 | ) { |
296 | 0 | InternalSwap(&from); |
297 | 0 | } else { |
298 | 0 | CopyFrom(from); |
299 | 0 | } |
300 | 0 | return *this; |
301 | 0 | } |
302 | | |
303 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
304 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
305 | 0 | } |
306 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
307 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
308 | 0 | } |
309 | | |
310 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
311 | 0 | return GetDescriptor(); |
312 | 0 | } |
313 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
314 | 0 | return default_instance().GetMetadata().descriptor; |
315 | 0 | } |
316 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
317 | 0 | return default_instance().GetMetadata().reflection; |
318 | 0 | } |
319 | 0 | static const AddressIntMap_MapFieldEntry& default_instance() { |
320 | 0 | return *internal_default_instance(); |
321 | 0 | } |
322 | 0 | static inline const AddressIntMap_MapFieldEntry* internal_default_instance() { |
323 | 0 | return reinterpret_cast<const AddressIntMap_MapFieldEntry*>( |
324 | 0 | &_AddressIntMap_MapFieldEntry_default_instance_); |
325 | 0 | } |
326 | | static constexpr int kIndexInFileMessages = |
327 | | 1; |
328 | | |
329 | 0 | friend void swap(AddressIntMap_MapFieldEntry& a, AddressIntMap_MapFieldEntry& b) { |
330 | 0 | a.Swap(&b); |
331 | 0 | } |
332 | 0 | inline void Swap(AddressIntMap_MapFieldEntry* other) { |
333 | 0 | if (other == this) return; |
334 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
335 | 0 | if (GetOwningArena() != nullptr && |
336 | 0 | GetOwningArena() == other->GetOwningArena()) { |
337 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
338 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
339 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
340 | 0 | InternalSwap(other); |
341 | 0 | } else { |
342 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
343 | 0 | } |
344 | 0 | } |
345 | 0 | void UnsafeArenaSwap(AddressIntMap_MapFieldEntry* other) { |
346 | 0 | if (other == this) return; |
347 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
348 | 0 | InternalSwap(other); |
349 | 0 | } |
350 | | |
351 | | // implements Message ---------------------------------------------- |
352 | | |
353 | 0 | AddressIntMap_MapFieldEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
354 | 0 | return CreateMaybeMessage<AddressIntMap_MapFieldEntry>(arena); |
355 | 0 | } |
356 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
357 | | void CopyFrom(const AddressIntMap_MapFieldEntry& from); |
358 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
359 | 0 | void MergeFrom( const AddressIntMap_MapFieldEntry& from) { |
360 | 0 | AddressIntMap_MapFieldEntry::MergeImpl(*this, from); |
361 | 0 | } |
362 | | private: |
363 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
364 | | public: |
365 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
366 | | bool IsInitialized() const final; |
367 | | |
368 | | size_t ByteSizeLong() const final; |
369 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
370 | | uint8_t* _InternalSerialize( |
371 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
372 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
373 | | |
374 | | private: |
375 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
376 | | void SharedDtor(); |
377 | | void SetCachedSize(int size) const final; |
378 | | void InternalSwap(AddressIntMap_MapFieldEntry* other); |
379 | | |
380 | | private: |
381 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
382 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
383 | 0 | return "AddressIntMap.MapFieldEntry"; |
384 | 0 | } |
385 | | protected: |
386 | | explicit AddressIntMap_MapFieldEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
387 | | bool is_message_owned = false); |
388 | | public: |
389 | | |
390 | | static const ClassData _class_data_; |
391 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
392 | | |
393 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
394 | | |
395 | | // nested types ---------------------------------------------------- |
396 | | |
397 | | // accessors ------------------------------------------------------- |
398 | | |
399 | | enum : int { |
400 | | kKeyFieldNumber = 1, |
401 | | kValueFieldNumber = 2, |
402 | | }; |
403 | | // required string key = 1; |
404 | | bool has_key() const; |
405 | | private: |
406 | | bool _internal_has_key() const; |
407 | | public: |
408 | | void clear_key(); |
409 | | const std::string& key() const; |
410 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
411 | | void set_key(ArgT0&& arg0, ArgT... args); |
412 | | std::string* mutable_key(); |
413 | | PROTOBUF_NODISCARD std::string* release_key(); |
414 | | void set_allocated_key(std::string* key); |
415 | | private: |
416 | | const std::string& _internal_key() const; |
417 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value); |
418 | | std::string* _internal_mutable_key(); |
419 | | public: |
420 | | |
421 | | // required int32 value = 2; |
422 | | bool has_value() const; |
423 | | private: |
424 | | bool _internal_has_value() const; |
425 | | public: |
426 | | void clear_value(); |
427 | | int32_t value() const; |
428 | | void set_value(int32_t value); |
429 | | private: |
430 | | int32_t _internal_value() const; |
431 | | void _internal_set_value(int32_t value); |
432 | | public: |
433 | | |
434 | | // @@protoc_insertion_point(class_scope:AddressIntMap.MapFieldEntry) |
435 | | private: |
436 | | class _Internal; |
437 | | |
438 | | // helper for ByteSizeLong() |
439 | | size_t RequiredFieldsByteSizeFallback() const; |
440 | | |
441 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
442 | | typedef void InternalArenaConstructable_; |
443 | | typedef void DestructorSkippable_; |
444 | | struct Impl_ { |
445 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
446 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
447 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; |
448 | | int32_t value_; |
449 | | }; |
450 | | union { Impl_ _impl_; }; |
451 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
452 | | }; |
453 | | // ------------------------------------------------------------------- |
454 | | |
455 | | class AddressIntMap final : |
456 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AddressIntMap) */ { |
457 | | public: |
458 | 0 | inline AddressIntMap() : AddressIntMap(nullptr) {} |
459 | | ~AddressIntMap() override; |
460 | | explicit PROTOBUF_CONSTEXPR AddressIntMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
461 | | |
462 | | AddressIntMap(const AddressIntMap& from); |
463 | | AddressIntMap(AddressIntMap&& from) noexcept |
464 | 0 | : AddressIntMap() { |
465 | 0 | *this = ::std::move(from); |
466 | 0 | } |
467 | | |
468 | 0 | inline AddressIntMap& operator=(const AddressIntMap& from) { |
469 | 0 | CopyFrom(from); |
470 | 0 | return *this; |
471 | 0 | } |
472 | 0 | inline AddressIntMap& operator=(AddressIntMap&& from) noexcept { |
473 | 0 | if (this == &from) return *this; |
474 | 0 | if (GetOwningArena() == from.GetOwningArena() |
475 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
476 | 0 | && GetOwningArena() != nullptr |
477 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
478 | 0 | ) { |
479 | 0 | InternalSwap(&from); |
480 | 0 | } else { |
481 | 0 | CopyFrom(from); |
482 | 0 | } |
483 | 0 | return *this; |
484 | 0 | } |
485 | | |
486 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
487 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
488 | 0 | } |
489 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
490 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
491 | 0 | } |
492 | | |
493 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
494 | 0 | return GetDescriptor(); |
495 | 0 | } |
496 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
497 | 0 | return default_instance().GetMetadata().descriptor; |
498 | 0 | } |
499 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
500 | 0 | return default_instance().GetMetadata().reflection; |
501 | 0 | } |
502 | 0 | static const AddressIntMap& default_instance() { |
503 | 0 | return *internal_default_instance(); |
504 | 0 | } |
505 | 0 | static inline const AddressIntMap* internal_default_instance() { |
506 | 0 | return reinterpret_cast<const AddressIntMap*>( |
507 | 0 | &_AddressIntMap_default_instance_); |
508 | 0 | } |
509 | | static constexpr int kIndexInFileMessages = |
510 | | 2; |
511 | | |
512 | 0 | friend void swap(AddressIntMap& a, AddressIntMap& b) { |
513 | 0 | a.Swap(&b); |
514 | 0 | } |
515 | 0 | inline void Swap(AddressIntMap* other) { |
516 | 0 | if (other == this) return; |
517 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
518 | 0 | if (GetOwningArena() != nullptr && |
519 | 0 | GetOwningArena() == other->GetOwningArena()) { |
520 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
521 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
522 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
523 | 0 | InternalSwap(other); |
524 | 0 | } else { |
525 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
526 | 0 | } |
527 | 0 | } |
528 | 0 | void UnsafeArenaSwap(AddressIntMap* other) { |
529 | 0 | if (other == this) return; |
530 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
531 | 0 | InternalSwap(other); |
532 | 0 | } |
533 | | |
534 | | // implements Message ---------------------------------------------- |
535 | | |
536 | 0 | AddressIntMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
537 | 0 | return CreateMaybeMessage<AddressIntMap>(arena); |
538 | 0 | } |
539 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
540 | | void CopyFrom(const AddressIntMap& from); |
541 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
542 | 0 | void MergeFrom( const AddressIntMap& from) { |
543 | 0 | AddressIntMap::MergeImpl(*this, from); |
544 | 0 | } |
545 | | private: |
546 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
547 | | public: |
548 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
549 | | bool IsInitialized() const final; |
550 | | |
551 | | size_t ByteSizeLong() const final; |
552 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
553 | | uint8_t* _InternalSerialize( |
554 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
555 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
556 | | |
557 | | private: |
558 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
559 | | void SharedDtor(); |
560 | | void SetCachedSize(int size) const final; |
561 | | void InternalSwap(AddressIntMap* other); |
562 | | |
563 | | private: |
564 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
565 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
566 | 0 | return "AddressIntMap"; |
567 | 0 | } |
568 | | protected: |
569 | | explicit AddressIntMap(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
570 | | bool is_message_owned = false); |
571 | | public: |
572 | | |
573 | | static const ClassData _class_data_; |
574 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
575 | | |
576 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
577 | | |
578 | | // nested types ---------------------------------------------------- |
579 | | |
580 | | typedef AddressIntMap_MapFieldEntry MapFieldEntry; |
581 | | |
582 | | // accessors ------------------------------------------------------- |
583 | | |
584 | | enum : int { |
585 | | kNumbersFieldNumber = 2, |
586 | | kAddrFieldNumber = 1, |
587 | | }; |
588 | | // repeated .AddressIntMap.MapFieldEntry numbers = 2; |
589 | | int numbers_size() const; |
590 | | private: |
591 | | int _internal_numbers_size() const; |
592 | | public: |
593 | | void clear_numbers(); |
594 | | ::AddressIntMap_MapFieldEntry* mutable_numbers(int index); |
595 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressIntMap_MapFieldEntry >* |
596 | | mutable_numbers(); |
597 | | private: |
598 | | const ::AddressIntMap_MapFieldEntry& _internal_numbers(int index) const; |
599 | | ::AddressIntMap_MapFieldEntry* _internal_add_numbers(); |
600 | | public: |
601 | | const ::AddressIntMap_MapFieldEntry& numbers(int index) const; |
602 | | ::AddressIntMap_MapFieldEntry* add_numbers(); |
603 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressIntMap_MapFieldEntry >& |
604 | | numbers() const; |
605 | | |
606 | | // required string addr = 1; |
607 | | bool has_addr() const; |
608 | | private: |
609 | | bool _internal_has_addr() const; |
610 | | public: |
611 | | void clear_addr(); |
612 | | const std::string& addr() const; |
613 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
614 | | void set_addr(ArgT0&& arg0, ArgT... args); |
615 | | std::string* mutable_addr(); |
616 | | PROTOBUF_NODISCARD std::string* release_addr(); |
617 | | void set_allocated_addr(std::string* addr); |
618 | | private: |
619 | | const std::string& _internal_addr() const; |
620 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_addr(const std::string& value); |
621 | | std::string* _internal_mutable_addr(); |
622 | | public: |
623 | | |
624 | | // @@protoc_insertion_point(class_scope:AddressIntMap) |
625 | | private: |
626 | | class _Internal; |
627 | | |
628 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
629 | | typedef void InternalArenaConstructable_; |
630 | | typedef void DestructorSkippable_; |
631 | | struct Impl_ { |
632 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
633 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
634 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressIntMap_MapFieldEntry > numbers_; |
635 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addr_; |
636 | | }; |
637 | | union { Impl_ _impl_; }; |
638 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
639 | | }; |
640 | | // ------------------------------------------------------------------- |
641 | | |
642 | | class AddressStringMap_MapFieldEntry final : |
643 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AddressStringMap.MapFieldEntry) */ { |
644 | | public: |
645 | 0 | inline AddressStringMap_MapFieldEntry() : AddressStringMap_MapFieldEntry(nullptr) {} |
646 | | ~AddressStringMap_MapFieldEntry() override; |
647 | | explicit PROTOBUF_CONSTEXPR AddressStringMap_MapFieldEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
648 | | |
649 | | AddressStringMap_MapFieldEntry(const AddressStringMap_MapFieldEntry& from); |
650 | | AddressStringMap_MapFieldEntry(AddressStringMap_MapFieldEntry&& from) noexcept |
651 | 0 | : AddressStringMap_MapFieldEntry() { |
652 | 0 | *this = ::std::move(from); |
653 | 0 | } |
654 | | |
655 | 0 | inline AddressStringMap_MapFieldEntry& operator=(const AddressStringMap_MapFieldEntry& from) { |
656 | 0 | CopyFrom(from); |
657 | 0 | return *this; |
658 | 0 | } |
659 | 0 | inline AddressStringMap_MapFieldEntry& operator=(AddressStringMap_MapFieldEntry&& from) noexcept { |
660 | 0 | if (this == &from) return *this; |
661 | 0 | if (GetOwningArena() == from.GetOwningArena() |
662 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
663 | 0 | && GetOwningArena() != nullptr |
664 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
665 | 0 | ) { |
666 | 0 | InternalSwap(&from); |
667 | 0 | } else { |
668 | 0 | CopyFrom(from); |
669 | 0 | } |
670 | 0 | return *this; |
671 | 0 | } |
672 | | |
673 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
674 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
675 | 0 | } |
676 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
677 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
678 | 0 | } |
679 | | |
680 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
681 | 0 | return GetDescriptor(); |
682 | 0 | } |
683 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
684 | 0 | return default_instance().GetMetadata().descriptor; |
685 | 0 | } |
686 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
687 | 0 | return default_instance().GetMetadata().reflection; |
688 | 0 | } |
689 | 0 | static const AddressStringMap_MapFieldEntry& default_instance() { |
690 | 0 | return *internal_default_instance(); |
691 | 0 | } |
692 | 0 | static inline const AddressStringMap_MapFieldEntry* internal_default_instance() { |
693 | 0 | return reinterpret_cast<const AddressStringMap_MapFieldEntry*>( |
694 | 0 | &_AddressStringMap_MapFieldEntry_default_instance_); |
695 | 0 | } |
696 | | static constexpr int kIndexInFileMessages = |
697 | | 3; |
698 | | |
699 | 0 | friend void swap(AddressStringMap_MapFieldEntry& a, AddressStringMap_MapFieldEntry& b) { |
700 | 0 | a.Swap(&b); |
701 | 0 | } |
702 | 0 | inline void Swap(AddressStringMap_MapFieldEntry* other) { |
703 | 0 | if (other == this) return; |
704 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
705 | 0 | if (GetOwningArena() != nullptr && |
706 | 0 | GetOwningArena() == other->GetOwningArena()) { |
707 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
708 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
709 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
710 | 0 | InternalSwap(other); |
711 | 0 | } else { |
712 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
713 | 0 | } |
714 | 0 | } |
715 | 0 | void UnsafeArenaSwap(AddressStringMap_MapFieldEntry* other) { |
716 | 0 | if (other == this) return; |
717 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
718 | 0 | InternalSwap(other); |
719 | 0 | } |
720 | | |
721 | | // implements Message ---------------------------------------------- |
722 | | |
723 | 0 | AddressStringMap_MapFieldEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
724 | 0 | return CreateMaybeMessage<AddressStringMap_MapFieldEntry>(arena); |
725 | 0 | } |
726 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
727 | | void CopyFrom(const AddressStringMap_MapFieldEntry& from); |
728 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
729 | 0 | void MergeFrom( const AddressStringMap_MapFieldEntry& from) { |
730 | 0 | AddressStringMap_MapFieldEntry::MergeImpl(*this, from); |
731 | 0 | } |
732 | | private: |
733 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
734 | | public: |
735 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
736 | | bool IsInitialized() const final; |
737 | | |
738 | | size_t ByteSizeLong() const final; |
739 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
740 | | uint8_t* _InternalSerialize( |
741 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
742 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
743 | | |
744 | | private: |
745 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
746 | | void SharedDtor(); |
747 | | void SetCachedSize(int size) const final; |
748 | | void InternalSwap(AddressStringMap_MapFieldEntry* other); |
749 | | |
750 | | private: |
751 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
752 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
753 | 0 | return "AddressStringMap.MapFieldEntry"; |
754 | 0 | } |
755 | | protected: |
756 | | explicit AddressStringMap_MapFieldEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
757 | | bool is_message_owned = false); |
758 | | public: |
759 | | |
760 | | static const ClassData _class_data_; |
761 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
762 | | |
763 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
764 | | |
765 | | // nested types ---------------------------------------------------- |
766 | | |
767 | | // accessors ------------------------------------------------------- |
768 | | |
769 | | enum : int { |
770 | | kKeyFieldNumber = 1, |
771 | | kValueFieldNumber = 2, |
772 | | }; |
773 | | // required string key = 1; |
774 | | bool has_key() const; |
775 | | private: |
776 | | bool _internal_has_key() const; |
777 | | public: |
778 | | void clear_key(); |
779 | | const std::string& key() const; |
780 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
781 | | void set_key(ArgT0&& arg0, ArgT... args); |
782 | | std::string* mutable_key(); |
783 | | PROTOBUF_NODISCARD std::string* release_key(); |
784 | | void set_allocated_key(std::string* key); |
785 | | private: |
786 | | const std::string& _internal_key() const; |
787 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value); |
788 | | std::string* _internal_mutable_key(); |
789 | | public: |
790 | | |
791 | | // required string value = 2; |
792 | | bool has_value() const; |
793 | | private: |
794 | | bool _internal_has_value() const; |
795 | | public: |
796 | | void clear_value(); |
797 | | const std::string& value() const; |
798 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
799 | | void set_value(ArgT0&& arg0, ArgT... args); |
800 | | std::string* mutable_value(); |
801 | | PROTOBUF_NODISCARD std::string* release_value(); |
802 | | void set_allocated_value(std::string* value); |
803 | | private: |
804 | | const std::string& _internal_value() const; |
805 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); |
806 | | std::string* _internal_mutable_value(); |
807 | | public: |
808 | | |
809 | | // @@protoc_insertion_point(class_scope:AddressStringMap.MapFieldEntry) |
810 | | private: |
811 | | class _Internal; |
812 | | |
813 | | // helper for ByteSizeLong() |
814 | | size_t RequiredFieldsByteSizeFallback() const; |
815 | | |
816 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
817 | | typedef void InternalArenaConstructable_; |
818 | | typedef void DestructorSkippable_; |
819 | | struct Impl_ { |
820 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
821 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
822 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; |
823 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; |
824 | | }; |
825 | | union { Impl_ _impl_; }; |
826 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
827 | | }; |
828 | | // ------------------------------------------------------------------- |
829 | | |
830 | | class AddressStringMap final : |
831 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AddressStringMap) */ { |
832 | | public: |
833 | 0 | inline AddressStringMap() : AddressStringMap(nullptr) {} |
834 | | ~AddressStringMap() override; |
835 | | explicit PROTOBUF_CONSTEXPR AddressStringMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
836 | | |
837 | | AddressStringMap(const AddressStringMap& from); |
838 | | AddressStringMap(AddressStringMap&& from) noexcept |
839 | 0 | : AddressStringMap() { |
840 | 0 | *this = ::std::move(from); |
841 | 0 | } |
842 | | |
843 | 0 | inline AddressStringMap& operator=(const AddressStringMap& from) { |
844 | 0 | CopyFrom(from); |
845 | 0 | return *this; |
846 | 0 | } |
847 | 0 | inline AddressStringMap& operator=(AddressStringMap&& from) noexcept { |
848 | 0 | if (this == &from) return *this; |
849 | 0 | if (GetOwningArena() == from.GetOwningArena() |
850 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
851 | 0 | && GetOwningArena() != nullptr |
852 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
853 | 0 | ) { |
854 | 0 | InternalSwap(&from); |
855 | 0 | } else { |
856 | 0 | CopyFrom(from); |
857 | 0 | } |
858 | 0 | return *this; |
859 | 0 | } |
860 | | |
861 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
862 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
863 | 0 | } |
864 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
865 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
866 | 0 | } |
867 | | |
868 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
869 | 0 | return GetDescriptor(); |
870 | 0 | } |
871 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
872 | 0 | return default_instance().GetMetadata().descriptor; |
873 | 0 | } |
874 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
875 | 0 | return default_instance().GetMetadata().reflection; |
876 | 0 | } |
877 | 0 | static const AddressStringMap& default_instance() { |
878 | 0 | return *internal_default_instance(); |
879 | 0 | } |
880 | 0 | static inline const AddressStringMap* internal_default_instance() { |
881 | 0 | return reinterpret_cast<const AddressStringMap*>( |
882 | 0 | &_AddressStringMap_default_instance_); |
883 | 0 | } |
884 | | static constexpr int kIndexInFileMessages = |
885 | | 4; |
886 | | |
887 | 0 | friend void swap(AddressStringMap& a, AddressStringMap& b) { |
888 | 0 | a.Swap(&b); |
889 | 0 | } |
890 | 0 | inline void Swap(AddressStringMap* other) { |
891 | 0 | if (other == this) return; |
892 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
893 | 0 | if (GetOwningArena() != nullptr && |
894 | 0 | GetOwningArena() == other->GetOwningArena()) { |
895 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
896 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
897 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
898 | 0 | InternalSwap(other); |
899 | 0 | } else { |
900 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
901 | 0 | } |
902 | 0 | } |
903 | 0 | void UnsafeArenaSwap(AddressStringMap* other) { |
904 | 0 | if (other == this) return; |
905 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
906 | 0 | InternalSwap(other); |
907 | 0 | } |
908 | | |
909 | | // implements Message ---------------------------------------------- |
910 | | |
911 | 0 | AddressStringMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
912 | 0 | return CreateMaybeMessage<AddressStringMap>(arena); |
913 | 0 | } |
914 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
915 | | void CopyFrom(const AddressStringMap& from); |
916 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
917 | 0 | void MergeFrom( const AddressStringMap& from) { |
918 | 0 | AddressStringMap::MergeImpl(*this, from); |
919 | 0 | } |
920 | | private: |
921 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
922 | | public: |
923 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
924 | | bool IsInitialized() const final; |
925 | | |
926 | | size_t ByteSizeLong() const final; |
927 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
928 | | uint8_t* _InternalSerialize( |
929 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
930 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
931 | | |
932 | | private: |
933 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
934 | | void SharedDtor(); |
935 | | void SetCachedSize(int size) const final; |
936 | | void InternalSwap(AddressStringMap* other); |
937 | | |
938 | | private: |
939 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
940 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
941 | 0 | return "AddressStringMap"; |
942 | 0 | } |
943 | | protected: |
944 | | explicit AddressStringMap(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
945 | | bool is_message_owned = false); |
946 | | public: |
947 | | |
948 | | static const ClassData _class_data_; |
949 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
950 | | |
951 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
952 | | |
953 | | // nested types ---------------------------------------------------- |
954 | | |
955 | | typedef AddressStringMap_MapFieldEntry MapFieldEntry; |
956 | | |
957 | | // accessors ------------------------------------------------------- |
958 | | |
959 | | enum : int { |
960 | | kContactsFieldNumber = 2, |
961 | | kAddrFieldNumber = 1, |
962 | | }; |
963 | | // repeated .AddressStringMap.MapFieldEntry contacts = 2; |
964 | | int contacts_size() const; |
965 | | private: |
966 | | int _internal_contacts_size() const; |
967 | | public: |
968 | | void clear_contacts(); |
969 | | ::AddressStringMap_MapFieldEntry* mutable_contacts(int index); |
970 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressStringMap_MapFieldEntry >* |
971 | | mutable_contacts(); |
972 | | private: |
973 | | const ::AddressStringMap_MapFieldEntry& _internal_contacts(int index) const; |
974 | | ::AddressStringMap_MapFieldEntry* _internal_add_contacts(); |
975 | | public: |
976 | | const ::AddressStringMap_MapFieldEntry& contacts(int index) const; |
977 | | ::AddressStringMap_MapFieldEntry* add_contacts(); |
978 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressStringMap_MapFieldEntry >& |
979 | | contacts() const; |
980 | | |
981 | | // required string addr = 1; |
982 | | bool has_addr() const; |
983 | | private: |
984 | | bool _internal_has_addr() const; |
985 | | public: |
986 | | void clear_addr(); |
987 | | const std::string& addr() const; |
988 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
989 | | void set_addr(ArgT0&& arg0, ArgT... args); |
990 | | std::string* mutable_addr(); |
991 | | PROTOBUF_NODISCARD std::string* release_addr(); |
992 | | void set_allocated_addr(std::string* addr); |
993 | | private: |
994 | | const std::string& _internal_addr() const; |
995 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_addr(const std::string& value); |
996 | | std::string* _internal_mutable_addr(); |
997 | | public: |
998 | | |
999 | | // @@protoc_insertion_point(class_scope:AddressStringMap) |
1000 | | private: |
1001 | | class _Internal; |
1002 | | |
1003 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1004 | | typedef void InternalArenaConstructable_; |
1005 | | typedef void DestructorSkippable_; |
1006 | | struct Impl_ { |
1007 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1008 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1009 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressStringMap_MapFieldEntry > contacts_; |
1010 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addr_; |
1011 | | }; |
1012 | | union { Impl_ _impl_; }; |
1013 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
1014 | | }; |
1015 | | // ------------------------------------------------------------------- |
1016 | | |
1017 | | class AddressComplex_FriendEntry_Education final : |
1018 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AddressComplex.FriendEntry.Education) */ { |
1019 | | public: |
1020 | 0 | inline AddressComplex_FriendEntry_Education() : AddressComplex_FriendEntry_Education(nullptr) {} |
1021 | | ~AddressComplex_FriendEntry_Education() override; |
1022 | | explicit PROTOBUF_CONSTEXPR AddressComplex_FriendEntry_Education(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1023 | | |
1024 | | AddressComplex_FriendEntry_Education(const AddressComplex_FriendEntry_Education& from); |
1025 | | AddressComplex_FriendEntry_Education(AddressComplex_FriendEntry_Education&& from) noexcept |
1026 | 0 | : AddressComplex_FriendEntry_Education() { |
1027 | 0 | *this = ::std::move(from); |
1028 | 0 | } |
1029 | | |
1030 | 0 | inline AddressComplex_FriendEntry_Education& operator=(const AddressComplex_FriendEntry_Education& from) { |
1031 | 0 | CopyFrom(from); |
1032 | 0 | return *this; |
1033 | 0 | } |
1034 | 0 | inline AddressComplex_FriendEntry_Education& operator=(AddressComplex_FriendEntry_Education&& from) noexcept { |
1035 | 0 | if (this == &from) return *this; |
1036 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1037 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1038 | 0 | && GetOwningArena() != nullptr |
1039 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1040 | 0 | ) { |
1041 | 0 | InternalSwap(&from); |
1042 | 0 | } else { |
1043 | 0 | CopyFrom(from); |
1044 | 0 | } |
1045 | 0 | return *this; |
1046 | 0 | } |
1047 | | |
1048 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1049 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1050 | 0 | } |
1051 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1052 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1053 | 0 | } |
1054 | | |
1055 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1056 | 0 | return GetDescriptor(); |
1057 | 0 | } |
1058 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1059 | 0 | return default_instance().GetMetadata().descriptor; |
1060 | 0 | } |
1061 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1062 | 0 | return default_instance().GetMetadata().reflection; |
1063 | 0 | } |
1064 | 0 | static const AddressComplex_FriendEntry_Education& default_instance() { |
1065 | 0 | return *internal_default_instance(); |
1066 | 0 | } |
1067 | 0 | static inline const AddressComplex_FriendEntry_Education* internal_default_instance() { |
1068 | 0 | return reinterpret_cast<const AddressComplex_FriendEntry_Education*>( |
1069 | 0 | &_AddressComplex_FriendEntry_Education_default_instance_); |
1070 | 0 | } |
1071 | | static constexpr int kIndexInFileMessages = |
1072 | | 5; |
1073 | | |
1074 | 0 | friend void swap(AddressComplex_FriendEntry_Education& a, AddressComplex_FriendEntry_Education& b) { |
1075 | 0 | a.Swap(&b); |
1076 | 0 | } |
1077 | 0 | inline void Swap(AddressComplex_FriendEntry_Education* other) { |
1078 | 0 | if (other == this) return; |
1079 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1080 | 0 | if (GetOwningArena() != nullptr && |
1081 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1082 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1083 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1084 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1085 | 0 | InternalSwap(other); |
1086 | 0 | } else { |
1087 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1088 | 0 | } |
1089 | 0 | } |
1090 | 0 | void UnsafeArenaSwap(AddressComplex_FriendEntry_Education* other) { |
1091 | 0 | if (other == this) return; |
1092 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1093 | 0 | InternalSwap(other); |
1094 | 0 | } |
1095 | | |
1096 | | // implements Message ---------------------------------------------- |
1097 | | |
1098 | 0 | AddressComplex_FriendEntry_Education* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1099 | 0 | return CreateMaybeMessage<AddressComplex_FriendEntry_Education>(arena); |
1100 | 0 | } |
1101 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1102 | | void CopyFrom(const AddressComplex_FriendEntry_Education& from); |
1103 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1104 | 0 | void MergeFrom( const AddressComplex_FriendEntry_Education& from) { |
1105 | 0 | AddressComplex_FriendEntry_Education::MergeImpl(*this, from); |
1106 | 0 | } |
1107 | | private: |
1108 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1109 | | public: |
1110 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1111 | | bool IsInitialized() const final; |
1112 | | |
1113 | | size_t ByteSizeLong() const final; |
1114 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1115 | | uint8_t* _InternalSerialize( |
1116 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1117 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1118 | | |
1119 | | private: |
1120 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1121 | | void SharedDtor(); |
1122 | | void SetCachedSize(int size) const final; |
1123 | | void InternalSwap(AddressComplex_FriendEntry_Education* other); |
1124 | | |
1125 | | private: |
1126 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1127 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1128 | 0 | return "AddressComplex.FriendEntry.Education"; |
1129 | 0 | } |
1130 | | protected: |
1131 | | explicit AddressComplex_FriendEntry_Education(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1132 | | bool is_message_owned = false); |
1133 | | public: |
1134 | | |
1135 | | static const ClassData _class_data_; |
1136 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1137 | | |
1138 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1139 | | |
1140 | | // nested types ---------------------------------------------------- |
1141 | | |
1142 | | // accessors ------------------------------------------------------- |
1143 | | |
1144 | | enum : int { |
1145 | | kSchoolFieldNumber = 1, |
1146 | | kYearFieldNumber = 2, |
1147 | | }; |
1148 | | // required string school = 1; |
1149 | | bool has_school() const; |
1150 | | private: |
1151 | | bool _internal_has_school() const; |
1152 | | public: |
1153 | | void clear_school(); |
1154 | | const std::string& school() const; |
1155 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1156 | | void set_school(ArgT0&& arg0, ArgT... args); |
1157 | | std::string* mutable_school(); |
1158 | | PROTOBUF_NODISCARD std::string* release_school(); |
1159 | | void set_allocated_school(std::string* school); |
1160 | | private: |
1161 | | const std::string& _internal_school() const; |
1162 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_school(const std::string& value); |
1163 | | std::string* _internal_mutable_school(); |
1164 | | public: |
1165 | | |
1166 | | // required int32 year = 2; |
1167 | | bool has_year() const; |
1168 | | private: |
1169 | | bool _internal_has_year() const; |
1170 | | public: |
1171 | | void clear_year(); |
1172 | | int32_t year() const; |
1173 | | void set_year(int32_t value); |
1174 | | private: |
1175 | | int32_t _internal_year() const; |
1176 | | void _internal_set_year(int32_t value); |
1177 | | public: |
1178 | | |
1179 | | // @@protoc_insertion_point(class_scope:AddressComplex.FriendEntry.Education) |
1180 | | private: |
1181 | | class _Internal; |
1182 | | |
1183 | | // helper for ByteSizeLong() |
1184 | | size_t RequiredFieldsByteSizeFallback() const; |
1185 | | |
1186 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1187 | | typedef void InternalArenaConstructable_; |
1188 | | typedef void DestructorSkippable_; |
1189 | | struct Impl_ { |
1190 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1191 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1192 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr school_; |
1193 | | int32_t year_; |
1194 | | }; |
1195 | | union { Impl_ _impl_; }; |
1196 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
1197 | | }; |
1198 | | // ------------------------------------------------------------------- |
1199 | | |
1200 | | class AddressComplex_FriendEntry final : |
1201 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AddressComplex.FriendEntry) */ { |
1202 | | public: |
1203 | 0 | inline AddressComplex_FriendEntry() : AddressComplex_FriendEntry(nullptr) {} |
1204 | | ~AddressComplex_FriendEntry() override; |
1205 | | explicit PROTOBUF_CONSTEXPR AddressComplex_FriendEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1206 | | |
1207 | | AddressComplex_FriendEntry(const AddressComplex_FriendEntry& from); |
1208 | | AddressComplex_FriendEntry(AddressComplex_FriendEntry&& from) noexcept |
1209 | 0 | : AddressComplex_FriendEntry() { |
1210 | 0 | *this = ::std::move(from); |
1211 | 0 | } |
1212 | | |
1213 | 0 | inline AddressComplex_FriendEntry& operator=(const AddressComplex_FriendEntry& from) { |
1214 | 0 | CopyFrom(from); |
1215 | 0 | return *this; |
1216 | 0 | } |
1217 | 0 | inline AddressComplex_FriendEntry& operator=(AddressComplex_FriendEntry&& from) noexcept { |
1218 | 0 | if (this == &from) return *this; |
1219 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1220 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1221 | 0 | && GetOwningArena() != nullptr |
1222 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1223 | 0 | ) { |
1224 | 0 | InternalSwap(&from); |
1225 | 0 | } else { |
1226 | 0 | CopyFrom(from); |
1227 | 0 | } |
1228 | 0 | return *this; |
1229 | 0 | } |
1230 | | |
1231 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1232 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1233 | 0 | } |
1234 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1235 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1236 | 0 | } |
1237 | | |
1238 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1239 | 0 | return GetDescriptor(); |
1240 | 0 | } |
1241 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1242 | 0 | return default_instance().GetMetadata().descriptor; |
1243 | 0 | } |
1244 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1245 | 0 | return default_instance().GetMetadata().reflection; |
1246 | 0 | } |
1247 | 0 | static const AddressComplex_FriendEntry& default_instance() { |
1248 | 0 | return *internal_default_instance(); |
1249 | 0 | } |
1250 | 0 | static inline const AddressComplex_FriendEntry* internal_default_instance() { |
1251 | 0 | return reinterpret_cast<const AddressComplex_FriendEntry*>( |
1252 | 0 | &_AddressComplex_FriendEntry_default_instance_); |
1253 | 0 | } |
1254 | | static constexpr int kIndexInFileMessages = |
1255 | | 6; |
1256 | | |
1257 | 0 | friend void swap(AddressComplex_FriendEntry& a, AddressComplex_FriendEntry& b) { |
1258 | 0 | a.Swap(&b); |
1259 | 0 | } |
1260 | 0 | inline void Swap(AddressComplex_FriendEntry* other) { |
1261 | 0 | if (other == this) return; |
1262 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1263 | 0 | if (GetOwningArena() != nullptr && |
1264 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1265 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1266 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1267 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1268 | 0 | InternalSwap(other); |
1269 | 0 | } else { |
1270 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1271 | 0 | } |
1272 | 0 | } |
1273 | 0 | void UnsafeArenaSwap(AddressComplex_FriendEntry* other) { |
1274 | 0 | if (other == this) return; |
1275 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1276 | 0 | InternalSwap(other); |
1277 | 0 | } |
1278 | | |
1279 | | // implements Message ---------------------------------------------- |
1280 | | |
1281 | 0 | AddressComplex_FriendEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1282 | 0 | return CreateMaybeMessage<AddressComplex_FriendEntry>(arena); |
1283 | 0 | } |
1284 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1285 | | void CopyFrom(const AddressComplex_FriendEntry& from); |
1286 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1287 | 0 | void MergeFrom( const AddressComplex_FriendEntry& from) { |
1288 | 0 | AddressComplex_FriendEntry::MergeImpl(*this, from); |
1289 | 0 | } |
1290 | | private: |
1291 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1292 | | public: |
1293 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1294 | | bool IsInitialized() const final; |
1295 | | |
1296 | | size_t ByteSizeLong() const final; |
1297 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1298 | | uint8_t* _InternalSerialize( |
1299 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1300 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1301 | | |
1302 | | private: |
1303 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1304 | | void SharedDtor(); |
1305 | | void SetCachedSize(int size) const final; |
1306 | | void InternalSwap(AddressComplex_FriendEntry* other); |
1307 | | |
1308 | | private: |
1309 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1310 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1311 | 0 | return "AddressComplex.FriendEntry"; |
1312 | 0 | } |
1313 | | protected: |
1314 | | explicit AddressComplex_FriendEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1315 | | bool is_message_owned = false); |
1316 | | public: |
1317 | | |
1318 | | static const ClassData _class_data_; |
1319 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1320 | | |
1321 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1322 | | |
1323 | | // nested types ---------------------------------------------------- |
1324 | | |
1325 | | typedef AddressComplex_FriendEntry_Education Education; |
1326 | | |
1327 | | // accessors ------------------------------------------------------- |
1328 | | |
1329 | | enum : int { |
1330 | | kValueFieldNumber = 2, |
1331 | | kKeyFieldNumber = 1, |
1332 | | }; |
1333 | | // repeated .AddressComplex.FriendEntry.Education value = 2; |
1334 | | int value_size() const; |
1335 | | private: |
1336 | | int _internal_value_size() const; |
1337 | | public: |
1338 | | void clear_value(); |
1339 | | ::AddressComplex_FriendEntry_Education* mutable_value(int index); |
1340 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressComplex_FriendEntry_Education >* |
1341 | | mutable_value(); |
1342 | | private: |
1343 | | const ::AddressComplex_FriendEntry_Education& _internal_value(int index) const; |
1344 | | ::AddressComplex_FriendEntry_Education* _internal_add_value(); |
1345 | | public: |
1346 | | const ::AddressComplex_FriendEntry_Education& value(int index) const; |
1347 | | ::AddressComplex_FriendEntry_Education* add_value(); |
1348 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressComplex_FriendEntry_Education >& |
1349 | | value() const; |
1350 | | |
1351 | | // required string key = 1; |
1352 | | bool has_key() const; |
1353 | | private: |
1354 | | bool _internal_has_key() const; |
1355 | | public: |
1356 | | void clear_key(); |
1357 | | const std::string& key() const; |
1358 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1359 | | void set_key(ArgT0&& arg0, ArgT... args); |
1360 | | std::string* mutable_key(); |
1361 | | PROTOBUF_NODISCARD std::string* release_key(); |
1362 | | void set_allocated_key(std::string* key); |
1363 | | private: |
1364 | | const std::string& _internal_key() const; |
1365 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value); |
1366 | | std::string* _internal_mutable_key(); |
1367 | | public: |
1368 | | |
1369 | | // @@protoc_insertion_point(class_scope:AddressComplex.FriendEntry) |
1370 | | private: |
1371 | | class _Internal; |
1372 | | |
1373 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1374 | | typedef void InternalArenaConstructable_; |
1375 | | typedef void DestructorSkippable_; |
1376 | | struct Impl_ { |
1377 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1378 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1379 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressComplex_FriendEntry_Education > value_; |
1380 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; |
1381 | | }; |
1382 | | union { Impl_ _impl_; }; |
1383 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
1384 | | }; |
1385 | | // ------------------------------------------------------------------- |
1386 | | |
1387 | | class AddressComplex final : |
1388 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AddressComplex) */ { |
1389 | | public: |
1390 | 0 | inline AddressComplex() : AddressComplex(nullptr) {} |
1391 | | ~AddressComplex() override; |
1392 | | explicit PROTOBUF_CONSTEXPR AddressComplex(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1393 | | |
1394 | | AddressComplex(const AddressComplex& from); |
1395 | | AddressComplex(AddressComplex&& from) noexcept |
1396 | 0 | : AddressComplex() { |
1397 | 0 | *this = ::std::move(from); |
1398 | 0 | } |
1399 | | |
1400 | 0 | inline AddressComplex& operator=(const AddressComplex& from) { |
1401 | 0 | CopyFrom(from); |
1402 | 0 | return *this; |
1403 | 0 | } |
1404 | 0 | inline AddressComplex& operator=(AddressComplex&& from) noexcept { |
1405 | 0 | if (this == &from) return *this; |
1406 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1407 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1408 | 0 | && GetOwningArena() != nullptr |
1409 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1410 | 0 | ) { |
1411 | 0 | InternalSwap(&from); |
1412 | 0 | } else { |
1413 | 0 | CopyFrom(from); |
1414 | 0 | } |
1415 | 0 | return *this; |
1416 | 0 | } |
1417 | | |
1418 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1419 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1420 | 0 | } |
1421 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1422 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1423 | 0 | } |
1424 | | |
1425 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1426 | 0 | return GetDescriptor(); |
1427 | 0 | } |
1428 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1429 | 0 | return default_instance().GetMetadata().descriptor; |
1430 | 0 | } |
1431 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1432 | 0 | return default_instance().GetMetadata().reflection; |
1433 | 0 | } |
1434 | 0 | static const AddressComplex& default_instance() { |
1435 | 0 | return *internal_default_instance(); |
1436 | 0 | } |
1437 | 0 | static inline const AddressComplex* internal_default_instance() { |
1438 | 0 | return reinterpret_cast<const AddressComplex*>( |
1439 | 0 | &_AddressComplex_default_instance_); |
1440 | 0 | } |
1441 | | static constexpr int kIndexInFileMessages = |
1442 | | 7; |
1443 | | |
1444 | 0 | friend void swap(AddressComplex& a, AddressComplex& b) { |
1445 | 0 | a.Swap(&b); |
1446 | 0 | } |
1447 | 0 | inline void Swap(AddressComplex* other) { |
1448 | 0 | if (other == this) return; |
1449 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1450 | 0 | if (GetOwningArena() != nullptr && |
1451 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1452 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1453 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1454 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1455 | 0 | InternalSwap(other); |
1456 | 0 | } else { |
1457 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1458 | 0 | } |
1459 | 0 | } |
1460 | 0 | void UnsafeArenaSwap(AddressComplex* other) { |
1461 | 0 | if (other == this) return; |
1462 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1463 | 0 | InternalSwap(other); |
1464 | 0 | } |
1465 | | |
1466 | | // implements Message ---------------------------------------------- |
1467 | | |
1468 | 0 | AddressComplex* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1469 | 0 | return CreateMaybeMessage<AddressComplex>(arena); |
1470 | 0 | } |
1471 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1472 | | void CopyFrom(const AddressComplex& from); |
1473 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1474 | 0 | void MergeFrom( const AddressComplex& from) { |
1475 | 0 | AddressComplex::MergeImpl(*this, from); |
1476 | 0 | } |
1477 | | private: |
1478 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1479 | | public: |
1480 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1481 | | bool IsInitialized() const final; |
1482 | | |
1483 | | size_t ByteSizeLong() const final; |
1484 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1485 | | uint8_t* _InternalSerialize( |
1486 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1487 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1488 | | |
1489 | | private: |
1490 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1491 | | void SharedDtor(); |
1492 | | void SetCachedSize(int size) const final; |
1493 | | void InternalSwap(AddressComplex* other); |
1494 | | |
1495 | | private: |
1496 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1497 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1498 | 0 | return "AddressComplex"; |
1499 | 0 | } |
1500 | | protected: |
1501 | | explicit AddressComplex(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1502 | | bool is_message_owned = false); |
1503 | | public: |
1504 | | |
1505 | | static const ClassData _class_data_; |
1506 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1507 | | |
1508 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1509 | | |
1510 | | // nested types ---------------------------------------------------- |
1511 | | |
1512 | | typedef AddressComplex_FriendEntry FriendEntry; |
1513 | | |
1514 | | // accessors ------------------------------------------------------- |
1515 | | |
1516 | | enum : int { |
1517 | | kFriendsFieldNumber = 2, |
1518 | | kAddrFieldNumber = 1, |
1519 | | }; |
1520 | | // repeated .AddressComplex.FriendEntry friends = 2; |
1521 | | int friends_size() const; |
1522 | | private: |
1523 | | int _internal_friends_size() const; |
1524 | | public: |
1525 | | void clear_friends(); |
1526 | | ::AddressComplex_FriendEntry* mutable_friends(int index); |
1527 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressComplex_FriendEntry >* |
1528 | | mutable_friends(); |
1529 | | private: |
1530 | | const ::AddressComplex_FriendEntry& _internal_friends(int index) const; |
1531 | | ::AddressComplex_FriendEntry* _internal_add_friends(); |
1532 | | public: |
1533 | | const ::AddressComplex_FriendEntry& friends(int index) const; |
1534 | | ::AddressComplex_FriendEntry* add_friends(); |
1535 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressComplex_FriendEntry >& |
1536 | | friends() const; |
1537 | | |
1538 | | // required string addr = 1; |
1539 | | bool has_addr() const; |
1540 | | private: |
1541 | | bool _internal_has_addr() const; |
1542 | | public: |
1543 | | void clear_addr(); |
1544 | | const std::string& addr() const; |
1545 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1546 | | void set_addr(ArgT0&& arg0, ArgT... args); |
1547 | | std::string* mutable_addr(); |
1548 | | PROTOBUF_NODISCARD std::string* release_addr(); |
1549 | | void set_allocated_addr(std::string* addr); |
1550 | | private: |
1551 | | const std::string& _internal_addr() const; |
1552 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_addr(const std::string& value); |
1553 | | std::string* _internal_mutable_addr(); |
1554 | | public: |
1555 | | |
1556 | | // @@protoc_insertion_point(class_scope:AddressComplex) |
1557 | | private: |
1558 | | class _Internal; |
1559 | | |
1560 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1561 | | typedef void InternalArenaConstructable_; |
1562 | | typedef void DestructorSkippable_; |
1563 | | struct Impl_ { |
1564 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1565 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1566 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressComplex_FriendEntry > friends_; |
1567 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addr_; |
1568 | | }; |
1569 | | union { Impl_ _impl_; }; |
1570 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
1571 | | }; |
1572 | | // ------------------------------------------------------------------- |
1573 | | |
1574 | | class AddressIntMapStd_NumbersEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<AddressIntMapStd_NumbersEntry_DoNotUse, |
1575 | | std::string, int32_t, |
1576 | | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, |
1577 | | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32> { |
1578 | | public: |
1579 | | typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<AddressIntMapStd_NumbersEntry_DoNotUse, |
1580 | | std::string, int32_t, |
1581 | | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, |
1582 | | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32> SuperType; |
1583 | | AddressIntMapStd_NumbersEntry_DoNotUse(); |
1584 | | explicit PROTOBUF_CONSTEXPR AddressIntMapStd_NumbersEntry_DoNotUse( |
1585 | | ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1586 | | explicit AddressIntMapStd_NumbersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1587 | | void MergeFrom(const AddressIntMapStd_NumbersEntry_DoNotUse& other); |
1588 | 0 | static const AddressIntMapStd_NumbersEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const AddressIntMapStd_NumbersEntry_DoNotUse*>(&_AddressIntMapStd_NumbersEntry_DoNotUse_default_instance_); } |
1589 | 0 | static bool ValidateKey(std::string* s) { |
1590 | 0 | #ifndef NDEBUG |
1591 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
1592 | 0 | s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "AddressIntMapStd.NumbersEntry.key"); |
1593 | | #else |
1594 | | (void) s; |
1595 | | #endif |
1596 | 0 | return true; |
1597 | 0 | } |
1598 | 0 | static bool ValidateValue(void*) { return true; } |
1599 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1600 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1601 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
1602 | | }; |
1603 | | |
1604 | | // ------------------------------------------------------------------- |
1605 | | |
1606 | | class AddressIntMapStd final : |
1607 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AddressIntMapStd) */ { |
1608 | | public: |
1609 | 0 | inline AddressIntMapStd() : AddressIntMapStd(nullptr) {} |
1610 | | ~AddressIntMapStd() override; |
1611 | | explicit PROTOBUF_CONSTEXPR AddressIntMapStd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1612 | | |
1613 | | AddressIntMapStd(const AddressIntMapStd& from); |
1614 | | AddressIntMapStd(AddressIntMapStd&& from) noexcept |
1615 | 0 | : AddressIntMapStd() { |
1616 | 0 | *this = ::std::move(from); |
1617 | 0 | } |
1618 | | |
1619 | 0 | inline AddressIntMapStd& operator=(const AddressIntMapStd& from) { |
1620 | 0 | CopyFrom(from); |
1621 | 0 | return *this; |
1622 | 0 | } |
1623 | 0 | inline AddressIntMapStd& operator=(AddressIntMapStd&& from) noexcept { |
1624 | 0 | if (this == &from) return *this; |
1625 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1626 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1627 | 0 | && GetOwningArena() != nullptr |
1628 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1629 | 0 | ) { |
1630 | 0 | InternalSwap(&from); |
1631 | 0 | } else { |
1632 | 0 | CopyFrom(from); |
1633 | 0 | } |
1634 | 0 | return *this; |
1635 | 0 | } |
1636 | | |
1637 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1638 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1639 | 0 | } |
1640 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1641 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1642 | 0 | } |
1643 | | |
1644 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1645 | 0 | return GetDescriptor(); |
1646 | 0 | } |
1647 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1648 | 0 | return default_instance().GetMetadata().descriptor; |
1649 | 0 | } |
1650 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1651 | 0 | return default_instance().GetMetadata().reflection; |
1652 | 0 | } |
1653 | 0 | static const AddressIntMapStd& default_instance() { |
1654 | 0 | return *internal_default_instance(); |
1655 | 0 | } |
1656 | 0 | static inline const AddressIntMapStd* internal_default_instance() { |
1657 | 0 | return reinterpret_cast<const AddressIntMapStd*>( |
1658 | 0 | &_AddressIntMapStd_default_instance_); |
1659 | 0 | } |
1660 | | static constexpr int kIndexInFileMessages = |
1661 | | 9; |
1662 | | |
1663 | 0 | friend void swap(AddressIntMapStd& a, AddressIntMapStd& b) { |
1664 | 0 | a.Swap(&b); |
1665 | 0 | } |
1666 | 0 | inline void Swap(AddressIntMapStd* other) { |
1667 | 0 | if (other == this) return; |
1668 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1669 | 0 | if (GetOwningArena() != nullptr && |
1670 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1671 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1672 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1673 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1674 | 0 | InternalSwap(other); |
1675 | 0 | } else { |
1676 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1677 | 0 | } |
1678 | 0 | } |
1679 | 0 | void UnsafeArenaSwap(AddressIntMapStd* other) { |
1680 | 0 | if (other == this) return; |
1681 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1682 | 0 | InternalSwap(other); |
1683 | 0 | } |
1684 | | |
1685 | | // implements Message ---------------------------------------------- |
1686 | | |
1687 | 0 | AddressIntMapStd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1688 | 0 | return CreateMaybeMessage<AddressIntMapStd>(arena); |
1689 | 0 | } |
1690 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1691 | | void CopyFrom(const AddressIntMapStd& from); |
1692 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1693 | 0 | void MergeFrom( const AddressIntMapStd& from) { |
1694 | 0 | AddressIntMapStd::MergeImpl(*this, from); |
1695 | 0 | } |
1696 | | private: |
1697 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1698 | | public: |
1699 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1700 | | bool IsInitialized() const final; |
1701 | | |
1702 | | size_t ByteSizeLong() const final; |
1703 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1704 | | uint8_t* _InternalSerialize( |
1705 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1706 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1707 | | |
1708 | | private: |
1709 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1710 | | void SharedDtor(); |
1711 | | void SetCachedSize(int size) const final; |
1712 | | void InternalSwap(AddressIntMapStd* other); |
1713 | | |
1714 | | private: |
1715 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1716 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1717 | 0 | return "AddressIntMapStd"; |
1718 | 0 | } |
1719 | | protected: |
1720 | | explicit AddressIntMapStd(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1721 | | bool is_message_owned = false); |
1722 | | private: |
1723 | | static void ArenaDtor(void* object); |
1724 | | public: |
1725 | | |
1726 | | static const ClassData _class_data_; |
1727 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1728 | | |
1729 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1730 | | |
1731 | | // nested types ---------------------------------------------------- |
1732 | | |
1733 | | |
1734 | | // accessors ------------------------------------------------------- |
1735 | | |
1736 | | enum : int { |
1737 | | kNumbersFieldNumber = 2, |
1738 | | kAddrFieldNumber = 1, |
1739 | | }; |
1740 | | // map<string, int32> numbers = 2; |
1741 | | int numbers_size() const; |
1742 | | private: |
1743 | | int _internal_numbers_size() const; |
1744 | | public: |
1745 | | void clear_numbers(); |
1746 | | private: |
1747 | | const ::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >& |
1748 | | _internal_numbers() const; |
1749 | | ::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >* |
1750 | | _internal_mutable_numbers(); |
1751 | | public: |
1752 | | const ::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >& |
1753 | | numbers() const; |
1754 | | ::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >* |
1755 | | mutable_numbers(); |
1756 | | |
1757 | | // required string addr = 1; |
1758 | | bool has_addr() const; |
1759 | | private: |
1760 | | bool _internal_has_addr() const; |
1761 | | public: |
1762 | | void clear_addr(); |
1763 | | const std::string& addr() const; |
1764 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1765 | | void set_addr(ArgT0&& arg0, ArgT... args); |
1766 | | std::string* mutable_addr(); |
1767 | | PROTOBUF_NODISCARD std::string* release_addr(); |
1768 | | void set_allocated_addr(std::string* addr); |
1769 | | private: |
1770 | | const std::string& _internal_addr() const; |
1771 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_addr(const std::string& value); |
1772 | | std::string* _internal_mutable_addr(); |
1773 | | public: |
1774 | | |
1775 | | // @@protoc_insertion_point(class_scope:AddressIntMapStd) |
1776 | | private: |
1777 | | class _Internal; |
1778 | | |
1779 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1780 | | typedef void InternalArenaConstructable_; |
1781 | | typedef void DestructorSkippable_; |
1782 | | struct Impl_ { |
1783 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1784 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1785 | | ::PROTOBUF_NAMESPACE_ID::internal::MapField< |
1786 | | AddressIntMapStd_NumbersEntry_DoNotUse, |
1787 | | std::string, int32_t, |
1788 | | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, |
1789 | | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32> numbers_; |
1790 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addr_; |
1791 | | }; |
1792 | | union { Impl_ _impl_; }; |
1793 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
1794 | | }; |
1795 | | // ------------------------------------------------------------------- |
1796 | | |
1797 | | class AddressStringMapStd_ContactsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<AddressStringMapStd_ContactsEntry_DoNotUse, |
1798 | | std::string, std::string, |
1799 | | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, |
1800 | | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> { |
1801 | | public: |
1802 | | typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<AddressStringMapStd_ContactsEntry_DoNotUse, |
1803 | | std::string, std::string, |
1804 | | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, |
1805 | | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType; |
1806 | | AddressStringMapStd_ContactsEntry_DoNotUse(); |
1807 | | explicit PROTOBUF_CONSTEXPR AddressStringMapStd_ContactsEntry_DoNotUse( |
1808 | | ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1809 | | explicit AddressStringMapStd_ContactsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1810 | | void MergeFrom(const AddressStringMapStd_ContactsEntry_DoNotUse& other); |
1811 | 0 | static const AddressStringMapStd_ContactsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const AddressStringMapStd_ContactsEntry_DoNotUse*>(&_AddressStringMapStd_ContactsEntry_DoNotUse_default_instance_); } |
1812 | 0 | static bool ValidateKey(std::string* s) { |
1813 | 0 | #ifndef NDEBUG |
1814 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
1815 | 0 | s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "AddressStringMapStd.ContactsEntry.key"); |
1816 | | #else |
1817 | | (void) s; |
1818 | | #endif |
1819 | 0 | return true; |
1820 | 0 | } |
1821 | 0 | static bool ValidateValue(std::string* s) { |
1822 | 0 | #ifndef NDEBUG |
1823 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( |
1824 | 0 | s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "AddressStringMapStd.ContactsEntry.value"); |
1825 | | #else |
1826 | | (void) s; |
1827 | | #endif |
1828 | 0 | return true; |
1829 | 0 | } |
1830 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1831 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1832 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
1833 | | }; |
1834 | | |
1835 | | // ------------------------------------------------------------------- |
1836 | | |
1837 | | class AddressStringMapStd final : |
1838 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AddressStringMapStd) */ { |
1839 | | public: |
1840 | 0 | inline AddressStringMapStd() : AddressStringMapStd(nullptr) {} |
1841 | | ~AddressStringMapStd() override; |
1842 | | explicit PROTOBUF_CONSTEXPR AddressStringMapStd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1843 | | |
1844 | | AddressStringMapStd(const AddressStringMapStd& from); |
1845 | | AddressStringMapStd(AddressStringMapStd&& from) noexcept |
1846 | 0 | : AddressStringMapStd() { |
1847 | 0 | *this = ::std::move(from); |
1848 | 0 | } |
1849 | | |
1850 | 0 | inline AddressStringMapStd& operator=(const AddressStringMapStd& from) { |
1851 | 0 | CopyFrom(from); |
1852 | 0 | return *this; |
1853 | 0 | } |
1854 | 0 | inline AddressStringMapStd& operator=(AddressStringMapStd&& from) noexcept { |
1855 | 0 | if (this == &from) return *this; |
1856 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1857 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1858 | 0 | && GetOwningArena() != nullptr |
1859 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1860 | 0 | ) { |
1861 | 0 | InternalSwap(&from); |
1862 | 0 | } else { |
1863 | 0 | CopyFrom(from); |
1864 | 0 | } |
1865 | 0 | return *this; |
1866 | 0 | } |
1867 | | |
1868 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1869 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1870 | 0 | } |
1871 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1872 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1873 | 0 | } |
1874 | | |
1875 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1876 | 0 | return GetDescriptor(); |
1877 | 0 | } |
1878 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1879 | 0 | return default_instance().GetMetadata().descriptor; |
1880 | 0 | } |
1881 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1882 | 0 | return default_instance().GetMetadata().reflection; |
1883 | 0 | } |
1884 | 0 | static const AddressStringMapStd& default_instance() { |
1885 | 0 | return *internal_default_instance(); |
1886 | 0 | } |
1887 | 0 | static inline const AddressStringMapStd* internal_default_instance() { |
1888 | 0 | return reinterpret_cast<const AddressStringMapStd*>( |
1889 | 0 | &_AddressStringMapStd_default_instance_); |
1890 | 0 | } |
1891 | | static constexpr int kIndexInFileMessages = |
1892 | | 11; |
1893 | | |
1894 | 0 | friend void swap(AddressStringMapStd& a, AddressStringMapStd& b) { |
1895 | 0 | a.Swap(&b); |
1896 | 0 | } |
1897 | 0 | inline void Swap(AddressStringMapStd* other) { |
1898 | 0 | if (other == this) return; |
1899 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1900 | 0 | if (GetOwningArena() != nullptr && |
1901 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1902 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1903 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1904 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1905 | 0 | InternalSwap(other); |
1906 | 0 | } else { |
1907 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1908 | 0 | } |
1909 | 0 | } |
1910 | 0 | void UnsafeArenaSwap(AddressStringMapStd* other) { |
1911 | 0 | if (other == this) return; |
1912 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1913 | 0 | InternalSwap(other); |
1914 | 0 | } |
1915 | | |
1916 | | // implements Message ---------------------------------------------- |
1917 | | |
1918 | 0 | AddressStringMapStd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1919 | 0 | return CreateMaybeMessage<AddressStringMapStd>(arena); |
1920 | 0 | } |
1921 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1922 | | void CopyFrom(const AddressStringMapStd& from); |
1923 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1924 | 0 | void MergeFrom( const AddressStringMapStd& from) { |
1925 | 0 | AddressStringMapStd::MergeImpl(*this, from); |
1926 | 0 | } |
1927 | | private: |
1928 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1929 | | public: |
1930 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1931 | | bool IsInitialized() const final; |
1932 | | |
1933 | | size_t ByteSizeLong() const final; |
1934 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1935 | | uint8_t* _InternalSerialize( |
1936 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1937 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1938 | | |
1939 | | private: |
1940 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1941 | | void SharedDtor(); |
1942 | | void SetCachedSize(int size) const final; |
1943 | | void InternalSwap(AddressStringMapStd* other); |
1944 | | |
1945 | | private: |
1946 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1947 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1948 | 0 | return "AddressStringMapStd"; |
1949 | 0 | } |
1950 | | protected: |
1951 | | explicit AddressStringMapStd(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1952 | | bool is_message_owned = false); |
1953 | | private: |
1954 | | static void ArenaDtor(void* object); |
1955 | | public: |
1956 | | |
1957 | | static const ClassData _class_data_; |
1958 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1959 | | |
1960 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1961 | | |
1962 | | // nested types ---------------------------------------------------- |
1963 | | |
1964 | | |
1965 | | // accessors ------------------------------------------------------- |
1966 | | |
1967 | | enum : int { |
1968 | | kContactsFieldNumber = 2, |
1969 | | kAddrFieldNumber = 1, |
1970 | | }; |
1971 | | // map<string, string> contacts = 2; |
1972 | | int contacts_size() const; |
1973 | | private: |
1974 | | int _internal_contacts_size() const; |
1975 | | public: |
1976 | | void clear_contacts(); |
1977 | | private: |
1978 | | const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& |
1979 | | _internal_contacts() const; |
1980 | | ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* |
1981 | | _internal_mutable_contacts(); |
1982 | | public: |
1983 | | const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& |
1984 | | contacts() const; |
1985 | | ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* |
1986 | | mutable_contacts(); |
1987 | | |
1988 | | // required string addr = 1; |
1989 | | bool has_addr() const; |
1990 | | private: |
1991 | | bool _internal_has_addr() const; |
1992 | | public: |
1993 | | void clear_addr(); |
1994 | | const std::string& addr() const; |
1995 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1996 | | void set_addr(ArgT0&& arg0, ArgT... args); |
1997 | | std::string* mutable_addr(); |
1998 | | PROTOBUF_NODISCARD std::string* release_addr(); |
1999 | | void set_allocated_addr(std::string* addr); |
2000 | | private: |
2001 | | const std::string& _internal_addr() const; |
2002 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_addr(const std::string& value); |
2003 | | std::string* _internal_mutable_addr(); |
2004 | | public: |
2005 | | |
2006 | | // @@protoc_insertion_point(class_scope:AddressStringMapStd) |
2007 | | private: |
2008 | | class _Internal; |
2009 | | |
2010 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2011 | | typedef void InternalArenaConstructable_; |
2012 | | typedef void DestructorSkippable_; |
2013 | | struct Impl_ { |
2014 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
2015 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2016 | | ::PROTOBUF_NAMESPACE_ID::internal::MapField< |
2017 | | AddressStringMapStd_ContactsEntry_DoNotUse, |
2018 | | std::string, std::string, |
2019 | | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, |
2020 | | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> contacts_; |
2021 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr addr_; |
2022 | | }; |
2023 | | union { Impl_ _impl_; }; |
2024 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
2025 | | }; |
2026 | | // ------------------------------------------------------------------- |
2027 | | |
2028 | | class haha final : |
2029 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:haha) */ { |
2030 | | public: |
2031 | 0 | inline haha() : haha(nullptr) {} |
2032 | | ~haha() override; |
2033 | | explicit PROTOBUF_CONSTEXPR haha(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2034 | | |
2035 | | haha(const haha& from); |
2036 | | haha(haha&& from) noexcept |
2037 | 0 | : haha() { |
2038 | 0 | *this = ::std::move(from); |
2039 | 0 | } |
2040 | | |
2041 | 0 | inline haha& operator=(const haha& from) { |
2042 | 0 | CopyFrom(from); |
2043 | 0 | return *this; |
2044 | 0 | } |
2045 | 0 | inline haha& operator=(haha&& from) noexcept { |
2046 | 0 | if (this == &from) return *this; |
2047 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2048 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2049 | 0 | && GetOwningArena() != nullptr |
2050 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2051 | 0 | ) { |
2052 | 0 | InternalSwap(&from); |
2053 | 0 | } else { |
2054 | 0 | CopyFrom(from); |
2055 | 0 | } |
2056 | 0 | return *this; |
2057 | 0 | } |
2058 | | |
2059 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
2060 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
2061 | 0 | } |
2062 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
2063 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2064 | 0 | } |
2065 | | |
2066 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2067 | 0 | return GetDescriptor(); |
2068 | 0 | } |
2069 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2070 | 0 | return default_instance().GetMetadata().descriptor; |
2071 | 0 | } |
2072 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2073 | 0 | return default_instance().GetMetadata().reflection; |
2074 | 0 | } |
2075 | 0 | static const haha& default_instance() { |
2076 | 0 | return *internal_default_instance(); |
2077 | 0 | } |
2078 | 0 | static inline const haha* internal_default_instance() { |
2079 | 0 | return reinterpret_cast<const haha*>( |
2080 | 0 | &_haha_default_instance_); |
2081 | 0 | } |
2082 | | static constexpr int kIndexInFileMessages = |
2083 | | 12; |
2084 | | |
2085 | 0 | friend void swap(haha& a, haha& b) { |
2086 | 0 | a.Swap(&b); |
2087 | 0 | } |
2088 | 0 | inline void Swap(haha* other) { |
2089 | 0 | if (other == this) return; |
2090 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2091 | 0 | if (GetOwningArena() != nullptr && |
2092 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2093 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2094 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2095 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2096 | 0 | InternalSwap(other); |
2097 | 0 | } else { |
2098 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2099 | 0 | } |
2100 | 0 | } |
2101 | 0 | void UnsafeArenaSwap(haha* other) { |
2102 | 0 | if (other == this) return; |
2103 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2104 | 0 | InternalSwap(other); |
2105 | 0 | } |
2106 | | |
2107 | | // implements Message ---------------------------------------------- |
2108 | | |
2109 | 0 | haha* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2110 | 0 | return CreateMaybeMessage<haha>(arena); |
2111 | 0 | } |
2112 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2113 | | void CopyFrom(const haha& from); |
2114 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2115 | 0 | void MergeFrom( const haha& from) { |
2116 | 0 | haha::MergeImpl(*this, from); |
2117 | 0 | } |
2118 | | private: |
2119 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2120 | | public: |
2121 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2122 | | bool IsInitialized() const final; |
2123 | | |
2124 | | size_t ByteSizeLong() const final; |
2125 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2126 | | uint8_t* _InternalSerialize( |
2127 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2128 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2129 | | |
2130 | | private: |
2131 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
2132 | | void SharedDtor(); |
2133 | | void SetCachedSize(int size) const final; |
2134 | | void InternalSwap(haha* other); |
2135 | | |
2136 | | private: |
2137 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2138 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2139 | 0 | return "haha"; |
2140 | 0 | } |
2141 | | protected: |
2142 | | explicit haha(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2143 | | bool is_message_owned = false); |
2144 | | public: |
2145 | | |
2146 | | static const ClassData _class_data_; |
2147 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2148 | | |
2149 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2150 | | |
2151 | | // nested types ---------------------------------------------------- |
2152 | | |
2153 | | // accessors ------------------------------------------------------- |
2154 | | |
2155 | | enum : int { |
2156 | | kAFieldNumber = 1, |
2157 | | }; |
2158 | | // repeated int32 a = 1; |
2159 | | int a_size() const; |
2160 | | private: |
2161 | | int _internal_a_size() const; |
2162 | | public: |
2163 | | void clear_a(); |
2164 | | private: |
2165 | | int32_t _internal_a(int index) const; |
2166 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
2167 | | _internal_a() const; |
2168 | | void _internal_add_a(int32_t value); |
2169 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
2170 | | _internal_mutable_a(); |
2171 | | public: |
2172 | | int32_t a(int index) const; |
2173 | | void set_a(int index, int32_t value); |
2174 | | void add_a(int32_t value); |
2175 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
2176 | | a() const; |
2177 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
2178 | | mutable_a(); |
2179 | | |
2180 | | // @@protoc_insertion_point(class_scope:haha) |
2181 | | private: |
2182 | | class _Internal; |
2183 | | |
2184 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2185 | | typedef void InternalArenaConstructable_; |
2186 | | typedef void DestructorSkippable_; |
2187 | | struct Impl_ { |
2188 | | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > a_; |
2189 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2190 | | }; |
2191 | | union { Impl_ _impl_; }; |
2192 | | friend struct ::TableStruct_addressbook_5fmap_2eproto; |
2193 | | }; |
2194 | | // =================================================================== |
2195 | | |
2196 | | |
2197 | | // =================================================================== |
2198 | | |
2199 | | #ifdef __GNUC__ |
2200 | | #pragma GCC diagnostic push |
2201 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
2202 | | #endif // __GNUC__ |
2203 | | // AddressNoMap |
2204 | | |
2205 | | // required string addr = 1; |
2206 | 0 | inline bool AddressNoMap::_internal_has_addr() const { |
2207 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2208 | 0 | return value; |
2209 | 0 | } |
2210 | 0 | inline bool AddressNoMap::has_addr() const { |
2211 | 0 | return _internal_has_addr(); |
2212 | 0 | } |
2213 | 0 | inline void AddressNoMap::clear_addr() { |
2214 | 0 | _impl_.addr_.ClearToEmpty(); |
2215 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2216 | 0 | } |
2217 | 0 | inline const std::string& AddressNoMap::addr() const { |
2218 | 0 | // @@protoc_insertion_point(field_get:AddressNoMap.addr) |
2219 | 0 | return _internal_addr(); |
2220 | 0 | } |
2221 | | template <typename ArgT0, typename... ArgT> |
2222 | | inline PROTOBUF_ALWAYS_INLINE |
2223 | | void AddressNoMap::set_addr(ArgT0&& arg0, ArgT... args) { |
2224 | | _impl_._has_bits_[0] |= 0x00000001u; |
2225 | | _impl_.addr_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2226 | | // @@protoc_insertion_point(field_set:AddressNoMap.addr) |
2227 | | } |
2228 | 0 | inline std::string* AddressNoMap::mutable_addr() { |
2229 | 0 | std::string* _s = _internal_mutable_addr(); |
2230 | 0 | // @@protoc_insertion_point(field_mutable:AddressNoMap.addr) |
2231 | 0 | return _s; |
2232 | 0 | } |
2233 | 0 | inline const std::string& AddressNoMap::_internal_addr() const { |
2234 | 0 | return _impl_.addr_.Get(); |
2235 | 0 | } |
2236 | 0 | inline void AddressNoMap::_internal_set_addr(const std::string& value) { |
2237 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2238 | 0 | _impl_.addr_.Set(value, GetArenaForAllocation()); |
2239 | 0 | } |
2240 | 0 | inline std::string* AddressNoMap::_internal_mutable_addr() { |
2241 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2242 | 0 | return _impl_.addr_.Mutable(GetArenaForAllocation()); |
2243 | 0 | } |
2244 | 0 | inline std::string* AddressNoMap::release_addr() { |
2245 | 0 | // @@protoc_insertion_point(field_release:AddressNoMap.addr) |
2246 | 0 | if (!_internal_has_addr()) { |
2247 | 0 | return nullptr; |
2248 | 0 | } |
2249 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2250 | 0 | auto* p = _impl_.addr_.Release(); |
2251 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2252 | 0 | if (_impl_.addr_.IsDefault()) { |
2253 | 0 | _impl_.addr_.Set("", GetArenaForAllocation()); |
2254 | 0 | } |
2255 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2256 | 0 | return p; |
2257 | 0 | } |
2258 | 0 | inline void AddressNoMap::set_allocated_addr(std::string* addr) { |
2259 | 0 | if (addr != nullptr) { |
2260 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2261 | 0 | } else { |
2262 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2263 | 0 | } |
2264 | 0 | _impl_.addr_.SetAllocated(addr, GetArenaForAllocation()); |
2265 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2266 | 0 | if (_impl_.addr_.IsDefault()) { |
2267 | 0 | _impl_.addr_.Set("", GetArenaForAllocation()); |
2268 | 0 | } |
2269 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2270 | 0 | // @@protoc_insertion_point(field_set_allocated:AddressNoMap.addr) |
2271 | 0 | } |
2272 | | |
2273 | | // ------------------------------------------------------------------- |
2274 | | |
2275 | | // AddressIntMap_MapFieldEntry |
2276 | | |
2277 | | // required string key = 1; |
2278 | 0 | inline bool AddressIntMap_MapFieldEntry::_internal_has_key() const { |
2279 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2280 | 0 | return value; |
2281 | 0 | } |
2282 | 0 | inline bool AddressIntMap_MapFieldEntry::has_key() const { |
2283 | 0 | return _internal_has_key(); |
2284 | 0 | } |
2285 | 0 | inline void AddressIntMap_MapFieldEntry::clear_key() { |
2286 | 0 | _impl_.key_.ClearToEmpty(); |
2287 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2288 | 0 | } |
2289 | 0 | inline const std::string& AddressIntMap_MapFieldEntry::key() const { |
2290 | 0 | // @@protoc_insertion_point(field_get:AddressIntMap.MapFieldEntry.key) |
2291 | 0 | return _internal_key(); |
2292 | 0 | } |
2293 | | template <typename ArgT0, typename... ArgT> |
2294 | | inline PROTOBUF_ALWAYS_INLINE |
2295 | | void AddressIntMap_MapFieldEntry::set_key(ArgT0&& arg0, ArgT... args) { |
2296 | | _impl_._has_bits_[0] |= 0x00000001u; |
2297 | | _impl_.key_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2298 | | // @@protoc_insertion_point(field_set:AddressIntMap.MapFieldEntry.key) |
2299 | | } |
2300 | 0 | inline std::string* AddressIntMap_MapFieldEntry::mutable_key() { |
2301 | 0 | std::string* _s = _internal_mutable_key(); |
2302 | 0 | // @@protoc_insertion_point(field_mutable:AddressIntMap.MapFieldEntry.key) |
2303 | 0 | return _s; |
2304 | 0 | } |
2305 | 0 | inline const std::string& AddressIntMap_MapFieldEntry::_internal_key() const { |
2306 | 0 | return _impl_.key_.Get(); |
2307 | 0 | } |
2308 | 0 | inline void AddressIntMap_MapFieldEntry::_internal_set_key(const std::string& value) { |
2309 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2310 | 0 | _impl_.key_.Set(value, GetArenaForAllocation()); |
2311 | 0 | } |
2312 | 0 | inline std::string* AddressIntMap_MapFieldEntry::_internal_mutable_key() { |
2313 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2314 | 0 | return _impl_.key_.Mutable(GetArenaForAllocation()); |
2315 | 0 | } |
2316 | 0 | inline std::string* AddressIntMap_MapFieldEntry::release_key() { |
2317 | 0 | // @@protoc_insertion_point(field_release:AddressIntMap.MapFieldEntry.key) |
2318 | 0 | if (!_internal_has_key()) { |
2319 | 0 | return nullptr; |
2320 | 0 | } |
2321 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2322 | 0 | auto* p = _impl_.key_.Release(); |
2323 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2324 | 0 | if (_impl_.key_.IsDefault()) { |
2325 | 0 | _impl_.key_.Set("", GetArenaForAllocation()); |
2326 | 0 | } |
2327 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2328 | 0 | return p; |
2329 | 0 | } |
2330 | 0 | inline void AddressIntMap_MapFieldEntry::set_allocated_key(std::string* key) { |
2331 | 0 | if (key != nullptr) { |
2332 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2333 | 0 | } else { |
2334 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2335 | 0 | } |
2336 | 0 | _impl_.key_.SetAllocated(key, GetArenaForAllocation()); |
2337 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2338 | 0 | if (_impl_.key_.IsDefault()) { |
2339 | 0 | _impl_.key_.Set("", GetArenaForAllocation()); |
2340 | 0 | } |
2341 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2342 | 0 | // @@protoc_insertion_point(field_set_allocated:AddressIntMap.MapFieldEntry.key) |
2343 | 0 | } |
2344 | | |
2345 | | // required int32 value = 2; |
2346 | 0 | inline bool AddressIntMap_MapFieldEntry::_internal_has_value() const { |
2347 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
2348 | 0 | return value; |
2349 | 0 | } |
2350 | 0 | inline bool AddressIntMap_MapFieldEntry::has_value() const { |
2351 | 0 | return _internal_has_value(); |
2352 | 0 | } |
2353 | 0 | inline void AddressIntMap_MapFieldEntry::clear_value() { |
2354 | 0 | _impl_.value_ = 0; |
2355 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2356 | 0 | } |
2357 | 0 | inline int32_t AddressIntMap_MapFieldEntry::_internal_value() const { |
2358 | 0 | return _impl_.value_; |
2359 | 0 | } |
2360 | 0 | inline int32_t AddressIntMap_MapFieldEntry::value() const { |
2361 | 0 | // @@protoc_insertion_point(field_get:AddressIntMap.MapFieldEntry.value) |
2362 | 0 | return _internal_value(); |
2363 | 0 | } |
2364 | 0 | inline void AddressIntMap_MapFieldEntry::_internal_set_value(int32_t value) { |
2365 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2366 | 0 | _impl_.value_ = value; |
2367 | 0 | } |
2368 | 0 | inline void AddressIntMap_MapFieldEntry::set_value(int32_t value) { |
2369 | 0 | _internal_set_value(value); |
2370 | 0 | // @@protoc_insertion_point(field_set:AddressIntMap.MapFieldEntry.value) |
2371 | 0 | } |
2372 | | |
2373 | | // ------------------------------------------------------------------- |
2374 | | |
2375 | | // AddressIntMap |
2376 | | |
2377 | | // required string addr = 1; |
2378 | 0 | inline bool AddressIntMap::_internal_has_addr() const { |
2379 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2380 | 0 | return value; |
2381 | 0 | } |
2382 | 0 | inline bool AddressIntMap::has_addr() const { |
2383 | 0 | return _internal_has_addr(); |
2384 | 0 | } |
2385 | 0 | inline void AddressIntMap::clear_addr() { |
2386 | 0 | _impl_.addr_.ClearToEmpty(); |
2387 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2388 | 0 | } |
2389 | 0 | inline const std::string& AddressIntMap::addr() const { |
2390 | 0 | // @@protoc_insertion_point(field_get:AddressIntMap.addr) |
2391 | 0 | return _internal_addr(); |
2392 | 0 | } |
2393 | | template <typename ArgT0, typename... ArgT> |
2394 | | inline PROTOBUF_ALWAYS_INLINE |
2395 | | void AddressIntMap::set_addr(ArgT0&& arg0, ArgT... args) { |
2396 | | _impl_._has_bits_[0] |= 0x00000001u; |
2397 | | _impl_.addr_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2398 | | // @@protoc_insertion_point(field_set:AddressIntMap.addr) |
2399 | | } |
2400 | 0 | inline std::string* AddressIntMap::mutable_addr() { |
2401 | 0 | std::string* _s = _internal_mutable_addr(); |
2402 | 0 | // @@protoc_insertion_point(field_mutable:AddressIntMap.addr) |
2403 | 0 | return _s; |
2404 | 0 | } |
2405 | 0 | inline const std::string& AddressIntMap::_internal_addr() const { |
2406 | 0 | return _impl_.addr_.Get(); |
2407 | 0 | } |
2408 | 0 | inline void AddressIntMap::_internal_set_addr(const std::string& value) { |
2409 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2410 | 0 | _impl_.addr_.Set(value, GetArenaForAllocation()); |
2411 | 0 | } |
2412 | 0 | inline std::string* AddressIntMap::_internal_mutable_addr() { |
2413 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2414 | 0 | return _impl_.addr_.Mutable(GetArenaForAllocation()); |
2415 | 0 | } |
2416 | 0 | inline std::string* AddressIntMap::release_addr() { |
2417 | 0 | // @@protoc_insertion_point(field_release:AddressIntMap.addr) |
2418 | 0 | if (!_internal_has_addr()) { |
2419 | 0 | return nullptr; |
2420 | 0 | } |
2421 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2422 | 0 | auto* p = _impl_.addr_.Release(); |
2423 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2424 | 0 | if (_impl_.addr_.IsDefault()) { |
2425 | 0 | _impl_.addr_.Set("", GetArenaForAllocation()); |
2426 | 0 | } |
2427 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2428 | 0 | return p; |
2429 | 0 | } |
2430 | 0 | inline void AddressIntMap::set_allocated_addr(std::string* addr) { |
2431 | 0 | if (addr != nullptr) { |
2432 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2433 | 0 | } else { |
2434 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2435 | 0 | } |
2436 | 0 | _impl_.addr_.SetAllocated(addr, GetArenaForAllocation()); |
2437 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2438 | 0 | if (_impl_.addr_.IsDefault()) { |
2439 | 0 | _impl_.addr_.Set("", GetArenaForAllocation()); |
2440 | 0 | } |
2441 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2442 | 0 | // @@protoc_insertion_point(field_set_allocated:AddressIntMap.addr) |
2443 | 0 | } |
2444 | | |
2445 | | // repeated .AddressIntMap.MapFieldEntry numbers = 2; |
2446 | 0 | inline int AddressIntMap::_internal_numbers_size() const { |
2447 | 0 | return _impl_.numbers_.size(); |
2448 | 0 | } |
2449 | 0 | inline int AddressIntMap::numbers_size() const { |
2450 | 0 | return _internal_numbers_size(); |
2451 | 0 | } |
2452 | 0 | inline void AddressIntMap::clear_numbers() { |
2453 | 0 | _impl_.numbers_.Clear(); |
2454 | 0 | } |
2455 | 0 | inline ::AddressIntMap_MapFieldEntry* AddressIntMap::mutable_numbers(int index) { |
2456 | 0 | // @@protoc_insertion_point(field_mutable:AddressIntMap.numbers) |
2457 | 0 | return _impl_.numbers_.Mutable(index); |
2458 | 0 | } |
2459 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressIntMap_MapFieldEntry >* |
2460 | 0 | AddressIntMap::mutable_numbers() { |
2461 | 0 | // @@protoc_insertion_point(field_mutable_list:AddressIntMap.numbers) |
2462 | 0 | return &_impl_.numbers_; |
2463 | 0 | } |
2464 | 0 | inline const ::AddressIntMap_MapFieldEntry& AddressIntMap::_internal_numbers(int index) const { |
2465 | 0 | return _impl_.numbers_.Get(index); |
2466 | 0 | } |
2467 | 0 | inline const ::AddressIntMap_MapFieldEntry& AddressIntMap::numbers(int index) const { |
2468 | 0 | // @@protoc_insertion_point(field_get:AddressIntMap.numbers) |
2469 | 0 | return _internal_numbers(index); |
2470 | 0 | } |
2471 | 0 | inline ::AddressIntMap_MapFieldEntry* AddressIntMap::_internal_add_numbers() { |
2472 | 0 | return _impl_.numbers_.Add(); |
2473 | 0 | } |
2474 | 0 | inline ::AddressIntMap_MapFieldEntry* AddressIntMap::add_numbers() { |
2475 | 0 | ::AddressIntMap_MapFieldEntry* _add = _internal_add_numbers(); |
2476 | 0 | // @@protoc_insertion_point(field_add:AddressIntMap.numbers) |
2477 | 0 | return _add; |
2478 | 0 | } |
2479 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressIntMap_MapFieldEntry >& |
2480 | 0 | AddressIntMap::numbers() const { |
2481 | 0 | // @@protoc_insertion_point(field_list:AddressIntMap.numbers) |
2482 | 0 | return _impl_.numbers_; |
2483 | 0 | } |
2484 | | |
2485 | | // ------------------------------------------------------------------- |
2486 | | |
2487 | | // AddressStringMap_MapFieldEntry |
2488 | | |
2489 | | // required string key = 1; |
2490 | 0 | inline bool AddressStringMap_MapFieldEntry::_internal_has_key() const { |
2491 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2492 | 0 | return value; |
2493 | 0 | } |
2494 | 0 | inline bool AddressStringMap_MapFieldEntry::has_key() const { |
2495 | 0 | return _internal_has_key(); |
2496 | 0 | } |
2497 | 0 | inline void AddressStringMap_MapFieldEntry::clear_key() { |
2498 | 0 | _impl_.key_.ClearToEmpty(); |
2499 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2500 | 0 | } |
2501 | 0 | inline const std::string& AddressStringMap_MapFieldEntry::key() const { |
2502 | 0 | // @@protoc_insertion_point(field_get:AddressStringMap.MapFieldEntry.key) |
2503 | 0 | return _internal_key(); |
2504 | 0 | } |
2505 | | template <typename ArgT0, typename... ArgT> |
2506 | | inline PROTOBUF_ALWAYS_INLINE |
2507 | | void AddressStringMap_MapFieldEntry::set_key(ArgT0&& arg0, ArgT... args) { |
2508 | | _impl_._has_bits_[0] |= 0x00000001u; |
2509 | | _impl_.key_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2510 | | // @@protoc_insertion_point(field_set:AddressStringMap.MapFieldEntry.key) |
2511 | | } |
2512 | 0 | inline std::string* AddressStringMap_MapFieldEntry::mutable_key() { |
2513 | 0 | std::string* _s = _internal_mutable_key(); |
2514 | 0 | // @@protoc_insertion_point(field_mutable:AddressStringMap.MapFieldEntry.key) |
2515 | 0 | return _s; |
2516 | 0 | } |
2517 | 0 | inline const std::string& AddressStringMap_MapFieldEntry::_internal_key() const { |
2518 | 0 | return _impl_.key_.Get(); |
2519 | 0 | } |
2520 | 0 | inline void AddressStringMap_MapFieldEntry::_internal_set_key(const std::string& value) { |
2521 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2522 | 0 | _impl_.key_.Set(value, GetArenaForAllocation()); |
2523 | 0 | } |
2524 | 0 | inline std::string* AddressStringMap_MapFieldEntry::_internal_mutable_key() { |
2525 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2526 | 0 | return _impl_.key_.Mutable(GetArenaForAllocation()); |
2527 | 0 | } |
2528 | 0 | inline std::string* AddressStringMap_MapFieldEntry::release_key() { |
2529 | 0 | // @@protoc_insertion_point(field_release:AddressStringMap.MapFieldEntry.key) |
2530 | 0 | if (!_internal_has_key()) { |
2531 | 0 | return nullptr; |
2532 | 0 | } |
2533 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2534 | 0 | auto* p = _impl_.key_.Release(); |
2535 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2536 | 0 | if (_impl_.key_.IsDefault()) { |
2537 | 0 | _impl_.key_.Set("", GetArenaForAllocation()); |
2538 | 0 | } |
2539 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2540 | 0 | return p; |
2541 | 0 | } |
2542 | 0 | inline void AddressStringMap_MapFieldEntry::set_allocated_key(std::string* key) { |
2543 | 0 | if (key != nullptr) { |
2544 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2545 | 0 | } else { |
2546 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2547 | 0 | } |
2548 | 0 | _impl_.key_.SetAllocated(key, GetArenaForAllocation()); |
2549 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2550 | 0 | if (_impl_.key_.IsDefault()) { |
2551 | 0 | _impl_.key_.Set("", GetArenaForAllocation()); |
2552 | 0 | } |
2553 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2554 | 0 | // @@protoc_insertion_point(field_set_allocated:AddressStringMap.MapFieldEntry.key) |
2555 | 0 | } |
2556 | | |
2557 | | // required string value = 2; |
2558 | 0 | inline bool AddressStringMap_MapFieldEntry::_internal_has_value() const { |
2559 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
2560 | 0 | return value; |
2561 | 0 | } |
2562 | 0 | inline bool AddressStringMap_MapFieldEntry::has_value() const { |
2563 | 0 | return _internal_has_value(); |
2564 | 0 | } |
2565 | 0 | inline void AddressStringMap_MapFieldEntry::clear_value() { |
2566 | 0 | _impl_.value_.ClearToEmpty(); |
2567 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2568 | 0 | } |
2569 | 0 | inline const std::string& AddressStringMap_MapFieldEntry::value() const { |
2570 | 0 | // @@protoc_insertion_point(field_get:AddressStringMap.MapFieldEntry.value) |
2571 | 0 | return _internal_value(); |
2572 | 0 | } |
2573 | | template <typename ArgT0, typename... ArgT> |
2574 | | inline PROTOBUF_ALWAYS_INLINE |
2575 | | void AddressStringMap_MapFieldEntry::set_value(ArgT0&& arg0, ArgT... args) { |
2576 | | _impl_._has_bits_[0] |= 0x00000002u; |
2577 | | _impl_.value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2578 | | // @@protoc_insertion_point(field_set:AddressStringMap.MapFieldEntry.value) |
2579 | | } |
2580 | 0 | inline std::string* AddressStringMap_MapFieldEntry::mutable_value() { |
2581 | 0 | std::string* _s = _internal_mutable_value(); |
2582 | 0 | // @@protoc_insertion_point(field_mutable:AddressStringMap.MapFieldEntry.value) |
2583 | 0 | return _s; |
2584 | 0 | } |
2585 | 0 | inline const std::string& AddressStringMap_MapFieldEntry::_internal_value() const { |
2586 | 0 | return _impl_.value_.Get(); |
2587 | 0 | } |
2588 | 0 | inline void AddressStringMap_MapFieldEntry::_internal_set_value(const std::string& value) { |
2589 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2590 | 0 | _impl_.value_.Set(value, GetArenaForAllocation()); |
2591 | 0 | } |
2592 | 0 | inline std::string* AddressStringMap_MapFieldEntry::_internal_mutable_value() { |
2593 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2594 | 0 | return _impl_.value_.Mutable(GetArenaForAllocation()); |
2595 | 0 | } |
2596 | 0 | inline std::string* AddressStringMap_MapFieldEntry::release_value() { |
2597 | 0 | // @@protoc_insertion_point(field_release:AddressStringMap.MapFieldEntry.value) |
2598 | 0 | if (!_internal_has_value()) { |
2599 | 0 | return nullptr; |
2600 | 0 | } |
2601 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2602 | 0 | auto* p = _impl_.value_.Release(); |
2603 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2604 | 0 | if (_impl_.value_.IsDefault()) { |
2605 | 0 | _impl_.value_.Set("", GetArenaForAllocation()); |
2606 | 0 | } |
2607 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2608 | 0 | return p; |
2609 | 0 | } |
2610 | 0 | inline void AddressStringMap_MapFieldEntry::set_allocated_value(std::string* value) { |
2611 | 0 | if (value != nullptr) { |
2612 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2613 | 0 | } else { |
2614 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2615 | 0 | } |
2616 | 0 | _impl_.value_.SetAllocated(value, GetArenaForAllocation()); |
2617 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2618 | 0 | if (_impl_.value_.IsDefault()) { |
2619 | 0 | _impl_.value_.Set("", GetArenaForAllocation()); |
2620 | 0 | } |
2621 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2622 | 0 | // @@protoc_insertion_point(field_set_allocated:AddressStringMap.MapFieldEntry.value) |
2623 | 0 | } |
2624 | | |
2625 | | // ------------------------------------------------------------------- |
2626 | | |
2627 | | // AddressStringMap |
2628 | | |
2629 | | // required string addr = 1; |
2630 | 0 | inline bool AddressStringMap::_internal_has_addr() const { |
2631 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2632 | 0 | return value; |
2633 | 0 | } |
2634 | 0 | inline bool AddressStringMap::has_addr() const { |
2635 | 0 | return _internal_has_addr(); |
2636 | 0 | } |
2637 | 0 | inline void AddressStringMap::clear_addr() { |
2638 | 0 | _impl_.addr_.ClearToEmpty(); |
2639 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2640 | 0 | } |
2641 | 0 | inline const std::string& AddressStringMap::addr() const { |
2642 | 0 | // @@protoc_insertion_point(field_get:AddressStringMap.addr) |
2643 | 0 | return _internal_addr(); |
2644 | 0 | } |
2645 | | template <typename ArgT0, typename... ArgT> |
2646 | | inline PROTOBUF_ALWAYS_INLINE |
2647 | | void AddressStringMap::set_addr(ArgT0&& arg0, ArgT... args) { |
2648 | | _impl_._has_bits_[0] |= 0x00000001u; |
2649 | | _impl_.addr_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2650 | | // @@protoc_insertion_point(field_set:AddressStringMap.addr) |
2651 | | } |
2652 | 0 | inline std::string* AddressStringMap::mutable_addr() { |
2653 | 0 | std::string* _s = _internal_mutable_addr(); |
2654 | 0 | // @@protoc_insertion_point(field_mutable:AddressStringMap.addr) |
2655 | 0 | return _s; |
2656 | 0 | } |
2657 | 0 | inline const std::string& AddressStringMap::_internal_addr() const { |
2658 | 0 | return _impl_.addr_.Get(); |
2659 | 0 | } |
2660 | 0 | inline void AddressStringMap::_internal_set_addr(const std::string& value) { |
2661 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2662 | 0 | _impl_.addr_.Set(value, GetArenaForAllocation()); |
2663 | 0 | } |
2664 | 0 | inline std::string* AddressStringMap::_internal_mutable_addr() { |
2665 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2666 | 0 | return _impl_.addr_.Mutable(GetArenaForAllocation()); |
2667 | 0 | } |
2668 | 0 | inline std::string* AddressStringMap::release_addr() { |
2669 | 0 | // @@protoc_insertion_point(field_release:AddressStringMap.addr) |
2670 | 0 | if (!_internal_has_addr()) { |
2671 | 0 | return nullptr; |
2672 | 0 | } |
2673 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2674 | 0 | auto* p = _impl_.addr_.Release(); |
2675 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2676 | 0 | if (_impl_.addr_.IsDefault()) { |
2677 | 0 | _impl_.addr_.Set("", GetArenaForAllocation()); |
2678 | 0 | } |
2679 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2680 | 0 | return p; |
2681 | 0 | } |
2682 | 0 | inline void AddressStringMap::set_allocated_addr(std::string* addr) { |
2683 | 0 | if (addr != nullptr) { |
2684 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2685 | 0 | } else { |
2686 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2687 | 0 | } |
2688 | 0 | _impl_.addr_.SetAllocated(addr, GetArenaForAllocation()); |
2689 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2690 | 0 | if (_impl_.addr_.IsDefault()) { |
2691 | 0 | _impl_.addr_.Set("", GetArenaForAllocation()); |
2692 | 0 | } |
2693 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2694 | 0 | // @@protoc_insertion_point(field_set_allocated:AddressStringMap.addr) |
2695 | 0 | } |
2696 | | |
2697 | | // repeated .AddressStringMap.MapFieldEntry contacts = 2; |
2698 | 0 | inline int AddressStringMap::_internal_contacts_size() const { |
2699 | 0 | return _impl_.contacts_.size(); |
2700 | 0 | } |
2701 | 0 | inline int AddressStringMap::contacts_size() const { |
2702 | 0 | return _internal_contacts_size(); |
2703 | 0 | } |
2704 | 0 | inline void AddressStringMap::clear_contacts() { |
2705 | 0 | _impl_.contacts_.Clear(); |
2706 | 0 | } |
2707 | 0 | inline ::AddressStringMap_MapFieldEntry* AddressStringMap::mutable_contacts(int index) { |
2708 | 0 | // @@protoc_insertion_point(field_mutable:AddressStringMap.contacts) |
2709 | 0 | return _impl_.contacts_.Mutable(index); |
2710 | 0 | } |
2711 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressStringMap_MapFieldEntry >* |
2712 | 0 | AddressStringMap::mutable_contacts() { |
2713 | 0 | // @@protoc_insertion_point(field_mutable_list:AddressStringMap.contacts) |
2714 | 0 | return &_impl_.contacts_; |
2715 | 0 | } |
2716 | 0 | inline const ::AddressStringMap_MapFieldEntry& AddressStringMap::_internal_contacts(int index) const { |
2717 | 0 | return _impl_.contacts_.Get(index); |
2718 | 0 | } |
2719 | 0 | inline const ::AddressStringMap_MapFieldEntry& AddressStringMap::contacts(int index) const { |
2720 | 0 | // @@protoc_insertion_point(field_get:AddressStringMap.contacts) |
2721 | 0 | return _internal_contacts(index); |
2722 | 0 | } |
2723 | 0 | inline ::AddressStringMap_MapFieldEntry* AddressStringMap::_internal_add_contacts() { |
2724 | 0 | return _impl_.contacts_.Add(); |
2725 | 0 | } |
2726 | 0 | inline ::AddressStringMap_MapFieldEntry* AddressStringMap::add_contacts() { |
2727 | 0 | ::AddressStringMap_MapFieldEntry* _add = _internal_add_contacts(); |
2728 | 0 | // @@protoc_insertion_point(field_add:AddressStringMap.contacts) |
2729 | 0 | return _add; |
2730 | 0 | } |
2731 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressStringMap_MapFieldEntry >& |
2732 | 0 | AddressStringMap::contacts() const { |
2733 | 0 | // @@protoc_insertion_point(field_list:AddressStringMap.contacts) |
2734 | 0 | return _impl_.contacts_; |
2735 | 0 | } |
2736 | | |
2737 | | // ------------------------------------------------------------------- |
2738 | | |
2739 | | // AddressComplex_FriendEntry_Education |
2740 | | |
2741 | | // required string school = 1; |
2742 | 0 | inline bool AddressComplex_FriendEntry_Education::_internal_has_school() const { |
2743 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2744 | 0 | return value; |
2745 | 0 | } |
2746 | 0 | inline bool AddressComplex_FriendEntry_Education::has_school() const { |
2747 | 0 | return _internal_has_school(); |
2748 | 0 | } |
2749 | 0 | inline void AddressComplex_FriendEntry_Education::clear_school() { |
2750 | 0 | _impl_.school_.ClearToEmpty(); |
2751 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2752 | 0 | } |
2753 | 0 | inline const std::string& AddressComplex_FriendEntry_Education::school() const { |
2754 | 0 | // @@protoc_insertion_point(field_get:AddressComplex.FriendEntry.Education.school) |
2755 | 0 | return _internal_school(); |
2756 | 0 | } |
2757 | | template <typename ArgT0, typename... ArgT> |
2758 | | inline PROTOBUF_ALWAYS_INLINE |
2759 | | void AddressComplex_FriendEntry_Education::set_school(ArgT0&& arg0, ArgT... args) { |
2760 | | _impl_._has_bits_[0] |= 0x00000001u; |
2761 | | _impl_.school_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2762 | | // @@protoc_insertion_point(field_set:AddressComplex.FriendEntry.Education.school) |
2763 | | } |
2764 | 0 | inline std::string* AddressComplex_FriendEntry_Education::mutable_school() { |
2765 | 0 | std::string* _s = _internal_mutable_school(); |
2766 | 0 | // @@protoc_insertion_point(field_mutable:AddressComplex.FriendEntry.Education.school) |
2767 | 0 | return _s; |
2768 | 0 | } |
2769 | 0 | inline const std::string& AddressComplex_FriendEntry_Education::_internal_school() const { |
2770 | 0 | return _impl_.school_.Get(); |
2771 | 0 | } |
2772 | 0 | inline void AddressComplex_FriendEntry_Education::_internal_set_school(const std::string& value) { |
2773 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2774 | 0 | _impl_.school_.Set(value, GetArenaForAllocation()); |
2775 | 0 | } |
2776 | 0 | inline std::string* AddressComplex_FriendEntry_Education::_internal_mutable_school() { |
2777 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2778 | 0 | return _impl_.school_.Mutable(GetArenaForAllocation()); |
2779 | 0 | } |
2780 | 0 | inline std::string* AddressComplex_FriendEntry_Education::release_school() { |
2781 | 0 | // @@protoc_insertion_point(field_release:AddressComplex.FriendEntry.Education.school) |
2782 | 0 | if (!_internal_has_school()) { |
2783 | 0 | return nullptr; |
2784 | 0 | } |
2785 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2786 | 0 | auto* p = _impl_.school_.Release(); |
2787 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2788 | 0 | if (_impl_.school_.IsDefault()) { |
2789 | 0 | _impl_.school_.Set("", GetArenaForAllocation()); |
2790 | 0 | } |
2791 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2792 | 0 | return p; |
2793 | 0 | } |
2794 | 0 | inline void AddressComplex_FriendEntry_Education::set_allocated_school(std::string* school) { |
2795 | 0 | if (school != nullptr) { |
2796 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2797 | 0 | } else { |
2798 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2799 | 0 | } |
2800 | 0 | _impl_.school_.SetAllocated(school, GetArenaForAllocation()); |
2801 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2802 | 0 | if (_impl_.school_.IsDefault()) { |
2803 | 0 | _impl_.school_.Set("", GetArenaForAllocation()); |
2804 | 0 | } |
2805 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2806 | 0 | // @@protoc_insertion_point(field_set_allocated:AddressComplex.FriendEntry.Education.school) |
2807 | 0 | } |
2808 | | |
2809 | | // required int32 year = 2; |
2810 | 0 | inline bool AddressComplex_FriendEntry_Education::_internal_has_year() const { |
2811 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
2812 | 0 | return value; |
2813 | 0 | } |
2814 | 0 | inline bool AddressComplex_FriendEntry_Education::has_year() const { |
2815 | 0 | return _internal_has_year(); |
2816 | 0 | } |
2817 | 0 | inline void AddressComplex_FriendEntry_Education::clear_year() { |
2818 | 0 | _impl_.year_ = 0; |
2819 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2820 | 0 | } |
2821 | 0 | inline int32_t AddressComplex_FriendEntry_Education::_internal_year() const { |
2822 | 0 | return _impl_.year_; |
2823 | 0 | } |
2824 | 0 | inline int32_t AddressComplex_FriendEntry_Education::year() const { |
2825 | 0 | // @@protoc_insertion_point(field_get:AddressComplex.FriendEntry.Education.year) |
2826 | 0 | return _internal_year(); |
2827 | 0 | } |
2828 | 0 | inline void AddressComplex_FriendEntry_Education::_internal_set_year(int32_t value) { |
2829 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2830 | 0 | _impl_.year_ = value; |
2831 | 0 | } |
2832 | 0 | inline void AddressComplex_FriendEntry_Education::set_year(int32_t value) { |
2833 | 0 | _internal_set_year(value); |
2834 | 0 | // @@protoc_insertion_point(field_set:AddressComplex.FriendEntry.Education.year) |
2835 | 0 | } |
2836 | | |
2837 | | // ------------------------------------------------------------------- |
2838 | | |
2839 | | // AddressComplex_FriendEntry |
2840 | | |
2841 | | // required string key = 1; |
2842 | 0 | inline bool AddressComplex_FriendEntry::_internal_has_key() const { |
2843 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2844 | 0 | return value; |
2845 | 0 | } |
2846 | 0 | inline bool AddressComplex_FriendEntry::has_key() const { |
2847 | 0 | return _internal_has_key(); |
2848 | 0 | } |
2849 | 0 | inline void AddressComplex_FriendEntry::clear_key() { |
2850 | 0 | _impl_.key_.ClearToEmpty(); |
2851 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2852 | 0 | } |
2853 | 0 | inline const std::string& AddressComplex_FriendEntry::key() const { |
2854 | 0 | // @@protoc_insertion_point(field_get:AddressComplex.FriendEntry.key) |
2855 | 0 | return _internal_key(); |
2856 | 0 | } |
2857 | | template <typename ArgT0, typename... ArgT> |
2858 | | inline PROTOBUF_ALWAYS_INLINE |
2859 | | void AddressComplex_FriendEntry::set_key(ArgT0&& arg0, ArgT... args) { |
2860 | | _impl_._has_bits_[0] |= 0x00000001u; |
2861 | | _impl_.key_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2862 | | // @@protoc_insertion_point(field_set:AddressComplex.FriendEntry.key) |
2863 | | } |
2864 | 0 | inline std::string* AddressComplex_FriendEntry::mutable_key() { |
2865 | 0 | std::string* _s = _internal_mutable_key(); |
2866 | 0 | // @@protoc_insertion_point(field_mutable:AddressComplex.FriendEntry.key) |
2867 | 0 | return _s; |
2868 | 0 | } |
2869 | 0 | inline const std::string& AddressComplex_FriendEntry::_internal_key() const { |
2870 | 0 | return _impl_.key_.Get(); |
2871 | 0 | } |
2872 | 0 | inline void AddressComplex_FriendEntry::_internal_set_key(const std::string& value) { |
2873 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2874 | 0 | _impl_.key_.Set(value, GetArenaForAllocation()); |
2875 | 0 | } |
2876 | 0 | inline std::string* AddressComplex_FriendEntry::_internal_mutable_key() { |
2877 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2878 | 0 | return _impl_.key_.Mutable(GetArenaForAllocation()); |
2879 | 0 | } |
2880 | 0 | inline std::string* AddressComplex_FriendEntry::release_key() { |
2881 | 0 | // @@protoc_insertion_point(field_release:AddressComplex.FriendEntry.key) |
2882 | 0 | if (!_internal_has_key()) { |
2883 | 0 | return nullptr; |
2884 | 0 | } |
2885 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2886 | 0 | auto* p = _impl_.key_.Release(); |
2887 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2888 | 0 | if (_impl_.key_.IsDefault()) { |
2889 | 0 | _impl_.key_.Set("", GetArenaForAllocation()); |
2890 | 0 | } |
2891 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2892 | 0 | return p; |
2893 | 0 | } |
2894 | 0 | inline void AddressComplex_FriendEntry::set_allocated_key(std::string* key) { |
2895 | 0 | if (key != nullptr) { |
2896 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2897 | 0 | } else { |
2898 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2899 | 0 | } |
2900 | 0 | _impl_.key_.SetAllocated(key, GetArenaForAllocation()); |
2901 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2902 | 0 | if (_impl_.key_.IsDefault()) { |
2903 | 0 | _impl_.key_.Set("", GetArenaForAllocation()); |
2904 | 0 | } |
2905 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
2906 | 0 | // @@protoc_insertion_point(field_set_allocated:AddressComplex.FriendEntry.key) |
2907 | 0 | } |
2908 | | |
2909 | | // repeated .AddressComplex.FriendEntry.Education value = 2; |
2910 | 0 | inline int AddressComplex_FriendEntry::_internal_value_size() const { |
2911 | 0 | return _impl_.value_.size(); |
2912 | 0 | } |
2913 | 0 | inline int AddressComplex_FriendEntry::value_size() const { |
2914 | 0 | return _internal_value_size(); |
2915 | 0 | } |
2916 | 0 | inline void AddressComplex_FriendEntry::clear_value() { |
2917 | 0 | _impl_.value_.Clear(); |
2918 | 0 | } |
2919 | 0 | inline ::AddressComplex_FriendEntry_Education* AddressComplex_FriendEntry::mutable_value(int index) { |
2920 | 0 | // @@protoc_insertion_point(field_mutable:AddressComplex.FriendEntry.value) |
2921 | 0 | return _impl_.value_.Mutable(index); |
2922 | 0 | } |
2923 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressComplex_FriendEntry_Education >* |
2924 | 0 | AddressComplex_FriendEntry::mutable_value() { |
2925 | 0 | // @@protoc_insertion_point(field_mutable_list:AddressComplex.FriendEntry.value) |
2926 | 0 | return &_impl_.value_; |
2927 | 0 | } |
2928 | 0 | inline const ::AddressComplex_FriendEntry_Education& AddressComplex_FriendEntry::_internal_value(int index) const { |
2929 | 0 | return _impl_.value_.Get(index); |
2930 | 0 | } |
2931 | 0 | inline const ::AddressComplex_FriendEntry_Education& AddressComplex_FriendEntry::value(int index) const { |
2932 | 0 | // @@protoc_insertion_point(field_get:AddressComplex.FriendEntry.value) |
2933 | 0 | return _internal_value(index); |
2934 | 0 | } |
2935 | 0 | inline ::AddressComplex_FriendEntry_Education* AddressComplex_FriendEntry::_internal_add_value() { |
2936 | 0 | return _impl_.value_.Add(); |
2937 | 0 | } |
2938 | 0 | inline ::AddressComplex_FriendEntry_Education* AddressComplex_FriendEntry::add_value() { |
2939 | 0 | ::AddressComplex_FriendEntry_Education* _add = _internal_add_value(); |
2940 | 0 | // @@protoc_insertion_point(field_add:AddressComplex.FriendEntry.value) |
2941 | 0 | return _add; |
2942 | 0 | } |
2943 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressComplex_FriendEntry_Education >& |
2944 | 0 | AddressComplex_FriendEntry::value() const { |
2945 | 0 | // @@protoc_insertion_point(field_list:AddressComplex.FriendEntry.value) |
2946 | 0 | return _impl_.value_; |
2947 | 0 | } |
2948 | | |
2949 | | // ------------------------------------------------------------------- |
2950 | | |
2951 | | // AddressComplex |
2952 | | |
2953 | | // required string addr = 1; |
2954 | 0 | inline bool AddressComplex::_internal_has_addr() const { |
2955 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2956 | 0 | return value; |
2957 | 0 | } |
2958 | 0 | inline bool AddressComplex::has_addr() const { |
2959 | 0 | return _internal_has_addr(); |
2960 | 0 | } |
2961 | 0 | inline void AddressComplex::clear_addr() { |
2962 | 0 | _impl_.addr_.ClearToEmpty(); |
2963 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2964 | 0 | } |
2965 | 0 | inline const std::string& AddressComplex::addr() const { |
2966 | 0 | // @@protoc_insertion_point(field_get:AddressComplex.addr) |
2967 | 0 | return _internal_addr(); |
2968 | 0 | } |
2969 | | template <typename ArgT0, typename... ArgT> |
2970 | | inline PROTOBUF_ALWAYS_INLINE |
2971 | | void AddressComplex::set_addr(ArgT0&& arg0, ArgT... args) { |
2972 | | _impl_._has_bits_[0] |= 0x00000001u; |
2973 | | _impl_.addr_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
2974 | | // @@protoc_insertion_point(field_set:AddressComplex.addr) |
2975 | | } |
2976 | 0 | inline std::string* AddressComplex::mutable_addr() { |
2977 | 0 | std::string* _s = _internal_mutable_addr(); |
2978 | 0 | // @@protoc_insertion_point(field_mutable:AddressComplex.addr) |
2979 | 0 | return _s; |
2980 | 0 | } |
2981 | 0 | inline const std::string& AddressComplex::_internal_addr() const { |
2982 | 0 | return _impl_.addr_.Get(); |
2983 | 0 | } |
2984 | 0 | inline void AddressComplex::_internal_set_addr(const std::string& value) { |
2985 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2986 | 0 | _impl_.addr_.Set(value, GetArenaForAllocation()); |
2987 | 0 | } |
2988 | 0 | inline std::string* AddressComplex::_internal_mutable_addr() { |
2989 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2990 | 0 | return _impl_.addr_.Mutable(GetArenaForAllocation()); |
2991 | 0 | } |
2992 | 0 | inline std::string* AddressComplex::release_addr() { |
2993 | 0 | // @@protoc_insertion_point(field_release:AddressComplex.addr) |
2994 | 0 | if (!_internal_has_addr()) { |
2995 | 0 | return nullptr; |
2996 | 0 | } |
2997 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2998 | 0 | auto* p = _impl_.addr_.Release(); |
2999 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
3000 | 0 | if (_impl_.addr_.IsDefault()) { |
3001 | 0 | _impl_.addr_.Set("", GetArenaForAllocation()); |
3002 | 0 | } |
3003 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
3004 | 0 | return p; |
3005 | 0 | } |
3006 | 0 | inline void AddressComplex::set_allocated_addr(std::string* addr) { |
3007 | 0 | if (addr != nullptr) { |
3008 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3009 | 0 | } else { |
3010 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3011 | 0 | } |
3012 | 0 | _impl_.addr_.SetAllocated(addr, GetArenaForAllocation()); |
3013 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
3014 | 0 | if (_impl_.addr_.IsDefault()) { |
3015 | 0 | _impl_.addr_.Set("", GetArenaForAllocation()); |
3016 | 0 | } |
3017 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
3018 | 0 | // @@protoc_insertion_point(field_set_allocated:AddressComplex.addr) |
3019 | 0 | } |
3020 | | |
3021 | | // repeated .AddressComplex.FriendEntry friends = 2; |
3022 | 0 | inline int AddressComplex::_internal_friends_size() const { |
3023 | 0 | return _impl_.friends_.size(); |
3024 | 0 | } |
3025 | 0 | inline int AddressComplex::friends_size() const { |
3026 | 0 | return _internal_friends_size(); |
3027 | 0 | } |
3028 | 0 | inline void AddressComplex::clear_friends() { |
3029 | 0 | _impl_.friends_.Clear(); |
3030 | 0 | } |
3031 | 0 | inline ::AddressComplex_FriendEntry* AddressComplex::mutable_friends(int index) { |
3032 | 0 | // @@protoc_insertion_point(field_mutable:AddressComplex.friends) |
3033 | 0 | return _impl_.friends_.Mutable(index); |
3034 | 0 | } |
3035 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressComplex_FriendEntry >* |
3036 | 0 | AddressComplex::mutable_friends() { |
3037 | 0 | // @@protoc_insertion_point(field_mutable_list:AddressComplex.friends) |
3038 | 0 | return &_impl_.friends_; |
3039 | 0 | } |
3040 | 0 | inline const ::AddressComplex_FriendEntry& AddressComplex::_internal_friends(int index) const { |
3041 | 0 | return _impl_.friends_.Get(index); |
3042 | 0 | } |
3043 | 0 | inline const ::AddressComplex_FriendEntry& AddressComplex::friends(int index) const { |
3044 | 0 | // @@protoc_insertion_point(field_get:AddressComplex.friends) |
3045 | 0 | return _internal_friends(index); |
3046 | 0 | } |
3047 | 0 | inline ::AddressComplex_FriendEntry* AddressComplex::_internal_add_friends() { |
3048 | 0 | return _impl_.friends_.Add(); |
3049 | 0 | } |
3050 | 0 | inline ::AddressComplex_FriendEntry* AddressComplex::add_friends() { |
3051 | 0 | ::AddressComplex_FriendEntry* _add = _internal_add_friends(); |
3052 | 0 | // @@protoc_insertion_point(field_add:AddressComplex.friends) |
3053 | 0 | return _add; |
3054 | 0 | } |
3055 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AddressComplex_FriendEntry >& |
3056 | 0 | AddressComplex::friends() const { |
3057 | 0 | // @@protoc_insertion_point(field_list:AddressComplex.friends) |
3058 | 0 | return _impl_.friends_; |
3059 | 0 | } |
3060 | | |
3061 | | // ------------------------------------------------------------------- |
3062 | | |
3063 | | // ------------------------------------------------------------------- |
3064 | | |
3065 | | // AddressIntMapStd |
3066 | | |
3067 | | // required string addr = 1; |
3068 | 0 | inline bool AddressIntMapStd::_internal_has_addr() const { |
3069 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
3070 | 0 | return value; |
3071 | 0 | } |
3072 | 0 | inline bool AddressIntMapStd::has_addr() const { |
3073 | 0 | return _internal_has_addr(); |
3074 | 0 | } |
3075 | 0 | inline void AddressIntMapStd::clear_addr() { |
3076 | 0 | _impl_.addr_.ClearToEmpty(); |
3077 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3078 | 0 | } |
3079 | 0 | inline const std::string& AddressIntMapStd::addr() const { |
3080 | 0 | // @@protoc_insertion_point(field_get:AddressIntMapStd.addr) |
3081 | 0 | return _internal_addr(); |
3082 | 0 | } |
3083 | | template <typename ArgT0, typename... ArgT> |
3084 | | inline PROTOBUF_ALWAYS_INLINE |
3085 | | void AddressIntMapStd::set_addr(ArgT0&& arg0, ArgT... args) { |
3086 | | _impl_._has_bits_[0] |= 0x00000001u; |
3087 | | _impl_.addr_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
3088 | | // @@protoc_insertion_point(field_set:AddressIntMapStd.addr) |
3089 | | } |
3090 | 0 | inline std::string* AddressIntMapStd::mutable_addr() { |
3091 | 0 | std::string* _s = _internal_mutable_addr(); |
3092 | 0 | // @@protoc_insertion_point(field_mutable:AddressIntMapStd.addr) |
3093 | 0 | return _s; |
3094 | 0 | } |
3095 | 0 | inline const std::string& AddressIntMapStd::_internal_addr() const { |
3096 | 0 | return _impl_.addr_.Get(); |
3097 | 0 | } |
3098 | 0 | inline void AddressIntMapStd::_internal_set_addr(const std::string& value) { |
3099 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3100 | 0 | _impl_.addr_.Set(value, GetArenaForAllocation()); |
3101 | 0 | } |
3102 | 0 | inline std::string* AddressIntMapStd::_internal_mutable_addr() { |
3103 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3104 | 0 | return _impl_.addr_.Mutable(GetArenaForAllocation()); |
3105 | 0 | } |
3106 | 0 | inline std::string* AddressIntMapStd::release_addr() { |
3107 | 0 | // @@protoc_insertion_point(field_release:AddressIntMapStd.addr) |
3108 | 0 | if (!_internal_has_addr()) { |
3109 | 0 | return nullptr; |
3110 | 0 | } |
3111 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3112 | 0 | auto* p = _impl_.addr_.Release(); |
3113 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
3114 | 0 | if (_impl_.addr_.IsDefault()) { |
3115 | 0 | _impl_.addr_.Set("", GetArenaForAllocation()); |
3116 | 0 | } |
3117 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
3118 | 0 | return p; |
3119 | 0 | } |
3120 | 0 | inline void AddressIntMapStd::set_allocated_addr(std::string* addr) { |
3121 | 0 | if (addr != nullptr) { |
3122 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3123 | 0 | } else { |
3124 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3125 | 0 | } |
3126 | 0 | _impl_.addr_.SetAllocated(addr, GetArenaForAllocation()); |
3127 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
3128 | 0 | if (_impl_.addr_.IsDefault()) { |
3129 | 0 | _impl_.addr_.Set("", GetArenaForAllocation()); |
3130 | 0 | } |
3131 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
3132 | 0 | // @@protoc_insertion_point(field_set_allocated:AddressIntMapStd.addr) |
3133 | 0 | } |
3134 | | |
3135 | | // map<string, int32> numbers = 2; |
3136 | 0 | inline int AddressIntMapStd::_internal_numbers_size() const { |
3137 | 0 | return _impl_.numbers_.size(); |
3138 | 0 | } |
3139 | 0 | inline int AddressIntMapStd::numbers_size() const { |
3140 | 0 | return _internal_numbers_size(); |
3141 | 0 | } |
3142 | 0 | inline void AddressIntMapStd::clear_numbers() { |
3143 | 0 | _impl_.numbers_.Clear(); |
3144 | 0 | } |
3145 | | inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >& |
3146 | 0 | AddressIntMapStd::_internal_numbers() const { |
3147 | 0 | return _impl_.numbers_.GetMap(); |
3148 | 0 | } |
3149 | | inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >& |
3150 | 0 | AddressIntMapStd::numbers() const { |
3151 | 0 | // @@protoc_insertion_point(field_map:AddressIntMapStd.numbers) |
3152 | 0 | return _internal_numbers(); |
3153 | 0 | } |
3154 | | inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >* |
3155 | 0 | AddressIntMapStd::_internal_mutable_numbers() { |
3156 | 0 | return _impl_.numbers_.MutableMap(); |
3157 | 0 | } |
3158 | | inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >* |
3159 | 0 | AddressIntMapStd::mutable_numbers() { |
3160 | 0 | // @@protoc_insertion_point(field_mutable_map:AddressIntMapStd.numbers) |
3161 | 0 | return _internal_mutable_numbers(); |
3162 | 0 | } |
3163 | | |
3164 | | // ------------------------------------------------------------------- |
3165 | | |
3166 | | // ------------------------------------------------------------------- |
3167 | | |
3168 | | // AddressStringMapStd |
3169 | | |
3170 | | // required string addr = 1; |
3171 | 0 | inline bool AddressStringMapStd::_internal_has_addr() const { |
3172 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
3173 | 0 | return value; |
3174 | 0 | } |
3175 | 0 | inline bool AddressStringMapStd::has_addr() const { |
3176 | 0 | return _internal_has_addr(); |
3177 | 0 | } |
3178 | 0 | inline void AddressStringMapStd::clear_addr() { |
3179 | 0 | _impl_.addr_.ClearToEmpty(); |
3180 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3181 | 0 | } |
3182 | 0 | inline const std::string& AddressStringMapStd::addr() const { |
3183 | 0 | // @@protoc_insertion_point(field_get:AddressStringMapStd.addr) |
3184 | 0 | return _internal_addr(); |
3185 | 0 | } |
3186 | | template <typename ArgT0, typename... ArgT> |
3187 | | inline PROTOBUF_ALWAYS_INLINE |
3188 | | void AddressStringMapStd::set_addr(ArgT0&& arg0, ArgT... args) { |
3189 | | _impl_._has_bits_[0] |= 0x00000001u; |
3190 | | _impl_.addr_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
3191 | | // @@protoc_insertion_point(field_set:AddressStringMapStd.addr) |
3192 | | } |
3193 | 0 | inline std::string* AddressStringMapStd::mutable_addr() { |
3194 | 0 | std::string* _s = _internal_mutable_addr(); |
3195 | 0 | // @@protoc_insertion_point(field_mutable:AddressStringMapStd.addr) |
3196 | 0 | return _s; |
3197 | 0 | } |
3198 | 0 | inline const std::string& AddressStringMapStd::_internal_addr() const { |
3199 | 0 | return _impl_.addr_.Get(); |
3200 | 0 | } |
3201 | 0 | inline void AddressStringMapStd::_internal_set_addr(const std::string& value) { |
3202 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3203 | 0 | _impl_.addr_.Set(value, GetArenaForAllocation()); |
3204 | 0 | } |
3205 | 0 | inline std::string* AddressStringMapStd::_internal_mutable_addr() { |
3206 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3207 | 0 | return _impl_.addr_.Mutable(GetArenaForAllocation()); |
3208 | 0 | } |
3209 | 0 | inline std::string* AddressStringMapStd::release_addr() { |
3210 | 0 | // @@protoc_insertion_point(field_release:AddressStringMapStd.addr) |
3211 | 0 | if (!_internal_has_addr()) { |
3212 | 0 | return nullptr; |
3213 | 0 | } |
3214 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3215 | 0 | auto* p = _impl_.addr_.Release(); |
3216 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
3217 | 0 | if (_impl_.addr_.IsDefault()) { |
3218 | 0 | _impl_.addr_.Set("", GetArenaForAllocation()); |
3219 | 0 | } |
3220 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
3221 | 0 | return p; |
3222 | 0 | } |
3223 | 0 | inline void AddressStringMapStd::set_allocated_addr(std::string* addr) { |
3224 | 0 | if (addr != nullptr) { |
3225 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3226 | 0 | } else { |
3227 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3228 | 0 | } |
3229 | 0 | _impl_.addr_.SetAllocated(addr, GetArenaForAllocation()); |
3230 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
3231 | 0 | if (_impl_.addr_.IsDefault()) { |
3232 | 0 | _impl_.addr_.Set("", GetArenaForAllocation()); |
3233 | 0 | } |
3234 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
3235 | 0 | // @@protoc_insertion_point(field_set_allocated:AddressStringMapStd.addr) |
3236 | 0 | } |
3237 | | |
3238 | | // map<string, string> contacts = 2; |
3239 | 0 | inline int AddressStringMapStd::_internal_contacts_size() const { |
3240 | 0 | return _impl_.contacts_.size(); |
3241 | 0 | } |
3242 | 0 | inline int AddressStringMapStd::contacts_size() const { |
3243 | 0 | return _internal_contacts_size(); |
3244 | 0 | } |
3245 | 0 | inline void AddressStringMapStd::clear_contacts() { |
3246 | 0 | _impl_.contacts_.Clear(); |
3247 | 0 | } |
3248 | | inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& |
3249 | 0 | AddressStringMapStd::_internal_contacts() const { |
3250 | 0 | return _impl_.contacts_.GetMap(); |
3251 | 0 | } |
3252 | | inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& |
3253 | 0 | AddressStringMapStd::contacts() const { |
3254 | 0 | // @@protoc_insertion_point(field_map:AddressStringMapStd.contacts) |
3255 | 0 | return _internal_contacts(); |
3256 | 0 | } |
3257 | | inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* |
3258 | 0 | AddressStringMapStd::_internal_mutable_contacts() { |
3259 | 0 | return _impl_.contacts_.MutableMap(); |
3260 | 0 | } |
3261 | | inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* |
3262 | 0 | AddressStringMapStd::mutable_contacts() { |
3263 | 0 | // @@protoc_insertion_point(field_mutable_map:AddressStringMapStd.contacts) |
3264 | 0 | return _internal_mutable_contacts(); |
3265 | 0 | } |
3266 | | |
3267 | | // ------------------------------------------------------------------- |
3268 | | |
3269 | | // haha |
3270 | | |
3271 | | // repeated int32 a = 1; |
3272 | 0 | inline int haha::_internal_a_size() const { |
3273 | 0 | return _impl_.a_.size(); |
3274 | 0 | } |
3275 | 0 | inline int haha::a_size() const { |
3276 | 0 | return _internal_a_size(); |
3277 | 0 | } |
3278 | 0 | inline void haha::clear_a() { |
3279 | 0 | _impl_.a_.Clear(); |
3280 | 0 | } |
3281 | 0 | inline int32_t haha::_internal_a(int index) const { |
3282 | 0 | return _impl_.a_.Get(index); |
3283 | 0 | } |
3284 | 0 | inline int32_t haha::a(int index) const { |
3285 | 0 | // @@protoc_insertion_point(field_get:haha.a) |
3286 | 0 | return _internal_a(index); |
3287 | 0 | } |
3288 | 0 | inline void haha::set_a(int index, int32_t value) { |
3289 | 0 | _impl_.a_.Set(index, value); |
3290 | 0 | // @@protoc_insertion_point(field_set:haha.a) |
3291 | 0 | } |
3292 | 0 | inline void haha::_internal_add_a(int32_t value) { |
3293 | 0 | _impl_.a_.Add(value); |
3294 | 0 | } |
3295 | 0 | inline void haha::add_a(int32_t value) { |
3296 | 0 | _internal_add_a(value); |
3297 | 0 | // @@protoc_insertion_point(field_add:haha.a) |
3298 | 0 | } |
3299 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
3300 | 0 | haha::_internal_a() const { |
3301 | 0 | return _impl_.a_; |
3302 | 0 | } |
3303 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
3304 | 0 | haha::a() const { |
3305 | 0 | // @@protoc_insertion_point(field_list:haha.a) |
3306 | 0 | return _internal_a(); |
3307 | 0 | } |
3308 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
3309 | 0 | haha::_internal_mutable_a() { |
3310 | 0 | return &_impl_.a_; |
3311 | 0 | } |
3312 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
3313 | 0 | haha::mutable_a() { |
3314 | 0 | // @@protoc_insertion_point(field_mutable_list:haha.a) |
3315 | 0 | return _internal_mutable_a(); |
3316 | 0 | } |
3317 | | |
3318 | | #ifdef __GNUC__ |
3319 | | #pragma GCC diagnostic pop |
3320 | | #endif // __GNUC__ |
3321 | | // ------------------------------------------------------------------- |
3322 | | |
3323 | | // ------------------------------------------------------------------- |
3324 | | |
3325 | | // ------------------------------------------------------------------- |
3326 | | |
3327 | | // ------------------------------------------------------------------- |
3328 | | |
3329 | | // ------------------------------------------------------------------- |
3330 | | |
3331 | | // ------------------------------------------------------------------- |
3332 | | |
3333 | | // ------------------------------------------------------------------- |
3334 | | |
3335 | | // ------------------------------------------------------------------- |
3336 | | |
3337 | | // ------------------------------------------------------------------- |
3338 | | |
3339 | | // ------------------------------------------------------------------- |
3340 | | |
3341 | | // ------------------------------------------------------------------- |
3342 | | |
3343 | | // ------------------------------------------------------------------- |
3344 | | |
3345 | | |
3346 | | // @@protoc_insertion_point(namespace_scope) |
3347 | | |
3348 | | |
3349 | | // @@protoc_insertion_point(global_scope) |
3350 | | |
3351 | | #include <google/protobuf/port_undef.inc> |
3352 | | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_addressbook_5fmap_2eproto |