Coverage Report

Created: 2026-01-09 06:11

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