Coverage Report

Created: 2025-12-17 06:32

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/brpc/build/test/addressbook1.pb.h
Line
Count
Source
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: addressbook1.proto
3
4
#ifndef GOOGLE_PROTOBUF_INCLUDED_addressbook1_2eproto
5
#define GOOGLE_PROTOBUF_INCLUDED_addressbook1_2eproto
6
7
#include <limits>
8
#include <string>
9
10
#include <google/protobuf/port_def.inc>
11
#if PROTOBUF_VERSION < 3021000
12
#error This file was generated by a newer version of protoc which is
13
#error incompatible with your Protocol Buffer headers. Please update
14
#error your headers.
15
#endif
16
#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17
#error This file was generated by an older version of protoc which is
18
#error incompatible with your Protocol Buffer headers. Please
19
#error regenerate this file with a newer version of protoc.
20
#endif
21
22
#include <google/protobuf/port_undef.inc>
23
#include <google/protobuf/io/coded_stream.h>
24
#include <google/protobuf/arena.h>
25
#include <google/protobuf/arenastring.h>
26
#include <google/protobuf/generated_message_util.h>
27
#include <google/protobuf/metadata_lite.h>
28
#include <google/protobuf/generated_message_reflection.h>
29
#include <google/protobuf/message.h>
30
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
31
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
32
#include <google/protobuf/generated_enum_reflection.h>
33
#include <google/protobuf/unknown_field_set.h>
34
// @@protoc_insertion_point(includes)
35
#include <google/protobuf/port_def.inc>
36
#define PROTOBUF_INTERNAL_EXPORT_addressbook1_2eproto
37
PROTOBUF_NAMESPACE_OPEN
38
namespace internal {
39
class AnyMetadata;
40
}  // namespace internal
41
PROTOBUF_NAMESPACE_CLOSE
42
43
// Internal implementation detail -- do not use these members.
44
struct TableStruct_addressbook1_2eproto {
45
  static const uint32_t offsets[];
46
};
47
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_addressbook1_2eproto;
48
class AddressBook;
49
struct AddressBookDefaultTypeInternal;
50
extern AddressBookDefaultTypeInternal _AddressBook_default_instance_;
51
class Content;
52
struct ContentDefaultTypeInternal;
53
extern ContentDefaultTypeInternal _Content_default_instance_;
54
class Ext;
55
struct ExtDefaultTypeInternal;
56
extern ExtDefaultTypeInternal _Ext_default_instance_;
57
class JsonContextBody;
58
struct JsonContextBodyDefaultTypeInternal;
59
extern JsonContextBodyDefaultTypeInternal _JsonContextBody_default_instance_;
60
class PersonInfo;
61
struct PersonInfoDefaultTypeInternal;
62
extern PersonInfoDefaultTypeInternal _PersonInfo_default_instance_;
63
PROTOBUF_NAMESPACE_OPEN
64
template<> ::AddressBook* Arena::CreateMaybeMessage<::AddressBook>(Arena*);
65
template<> ::Content* Arena::CreateMaybeMessage<::Content>(Arena*);
66
template<> ::Ext* Arena::CreateMaybeMessage<::Ext>(Arena*);
67
template<> ::JsonContextBody* Arena::CreateMaybeMessage<::JsonContextBody>(Arena*);
68
template<> ::PersonInfo* Arena::CreateMaybeMessage<::PersonInfo>(Arena*);
69
PROTOBUF_NAMESPACE_CLOSE
70
71
enum Ext_PhoneType : int {
72
  Ext_PhoneType_MOBILE = 0,
73
  Ext_PhoneType_HOME = 1,
74
  Ext_PhoneType_WORK = 2
75
};
76
bool Ext_PhoneType_IsValid(int value);
77
constexpr Ext_PhoneType Ext_PhoneType_PhoneType_MIN = Ext_PhoneType_MOBILE;
78
constexpr Ext_PhoneType Ext_PhoneType_PhoneType_MAX = Ext_PhoneType_WORK;
79
constexpr int Ext_PhoneType_PhoneType_ARRAYSIZE = Ext_PhoneType_PhoneType_MAX + 1;
80
81
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Ext_PhoneType_descriptor();
82
template<typename T>
83
inline const std::string& Ext_PhoneType_Name(T enum_t_value) {
84
  static_assert(::std::is_same<T, Ext_PhoneType>::value ||
85
    ::std::is_integral<T>::value,
86
    "Incorrect type passed to function Ext_PhoneType_Name.");
87
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
88
    Ext_PhoneType_descriptor(), enum_t_value);
89
}
90
inline bool Ext_PhoneType_Parse(
91
0
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Ext_PhoneType* value) {
92
0
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Ext_PhoneType>(
93
0
    Ext_PhoneType_descriptor(), name, value);
94
0
}
95
// ===================================================================
96
97
class Ext final :
98
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Ext) */ {
99
 public:
100
0
  inline Ext() : Ext(nullptr) {}
101
  ~Ext() override;
102
  explicit PROTOBUF_CONSTEXPR Ext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
103
104
  Ext(const Ext& from);
105
  Ext(Ext&& from) noexcept
106
0
    : Ext() {
107
0
    *this = ::std::move(from);
108
0
  }
109
110
0
  inline Ext& operator=(const Ext& from) {
111
0
    CopyFrom(from);
112
0
    return *this;
113
0
  }
114
0
  inline Ext& operator=(Ext&& from) noexcept {
115
0
    if (this == &from) return *this;
116
0
    if (GetOwningArena() == from.GetOwningArena()
117
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
118
0
        && GetOwningArena() != nullptr
119
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
120
0
    ) {
121
0
      InternalSwap(&from);
122
0
    } else {
123
0
      CopyFrom(from);
124
0
    }
125
0
    return *this;
126
0
  }
127
128
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
129
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
130
0
  }
131
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
132
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
133
0
  }
134
135
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
136
0
    return GetDescriptor();
137
0
  }
138
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
139
0
    return default_instance().GetMetadata().descriptor;
140
0
  }
141
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
142
0
    return default_instance().GetMetadata().reflection;
143
0
  }
144
0
  static const Ext& default_instance() {
145
0
    return *internal_default_instance();
146
0
  }
147
0
  static inline const Ext* internal_default_instance() {
148
0
    return reinterpret_cast<const Ext*>(
149
0
               &_Ext_default_instance_);
150
0
  }
151
  static constexpr int kIndexInFileMessages =
152
    0;
153
154
0
  friend void swap(Ext& a, Ext& b) {
155
0
    a.Swap(&b);
156
0
  }
157
0
  inline void Swap(Ext* other) {
158
0
    if (other == this) return;
159
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
160
0
    if (GetOwningArena() != nullptr &&
161
0
        GetOwningArena() == other->GetOwningArena()) {
162
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
163
0
    if (GetOwningArena() == other->GetOwningArena()) {
164
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
165
0
      InternalSwap(other);
166
0
    } else {
167
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
168
0
    }
169
0
  }
170
0
  void UnsafeArenaSwap(Ext* other) {
171
0
    if (other == this) return;
172
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
173
0
    InternalSwap(other);
174
0
  }
175
176
  // implements Message ----------------------------------------------
177
178
0
  Ext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
179
0
    return CreateMaybeMessage<Ext>(arena);
180
0
  }
181
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
182
  void CopyFrom(const Ext& from);
183
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
184
0
  void MergeFrom( const Ext& from) {
185
0
    Ext::MergeImpl(*this, from);
186
0
  }
187
  private:
188
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
189
  public:
190
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
191
  bool IsInitialized() const final;
192
193
  size_t ByteSizeLong() const final;
194
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
195
  uint8_t* _InternalSerialize(
196
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
197
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
198
199
  private:
200
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
201
  void SharedDtor();
202
  void SetCachedSize(int size) const final;
203
  void InternalSwap(Ext* other);
204
205
  private:
206
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
207
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
208
0
    return "Ext";
209
0
  }
210
  protected:
211
  explicit Ext(::PROTOBUF_NAMESPACE_ID::Arena* arena,
212
                       bool is_message_owned = false);
213
  public:
214
215
  static const ClassData _class_data_;
216
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
217
218
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
219
220
  // nested types ----------------------------------------------------
221
222
  typedef Ext_PhoneType PhoneType;
223
  static constexpr PhoneType MOBILE =
224
    Ext_PhoneType_MOBILE;
225
  static constexpr PhoneType HOME =
226
    Ext_PhoneType_HOME;
227
  static constexpr PhoneType WORK =
228
    Ext_PhoneType_WORK;
229
0
  static inline bool PhoneType_IsValid(int value) {
230
0
    return Ext_PhoneType_IsValid(value);
231
0
  }
232
  static constexpr PhoneType PhoneType_MIN =
233
    Ext_PhoneType_PhoneType_MIN;
234
  static constexpr PhoneType PhoneType_MAX =
235
    Ext_PhoneType_PhoneType_MAX;
236
  static constexpr int PhoneType_ARRAYSIZE =
237
    Ext_PhoneType_PhoneType_ARRAYSIZE;
238
  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
239
0
  PhoneType_descriptor() {
240
0
    return Ext_PhoneType_descriptor();
241
0
  }
242
  template<typename T>
243
  static inline const std::string& PhoneType_Name(T enum_t_value) {
244
    static_assert(::std::is_same<T, PhoneType>::value ||
245
      ::std::is_integral<T>::value,
246
      "Incorrect type passed to function PhoneType_Name.");
247
    return Ext_PhoneType_Name(enum_t_value);
248
  }
249
  static inline bool PhoneType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
250
0
      PhoneType* value) {
251
0
    return Ext_PhoneType_Parse(name, value);
252
0
  }
253
254
  // accessors -------------------------------------------------------
255
256
  enum : int {
257
    kDatabyteFieldNumber = 3,
258
    kAgeFieldNumber = 2,
259
    kEnumtypeFieldNumber = 4,
260
  };
261
  // required bytes databyte = 3;
262
  bool has_databyte() const;
263
  private:
264
  bool _internal_has_databyte() const;
265
  public:
266
  void clear_databyte();
267
  const std::string& databyte() const;
268
  template <typename ArgT0 = const std::string&, typename... ArgT>
269
  void set_databyte(ArgT0&& arg0, ArgT... args);
270
  std::string* mutable_databyte();
271
  PROTOBUF_NODISCARD std::string* release_databyte();
272
  void set_allocated_databyte(std::string* databyte);
273
  private:
274
  const std::string& _internal_databyte() const;
275
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_databyte(const std::string& value);
276
  std::string* _internal_mutable_databyte();
277
  public:
278
279
  // optional fixed32 age = 2;
280
  bool has_age() const;
281
  private:
282
  bool _internal_has_age() const;
283
  public:
284
  void clear_age();
285
  uint32_t age() const;
286
  void set_age(uint32_t value);
287
  private:
288
  uint32_t _internal_age() const;
289
  void _internal_set_age(uint32_t value);
290
  public:
291
292
  // optional .Ext.PhoneType enumtype = 4 [default = HOME];
293
  bool has_enumtype() const;
294
  private:
295
  bool _internal_has_enumtype() const;
296
  public:
297
  void clear_enumtype();
298
  ::Ext_PhoneType enumtype() const;
299
  void set_enumtype(::Ext_PhoneType value);
300
  private:
301
  ::Ext_PhoneType _internal_enumtype() const;
302
  void _internal_set_enumtype(::Ext_PhoneType value);
303
  public:
304
305
  // @@protoc_insertion_point(class_scope:Ext)
306
 private:
307
  class _Internal;
308
309
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
310
  typedef void InternalArenaConstructable_;
311
  typedef void DestructorSkippable_;
312
  struct Impl_ {
313
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
314
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
315
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr databyte_;
316
    uint32_t age_;
317
    int enumtype_;
318
  };
319
  union { Impl_ _impl_; };
320
  friend struct ::TableStruct_addressbook1_2eproto;
321
};
322
// -------------------------------------------------------------------
323
324
class Content final :
325
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Content) */ {
326
 public:
327
0
  inline Content() : Content(nullptr) {}
328
  ~Content() override;
329
  explicit PROTOBUF_CONSTEXPR Content(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
330
331
  Content(const Content& from);
332
  Content(Content&& from) noexcept
333
0
    : Content() {
334
0
    *this = ::std::move(from);
335
0
  }
336
337
0
  inline Content& operator=(const Content& from) {
338
0
    CopyFrom(from);
339
0
    return *this;
340
0
  }
341
0
  inline Content& operator=(Content&& from) noexcept {
342
0
    if (this == &from) return *this;
343
0
    if (GetOwningArena() == from.GetOwningArena()
344
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
345
0
        && GetOwningArena() != nullptr
346
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
347
0
    ) {
348
0
      InternalSwap(&from);
349
0
    } else {
350
0
      CopyFrom(from);
351
0
    }
352
0
    return *this;
353
0
  }
354
355
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
356
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
357
0
  }
358
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
359
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
360
0
  }
361
362
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
363
0
    return GetDescriptor();
364
0
  }
365
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
366
0
    return default_instance().GetMetadata().descriptor;
367
0
  }
368
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
369
0
    return default_instance().GetMetadata().reflection;
370
0
  }
371
0
  static const Content& default_instance() {
372
0
    return *internal_default_instance();
373
0
  }
374
0
  static inline const Content* internal_default_instance() {
375
0
    return reinterpret_cast<const Content*>(
376
0
               &_Content_default_instance_);
377
0
  }
378
  static constexpr int kIndexInFileMessages =
379
    1;
380
381
0
  friend void swap(Content& a, Content& b) {
382
0
    a.Swap(&b);
383
0
  }
384
0
  inline void Swap(Content* other) {
385
0
    if (other == this) return;
386
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
387
0
    if (GetOwningArena() != nullptr &&
388
0
        GetOwningArena() == other->GetOwningArena()) {
389
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
390
0
    if (GetOwningArena() == other->GetOwningArena()) {
391
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
392
0
      InternalSwap(other);
393
0
    } else {
394
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
395
0
    }
396
0
  }
397
0
  void UnsafeArenaSwap(Content* other) {
398
0
    if (other == this) return;
399
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
400
0
    InternalSwap(other);
401
0
  }
402
403
  // implements Message ----------------------------------------------
404
405
0
  Content* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
406
0
    return CreateMaybeMessage<Content>(arena);
407
0
  }
408
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
409
  void CopyFrom(const Content& from);
410
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
411
0
  void MergeFrom( const Content& from) {
412
0
    Content::MergeImpl(*this, from);
413
0
  }
414
  private:
415
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
416
  public:
417
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
418
  bool IsInitialized() const final;
419
420
  size_t ByteSizeLong() const final;
421
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
422
  uint8_t* _InternalSerialize(
423
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
424
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
425
426
  private:
427
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
428
  void SharedDtor();
429
  void SetCachedSize(int size) const final;
430
  void InternalSwap(Content* other);
431
432
  private:
433
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
434
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
435
0
    return "Content";
436
0
  }
437
  protected:
438
  explicit Content(::PROTOBUF_NAMESPACE_ID::Arena* arena,
439
                       bool is_message_owned = false);
440
  public:
441
442
  static const ClassData _class_data_;
443
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
444
445
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
446
447
  // nested types ----------------------------------------------------
448
449
  // accessors -------------------------------------------------------
450
451
  enum : int {
452
    kUidFieldNumber = 1,
453
    kExtFieldNumber = 17,
454
    kDistanceFieldNumber = 16,
455
  };
456
  // optional string uid = 1;
457
  bool has_uid() const;
458
  private:
459
  bool _internal_has_uid() const;
460
  public:
461
  void clear_uid();
462
  const std::string& uid() const;
463
  template <typename ArgT0 = const std::string&, typename... ArgT>
464
  void set_uid(ArgT0&& arg0, ArgT... args);
465
  std::string* mutable_uid();
466
  PROTOBUF_NODISCARD std::string* release_uid();
467
  void set_allocated_uid(std::string* uid);
468
  private:
469
  const std::string& _internal_uid() const;
470
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_uid(const std::string& value);
471
  std::string* _internal_mutable_uid();
472
  public:
473
474
  // optional .Ext ext = 17;
475
  bool has_ext() const;
476
  private:
477
  bool _internal_has_ext() const;
478
  public:
479
  void clear_ext();
480
  const ::Ext& ext() const;
481
  PROTOBUF_NODISCARD ::Ext* release_ext();
482
  ::Ext* mutable_ext();
483
  void set_allocated_ext(::Ext* ext);
484
  private:
485
  const ::Ext& _internal_ext() const;
486
  ::Ext* _internal_mutable_ext();
487
  public:
488
  void unsafe_arena_set_allocated_ext(
489
      ::Ext* ext);
490
  ::Ext* unsafe_arena_release_ext();
491
492
  // required float distance = 16;
493
  bool has_distance() const;
494
  private:
495
  bool _internal_has_distance() const;
496
  public:
497
  void clear_distance();
498
  float distance() const;
499
  void set_distance(float value);
500
  private:
501
  float _internal_distance() const;
502
  void _internal_set_distance(float value);
503
  public:
504
505
  // @@protoc_insertion_point(class_scope:Content)
506
 private:
507
  class _Internal;
508
509
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
510
  typedef void InternalArenaConstructable_;
511
  typedef void DestructorSkippable_;
512
  struct Impl_ {
513
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
514
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
515
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uid_;
516
    ::Ext* ext_;
517
    float distance_;
518
  };
519
  union { Impl_ _impl_; };
520
  friend struct ::TableStruct_addressbook1_2eproto;
521
};
522
// -------------------------------------------------------------------
523
524
class JsonContextBody final :
525
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:JsonContextBody) */ {
526
 public:
527
0
  inline JsonContextBody() : JsonContextBody(nullptr) {}
528
  ~JsonContextBody() override;
529
  explicit PROTOBUF_CONSTEXPR JsonContextBody(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
530
531
  JsonContextBody(const JsonContextBody& from);
532
  JsonContextBody(JsonContextBody&& from) noexcept
533
0
    : JsonContextBody() {
534
0
    *this = ::std::move(from);
535
0
  }
536
537
0
  inline JsonContextBody& operator=(const JsonContextBody& from) {
538
0
    CopyFrom(from);
539
0
    return *this;
540
0
  }
541
0
  inline JsonContextBody& operator=(JsonContextBody&& from) noexcept {
542
0
    if (this == &from) return *this;
543
0
    if (GetOwningArena() == from.GetOwningArena()
544
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
545
0
        && GetOwningArena() != nullptr
546
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
547
0
    ) {
548
0
      InternalSwap(&from);
549
0
    } else {
550
0
      CopyFrom(from);
551
0
    }
552
0
    return *this;
553
0
  }
554
555
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
556
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
557
0
  }
558
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
559
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
560
0
  }
561
562
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
563
0
    return GetDescriptor();
564
0
  }
565
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
566
0
    return default_instance().GetMetadata().descriptor;
567
0
  }
568
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
569
0
    return default_instance().GetMetadata().reflection;
570
0
  }
571
0
  static const JsonContextBody& default_instance() {
572
0
    return *internal_default_instance();
573
0
  }
574
0
  static inline const JsonContextBody* internal_default_instance() {
575
0
    return reinterpret_cast<const JsonContextBody*>(
576
0
               &_JsonContextBody_default_instance_);
577
0
  }
578
  static constexpr int kIndexInFileMessages =
579
    2;
580
581
0
  friend void swap(JsonContextBody& a, JsonContextBody& b) {
582
0
    a.Swap(&b);
583
0
  }
584
0
  inline void Swap(JsonContextBody* other) {
585
0
    if (other == this) return;
586
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
587
0
    if (GetOwningArena() != nullptr &&
588
0
        GetOwningArena() == other->GetOwningArena()) {
589
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
590
0
    if (GetOwningArena() == other->GetOwningArena()) {
591
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
592
0
      InternalSwap(other);
593
0
    } else {
594
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
595
0
    }
596
0
  }
597
0
  void UnsafeArenaSwap(JsonContextBody* other) {
598
0
    if (other == this) return;
599
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
600
0
    InternalSwap(other);
601
0
  }
602
603
  // implements Message ----------------------------------------------
604
605
0
  JsonContextBody* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
606
0
    return CreateMaybeMessage<JsonContextBody>(arena);
607
0
  }
608
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
609
  void CopyFrom(const JsonContextBody& from);
610
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
611
0
  void MergeFrom( const JsonContextBody& from) {
612
0
    JsonContextBody::MergeImpl(*this, from);
613
0
  }
614
  private:
615
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
616
  public:
617
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
618
  bool IsInitialized() const final;
619
620
  size_t ByteSizeLong() const final;
621
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
622
  uint8_t* _InternalSerialize(
623
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
624
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
625
626
  private:
627
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
628
  void SharedDtor();
629
  void SetCachedSize(int size) const final;
630
  void InternalSwap(JsonContextBody* other);
631
632
  private:
633
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
634
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
635
0
    return "JsonContextBody";
636
0
  }
637
  protected:
638
  explicit JsonContextBody(::PROTOBUF_NAMESPACE_ID::Arena* arena,
639
                       bool is_message_owned = false);
640
  public:
641
642
  static const ClassData _class_data_;
643
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
644
645
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
646
647
  // nested types ----------------------------------------------------
648
649
  // accessors -------------------------------------------------------
650
651
  enum : int {
652
    kContentFieldNumber = 4,
653
    kDataFieldNumber = 5,
654
    kInfoFieldNumber = 6,
655
    kTypeFieldNumber = 1,
656
    kSpurFieldNumber = 3,
657
    kJudgeFieldNumber = 2,
658
    kTextFieldNumber = 7,
659
  };
660
  // repeated .Content content = 4;
661
  int content_size() const;
662
  private:
663
  int _internal_content_size() const;
664
  public:
665
  void clear_content();
666
  ::Content* mutable_content(int index);
667
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Content >*
668
      mutable_content();
669
  private:
670
  const ::Content& _internal_content(int index) const;
671
  ::Content* _internal_add_content();
672
  public:
673
  const ::Content& content(int index) const;
674
  ::Content* add_content();
675
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Content >&
676
      content() const;
677
678
  // repeated int32 data = 5;
679
  int data_size() const;
680
  private:
681
  int _internal_data_size() const;
682
  public:
683
  void clear_data();
684
  private:
685
  int32_t _internal_data(int index) const;
686
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
687
      _internal_data() const;
688
  void _internal_add_data(int32_t value);
689
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
690
      _internal_mutable_data();
691
  public:
692
  int32_t data(int index) const;
693
  void set_data(int index, int32_t value);
694
  void add_data(int32_t value);
695
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
696
      data() const;
697
  ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
698
      mutable_data();
699
700
  // repeated string info = 6;
701
  int info_size() const;
702
  private:
703
  int _internal_info_size() const;
704
  public:
705
  void clear_info();
706
  const std::string& info(int index) const;
707
  std::string* mutable_info(int index);
708
  void set_info(int index, const std::string& value);
709
  void set_info(int index, std::string&& value);
710
  void set_info(int index, const char* value);
711
  void set_info(int index, const char* value, size_t size);
712
  std::string* add_info();
713
  void add_info(const std::string& value);
714
  void add_info(std::string&& value);
715
  void add_info(const char* value);
716
  void add_info(const char* value, size_t size);
717
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& info() const;
718
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_info();
719
  private:
720
  const std::string& _internal_info(int index) const;
721
  std::string* _internal_add_info();
722
  public:
723
724
  // optional int64 type = 1;
725
  bool has_type() const;
726
  private:
727
  bool _internal_has_type() const;
728
  public:
729
  void clear_type();
730
  int64_t type() const;
731
  void set_type(int64_t value);
732
  private:
733
  int64_t _internal_type() const;
734
  void _internal_set_type(int64_t value);
735
  public:
736
737
  // required double spur = 3;
738
  bool has_spur() const;
739
  private:
740
  bool _internal_has_spur() const;
741
  public:
742
  void clear_spur();
743
  double spur() const;
744
  void set_spur(double value);
745
  private:
746
  double _internal_spur() const;
747
  void _internal_set_spur(double value);
748
  public:
749
750
  // required bool judge = 2;
751
  bool has_judge() const;
752
  private:
753
  bool _internal_has_judge() const;
754
  public:
755
  void clear_judge();
756
  bool judge() const;
757
  void set_judge(bool value);
758
  private:
759
  bool _internal_judge() const;
760
  void _internal_set_judge(bool value);
761
  public:
762
763
  // optional float text = 7;
764
  bool has_text() const;
765
  private:
766
  bool _internal_has_text() const;
767
  public:
768
  void clear_text();
769
  float text() const;
770
  void set_text(float value);
771
  private:
772
  float _internal_text() const;
773
  void _internal_set_text(float value);
774
  public:
775
776
  // @@protoc_insertion_point(class_scope:JsonContextBody)
777
 private:
778
  class _Internal;
779
780
  // helper for ByteSizeLong()
781
  size_t RequiredFieldsByteSizeFallback() const;
782
783
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
784
  typedef void InternalArenaConstructable_;
785
  typedef void DestructorSkippable_;
786
  struct Impl_ {
787
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
788
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
789
    ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Content > content_;
790
    ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > data_;
791
    ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> info_;
792
    int64_t type_;
793
    double spur_;
794
    bool judge_;
795
    float text_;
796
  };
797
  union { Impl_ _impl_; };
798
  friend struct ::TableStruct_addressbook1_2eproto;
799
};
800
// -------------------------------------------------------------------
801
802
class PersonInfo final :
803
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:PersonInfo) */ {
804
 public:
805
0
  inline PersonInfo() : PersonInfo(nullptr) {}
806
  ~PersonInfo() override;
807
  explicit PROTOBUF_CONSTEXPR PersonInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
808
809
  PersonInfo(const PersonInfo& from);
810
  PersonInfo(PersonInfo&& from) noexcept
811
0
    : PersonInfo() {
812
0
    *this = ::std::move(from);
813
0
  }
814
815
0
  inline PersonInfo& operator=(const PersonInfo& from) {
816
0
    CopyFrom(from);
817
0
    return *this;
818
0
  }
819
0
  inline PersonInfo& operator=(PersonInfo&& from) noexcept {
820
0
    if (this == &from) return *this;
821
0
    if (GetOwningArena() == from.GetOwningArena()
822
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
823
0
        && GetOwningArena() != nullptr
824
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
825
0
    ) {
826
0
      InternalSwap(&from);
827
0
    } else {
828
0
      CopyFrom(from);
829
0
    }
830
0
    return *this;
831
0
  }
832
833
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
834
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
835
0
  }
836
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
837
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
838
0
  }
839
840
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
841
0
    return GetDescriptor();
842
0
  }
843
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
844
0
    return default_instance().GetMetadata().descriptor;
845
0
  }
846
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
847
0
    return default_instance().GetMetadata().reflection;
848
0
  }
849
0
  static const PersonInfo& default_instance() {
850
0
    return *internal_default_instance();
851
0
  }
852
0
  static inline const PersonInfo* internal_default_instance() {
853
0
    return reinterpret_cast<const PersonInfo*>(
854
0
               &_PersonInfo_default_instance_);
855
0
  }
856
  static constexpr int kIndexInFileMessages =
857
    3;
858
859
0
  friend void swap(PersonInfo& a, PersonInfo& b) {
860
0
    a.Swap(&b);
861
0
  }
862
0
  inline void Swap(PersonInfo* other) {
863
0
    if (other == this) return;
864
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
865
0
    if (GetOwningArena() != nullptr &&
866
0
        GetOwningArena() == other->GetOwningArena()) {
867
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
868
0
    if (GetOwningArena() == other->GetOwningArena()) {
869
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
870
0
      InternalSwap(other);
871
0
    } else {
872
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
873
0
    }
874
0
  }
875
0
  void UnsafeArenaSwap(PersonInfo* other) {
876
0
    if (other == this) return;
877
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
878
0
    InternalSwap(other);
879
0
  }
880
881
  // implements Message ----------------------------------------------
882
883
0
  PersonInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
884
0
    return CreateMaybeMessage<PersonInfo>(arena);
885
0
  }
886
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
887
  void CopyFrom(const PersonInfo& from);
888
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
889
0
  void MergeFrom( const PersonInfo& from) {
890
0
    PersonInfo::MergeImpl(*this, from);
891
0
  }
892
  private:
893
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
894
  public:
895
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
896
  bool IsInitialized() const final;
897
898
  size_t ByteSizeLong() const final;
899
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
900
  uint8_t* _InternalSerialize(
901
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
902
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
903
904
  private:
905
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
906
  void SharedDtor();
907
  void SetCachedSize(int size) const final;
908
  void InternalSwap(PersonInfo* other);
909
910
  private:
911
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
912
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
913
0
    return "PersonInfo";
914
0
  }
915
  protected:
916
  explicit PersonInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
917
                       bool is_message_owned = false);
918
  public:
919
920
  static const ClassData _class_data_;
921
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
922
923
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
924
925
  // nested types ----------------------------------------------------
926
927
  // accessors -------------------------------------------------------
928
929
  enum : int {
930
    kNameFieldNumber = 1,
931
    kJsonBodyFieldNumber = 18,
932
    kIdFieldNumber = 2,
933
  };
934
  // optional string name = 1;
935
  bool has_name() const;
936
  private:
937
  bool _internal_has_name() const;
938
  public:
939
  void clear_name();
940
  const std::string& name() const;
941
  template <typename ArgT0 = const std::string&, typename... ArgT>
942
  void set_name(ArgT0&& arg0, ArgT... args);
943
  std::string* mutable_name();
944
  PROTOBUF_NODISCARD std::string* release_name();
945
  void set_allocated_name(std::string* name);
946
  private:
947
  const std::string& _internal_name() const;
948
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
949
  std::string* _internal_mutable_name();
950
  public:
951
952
  // optional .JsonContextBody json_body = 18;
953
  bool has_json_body() const;
954
  private:
955
  bool _internal_has_json_body() const;
956
  public:
957
  void clear_json_body();
958
  const ::JsonContextBody& json_body() const;
959
  PROTOBUF_NODISCARD ::JsonContextBody* release_json_body();
960
  ::JsonContextBody* mutable_json_body();
961
  void set_allocated_json_body(::JsonContextBody* json_body);
962
  private:
963
  const ::JsonContextBody& _internal_json_body() const;
964
  ::JsonContextBody* _internal_mutable_json_body();
965
  public:
966
  void unsafe_arena_set_allocated_json_body(
967
      ::JsonContextBody* json_body);
968
  ::JsonContextBody* unsafe_arena_release_json_body();
969
970
  // optional int32 id = 2;
971
  bool has_id() const;
972
  private:
973
  bool _internal_has_id() const;
974
  public:
975
  void clear_id();
976
  int32_t id() const;
977
  void set_id(int32_t value);
978
  private:
979
  int32_t _internal_id() const;
980
  void _internal_set_id(int32_t value);
981
  public:
982
983
  // @@protoc_insertion_point(class_scope:PersonInfo)
984
 private:
985
  class _Internal;
986
987
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
988
  typedef void InternalArenaConstructable_;
989
  typedef void DestructorSkippable_;
990
  struct Impl_ {
991
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
992
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
993
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
994
    ::JsonContextBody* json_body_;
995
    int32_t id_;
996
  };
997
  union { Impl_ _impl_; };
998
  friend struct ::TableStruct_addressbook1_2eproto;
999
};
1000
// -------------------------------------------------------------------
1001
1002
class AddressBook final :
1003
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:AddressBook) */ {
1004
 public:
1005
0
  inline AddressBook() : AddressBook(nullptr) {}
1006
  ~AddressBook() override;
1007
  explicit PROTOBUF_CONSTEXPR AddressBook(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1008
1009
  AddressBook(const AddressBook& from);
1010
  AddressBook(AddressBook&& from) noexcept
1011
0
    : AddressBook() {
1012
0
    *this = ::std::move(from);
1013
0
  }
1014
1015
0
  inline AddressBook& operator=(const AddressBook& from) {
1016
0
    CopyFrom(from);
1017
0
    return *this;
1018
0
  }
1019
0
  inline AddressBook& operator=(AddressBook&& from) noexcept {
1020
0
    if (this == &from) return *this;
1021
0
    if (GetOwningArena() == from.GetOwningArena()
1022
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1023
0
        && GetOwningArena() != nullptr
1024
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1025
0
    ) {
1026
0
      InternalSwap(&from);
1027
0
    } else {
1028
0
      CopyFrom(from);
1029
0
    }
1030
0
    return *this;
1031
0
  }
1032
1033
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1034
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1035
0
  }
1036
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1037
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1038
0
  }
1039
1040
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1041
0
    return GetDescriptor();
1042
0
  }
1043
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1044
0
    return default_instance().GetMetadata().descriptor;
1045
0
  }
1046
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1047
0
    return default_instance().GetMetadata().reflection;
1048
0
  }
1049
0
  static const AddressBook& default_instance() {
1050
0
    return *internal_default_instance();
1051
0
  }
1052
0
  static inline const AddressBook* internal_default_instance() {
1053
0
    return reinterpret_cast<const AddressBook*>(
1054
0
               &_AddressBook_default_instance_);
1055
0
  }
1056
  static constexpr int kIndexInFileMessages =
1057
    4;
1058
1059
0
  friend void swap(AddressBook& a, AddressBook& b) {
1060
0
    a.Swap(&b);
1061
0
  }
1062
0
  inline void Swap(AddressBook* other) {
1063
0
    if (other == this) return;
1064
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1065
0
    if (GetOwningArena() != nullptr &&
1066
0
        GetOwningArena() == other->GetOwningArena()) {
1067
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1068
0
    if (GetOwningArena() == other->GetOwningArena()) {
1069
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1070
0
      InternalSwap(other);
1071
0
    } else {
1072
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1073
0
    }
1074
0
  }
1075
0
  void UnsafeArenaSwap(AddressBook* other) {
1076
0
    if (other == this) return;
1077
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1078
0
    InternalSwap(other);
1079
0
  }
1080
1081
  // implements Message ----------------------------------------------
1082
1083
0
  AddressBook* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1084
0
    return CreateMaybeMessage<AddressBook>(arena);
1085
0
  }
1086
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1087
  void CopyFrom(const AddressBook& from);
1088
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1089
0
  void MergeFrom( const AddressBook& from) {
1090
0
    AddressBook::MergeImpl(*this, from);
1091
0
  }
1092
  private:
1093
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1094
  public:
1095
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1096
  bool IsInitialized() const final;
1097
1098
  size_t ByteSizeLong() const final;
1099
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1100
  uint8_t* _InternalSerialize(
1101
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1102
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1103
1104
  private:
1105
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1106
  void SharedDtor();
1107
  void SetCachedSize(int size) const final;
1108
  void InternalSwap(AddressBook* other);
1109
1110
  private:
1111
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1112
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1113
0
    return "AddressBook";
1114
0
  }
1115
  protected:
1116
  explicit AddressBook(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1117
                       bool is_message_owned = false);
1118
  public:
1119
1120
  static const ClassData _class_data_;
1121
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1122
1123
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1124
1125
  // nested types ----------------------------------------------------
1126
1127
  // accessors -------------------------------------------------------
1128
1129
  enum : int {
1130
    kPersonFieldNumber = 1,
1131
  };
1132
  // repeated .PersonInfo person = 1;
1133
  int person_size() const;
1134
  private:
1135
  int _internal_person_size() const;
1136
  public:
1137
  void clear_person();
1138
  ::PersonInfo* mutable_person(int index);
1139
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PersonInfo >*
1140
      mutable_person();
1141
  private:
1142
  const ::PersonInfo& _internal_person(int index) const;
1143
  ::PersonInfo* _internal_add_person();
1144
  public:
1145
  const ::PersonInfo& person(int index) const;
1146
  ::PersonInfo* add_person();
1147
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PersonInfo >&
1148
      person() const;
1149
1150
  // @@protoc_insertion_point(class_scope:AddressBook)
1151
 private:
1152
  class _Internal;
1153
1154
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1155
  typedef void InternalArenaConstructable_;
1156
  typedef void DestructorSkippable_;
1157
  struct Impl_ {
1158
    ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PersonInfo > person_;
1159
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1160
  };
1161
  union { Impl_ _impl_; };
1162
  friend struct ::TableStruct_addressbook1_2eproto;
1163
};
1164
// ===================================================================
1165
1166
1167
// ===================================================================
1168
1169
#ifdef __GNUC__
1170
  #pragma GCC diagnostic push
1171
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1172
#endif  // __GNUC__
1173
// Ext
1174
1175
// optional fixed32 age = 2;
1176
0
inline bool Ext::_internal_has_age() const {
1177
0
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1178
0
  return value;
1179
0
}
1180
0
inline bool Ext::has_age() const {
1181
0
  return _internal_has_age();
1182
0
}
1183
0
inline void Ext::clear_age() {
1184
0
  _impl_.age_ = 0u;
1185
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1186
0
}
1187
0
inline uint32_t Ext::_internal_age() const {
1188
0
  return _impl_.age_;
1189
0
}
1190
0
inline uint32_t Ext::age() const {
1191
0
  // @@protoc_insertion_point(field_get:Ext.age)
1192
0
  return _internal_age();
1193
0
}
1194
0
inline void Ext::_internal_set_age(uint32_t value) {
1195
0
  _impl_._has_bits_[0] |= 0x00000002u;
1196
0
  _impl_.age_ = value;
1197
0
}
1198
0
inline void Ext::set_age(uint32_t value) {
1199
0
  _internal_set_age(value);
1200
0
  // @@protoc_insertion_point(field_set:Ext.age)
1201
0
}
1202
1203
// required bytes databyte = 3;
1204
0
inline bool Ext::_internal_has_databyte() const {
1205
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1206
0
  return value;
1207
0
}
1208
0
inline bool Ext::has_databyte() const {
1209
0
  return _internal_has_databyte();
1210
0
}
1211
0
inline void Ext::clear_databyte() {
1212
0
  _impl_.databyte_.ClearToEmpty();
1213
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1214
0
}
1215
0
inline const std::string& Ext::databyte() const {
1216
0
  // @@protoc_insertion_point(field_get:Ext.databyte)
1217
0
  return _internal_databyte();
1218
0
}
1219
template <typename ArgT0, typename... ArgT>
1220
inline PROTOBUF_ALWAYS_INLINE
1221
void Ext::set_databyte(ArgT0&& arg0, ArgT... args) {
1222
 _impl_._has_bits_[0] |= 0x00000001u;
1223
 _impl_.databyte_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1224
  // @@protoc_insertion_point(field_set:Ext.databyte)
1225
}
1226
0
inline std::string* Ext::mutable_databyte() {
1227
0
  std::string* _s = _internal_mutable_databyte();
1228
0
  // @@protoc_insertion_point(field_mutable:Ext.databyte)
1229
0
  return _s;
1230
0
}
1231
0
inline const std::string& Ext::_internal_databyte() const {
1232
0
  return _impl_.databyte_.Get();
1233
0
}
1234
0
inline void Ext::_internal_set_databyte(const std::string& value) {
1235
0
  _impl_._has_bits_[0] |= 0x00000001u;
1236
0
  _impl_.databyte_.Set(value, GetArenaForAllocation());
1237
0
}
1238
0
inline std::string* Ext::_internal_mutable_databyte() {
1239
0
  _impl_._has_bits_[0] |= 0x00000001u;
1240
0
  return _impl_.databyte_.Mutable(GetArenaForAllocation());
1241
0
}
1242
0
inline std::string* Ext::release_databyte() {
1243
0
  // @@protoc_insertion_point(field_release:Ext.databyte)
1244
0
  if (!_internal_has_databyte()) {
1245
0
    return nullptr;
1246
0
  }
1247
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1248
0
  auto* p = _impl_.databyte_.Release();
1249
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1250
0
  if (_impl_.databyte_.IsDefault()) {
1251
0
    _impl_.databyte_.Set("", GetArenaForAllocation());
1252
0
  }
1253
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1254
0
  return p;
1255
0
}
1256
0
inline void Ext::set_allocated_databyte(std::string* databyte) {
1257
0
  if (databyte != nullptr) {
1258
0
    _impl_._has_bits_[0] |= 0x00000001u;
1259
0
  } else {
1260
0
    _impl_._has_bits_[0] &= ~0x00000001u;
1261
0
  }
1262
0
  _impl_.databyte_.SetAllocated(databyte, GetArenaForAllocation());
1263
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1264
0
  if (_impl_.databyte_.IsDefault()) {
1265
0
    _impl_.databyte_.Set("", GetArenaForAllocation());
1266
0
  }
1267
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1268
0
  // @@protoc_insertion_point(field_set_allocated:Ext.databyte)
1269
0
}
1270
1271
// optional .Ext.PhoneType enumtype = 4 [default = HOME];
1272
0
inline bool Ext::_internal_has_enumtype() const {
1273
0
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1274
0
  return value;
1275
0
}
1276
0
inline bool Ext::has_enumtype() const {
1277
0
  return _internal_has_enumtype();
1278
0
}
1279
0
inline void Ext::clear_enumtype() {
1280
0
  _impl_.enumtype_ = 1;
1281
0
  _impl_._has_bits_[0] &= ~0x00000004u;
1282
0
}
1283
0
inline ::Ext_PhoneType Ext::_internal_enumtype() const {
1284
0
  return static_cast< ::Ext_PhoneType >(_impl_.enumtype_);
1285
0
}
1286
0
inline ::Ext_PhoneType Ext::enumtype() const {
1287
0
  // @@protoc_insertion_point(field_get:Ext.enumtype)
1288
0
  return _internal_enumtype();
1289
0
}
1290
0
inline void Ext::_internal_set_enumtype(::Ext_PhoneType value) {
1291
0
  assert(::Ext_PhoneType_IsValid(value));
1292
0
  _impl_._has_bits_[0] |= 0x00000004u;
1293
0
  _impl_.enumtype_ = value;
1294
0
}
1295
0
inline void Ext::set_enumtype(::Ext_PhoneType value) {
1296
0
  _internal_set_enumtype(value);
1297
0
  // @@protoc_insertion_point(field_set:Ext.enumtype)
1298
0
}
1299
1300
// -------------------------------------------------------------------
1301
1302
// Content
1303
1304
// optional string uid = 1;
1305
0
inline bool Content::_internal_has_uid() const {
1306
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1307
0
  return value;
1308
0
}
1309
0
inline bool Content::has_uid() const {
1310
0
  return _internal_has_uid();
1311
0
}
1312
0
inline void Content::clear_uid() {
1313
0
  _impl_.uid_.ClearToEmpty();
1314
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1315
0
}
1316
0
inline const std::string& Content::uid() const {
1317
0
  // @@protoc_insertion_point(field_get:Content.uid)
1318
0
  return _internal_uid();
1319
0
}
1320
template <typename ArgT0, typename... ArgT>
1321
inline PROTOBUF_ALWAYS_INLINE
1322
void Content::set_uid(ArgT0&& arg0, ArgT... args) {
1323
 _impl_._has_bits_[0] |= 0x00000001u;
1324
 _impl_.uid_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1325
  // @@protoc_insertion_point(field_set:Content.uid)
1326
}
1327
0
inline std::string* Content::mutable_uid() {
1328
0
  std::string* _s = _internal_mutable_uid();
1329
0
  // @@protoc_insertion_point(field_mutable:Content.uid)
1330
0
  return _s;
1331
0
}
1332
0
inline const std::string& Content::_internal_uid() const {
1333
0
  return _impl_.uid_.Get();
1334
0
}
1335
0
inline void Content::_internal_set_uid(const std::string& value) {
1336
0
  _impl_._has_bits_[0] |= 0x00000001u;
1337
0
  _impl_.uid_.Set(value, GetArenaForAllocation());
1338
0
}
1339
0
inline std::string* Content::_internal_mutable_uid() {
1340
0
  _impl_._has_bits_[0] |= 0x00000001u;
1341
0
  return _impl_.uid_.Mutable(GetArenaForAllocation());
1342
0
}
1343
0
inline std::string* Content::release_uid() {
1344
0
  // @@protoc_insertion_point(field_release:Content.uid)
1345
0
  if (!_internal_has_uid()) {
1346
0
    return nullptr;
1347
0
  }
1348
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1349
0
  auto* p = _impl_.uid_.Release();
1350
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1351
0
  if (_impl_.uid_.IsDefault()) {
1352
0
    _impl_.uid_.Set("", GetArenaForAllocation());
1353
0
  }
1354
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1355
0
  return p;
1356
0
}
1357
0
inline void Content::set_allocated_uid(std::string* uid) {
1358
0
  if (uid != nullptr) {
1359
0
    _impl_._has_bits_[0] |= 0x00000001u;
1360
0
  } else {
1361
0
    _impl_._has_bits_[0] &= ~0x00000001u;
1362
0
  }
1363
0
  _impl_.uid_.SetAllocated(uid, GetArenaForAllocation());
1364
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1365
0
  if (_impl_.uid_.IsDefault()) {
1366
0
    _impl_.uid_.Set("", GetArenaForAllocation());
1367
0
  }
1368
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1369
0
  // @@protoc_insertion_point(field_set_allocated:Content.uid)
1370
0
}
1371
1372
// required float distance = 16;
1373
0
inline bool Content::_internal_has_distance() const {
1374
0
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1375
0
  return value;
1376
0
}
1377
0
inline bool Content::has_distance() const {
1378
0
  return _internal_has_distance();
1379
0
}
1380
0
inline void Content::clear_distance() {
1381
0
  _impl_.distance_ = 0;
1382
0
  _impl_._has_bits_[0] &= ~0x00000004u;
1383
0
}
1384
0
inline float Content::_internal_distance() const {
1385
0
  return _impl_.distance_;
1386
0
}
1387
0
inline float Content::distance() const {
1388
0
  // @@protoc_insertion_point(field_get:Content.distance)
1389
0
  return _internal_distance();
1390
0
}
1391
0
inline void Content::_internal_set_distance(float value) {
1392
0
  _impl_._has_bits_[0] |= 0x00000004u;
1393
0
  _impl_.distance_ = value;
1394
0
}
1395
0
inline void Content::set_distance(float value) {
1396
0
  _internal_set_distance(value);
1397
0
  // @@protoc_insertion_point(field_set:Content.distance)
1398
0
}
1399
1400
// optional .Ext ext = 17;
1401
0
inline bool Content::_internal_has_ext() const {
1402
0
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1403
0
  PROTOBUF_ASSUME(!value || _impl_.ext_ != nullptr);
1404
0
  return value;
1405
0
}
1406
0
inline bool Content::has_ext() const {
1407
0
  return _internal_has_ext();
1408
0
}
1409
0
inline void Content::clear_ext() {
1410
0
  if (_impl_.ext_ != nullptr) _impl_.ext_->Clear();
1411
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1412
0
}
1413
0
inline const ::Ext& Content::_internal_ext() const {
1414
0
  const ::Ext* p = _impl_.ext_;
1415
0
  return p != nullptr ? *p : reinterpret_cast<const ::Ext&>(
1416
0
      ::_Ext_default_instance_);
1417
0
}
1418
0
inline const ::Ext& Content::ext() const {
1419
0
  // @@protoc_insertion_point(field_get:Content.ext)
1420
0
  return _internal_ext();
1421
0
}
1422
inline void Content::unsafe_arena_set_allocated_ext(
1423
0
    ::Ext* ext) {
1424
0
  if (GetArenaForAllocation() == nullptr) {
1425
0
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ext_);
1426
0
  }
1427
0
  _impl_.ext_ = ext;
1428
0
  if (ext) {
1429
0
    _impl_._has_bits_[0] |= 0x00000002u;
1430
0
  } else {
1431
0
    _impl_._has_bits_[0] &= ~0x00000002u;
1432
0
  }
1433
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:Content.ext)
1434
0
}
1435
0
inline ::Ext* Content::release_ext() {
1436
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1437
0
  ::Ext* temp = _impl_.ext_;
1438
0
  _impl_.ext_ = nullptr;
1439
0
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1440
0
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1441
0
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1442
0
  if (GetArenaForAllocation() == nullptr) { delete old; }
1443
0
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
1444
0
  if (GetArenaForAllocation() != nullptr) {
1445
0
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1446
0
  }
1447
0
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
1448
0
  return temp;
1449
0
}
1450
0
inline ::Ext* Content::unsafe_arena_release_ext() {
1451
0
  // @@protoc_insertion_point(field_release:Content.ext)
1452
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1453
0
  ::Ext* temp = _impl_.ext_;
1454
0
  _impl_.ext_ = nullptr;
1455
0
  return temp;
1456
0
}
1457
0
inline ::Ext* Content::_internal_mutable_ext() {
1458
0
  _impl_._has_bits_[0] |= 0x00000002u;
1459
0
  if (_impl_.ext_ == nullptr) {
1460
0
    auto* p = CreateMaybeMessage<::Ext>(GetArenaForAllocation());
1461
0
    _impl_.ext_ = p;
1462
0
  }
1463
0
  return _impl_.ext_;
1464
0
}
1465
0
inline ::Ext* Content::mutable_ext() {
1466
0
  ::Ext* _msg = _internal_mutable_ext();
1467
0
  // @@protoc_insertion_point(field_mutable:Content.ext)
1468
0
  return _msg;
1469
0
}
1470
0
inline void Content::set_allocated_ext(::Ext* ext) {
1471
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1472
0
  if (message_arena == nullptr) {
1473
0
    delete _impl_.ext_;
1474
0
  }
1475
0
  if (ext) {
1476
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1477
0
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ext);
1478
0
    if (message_arena != submessage_arena) {
1479
0
      ext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1480
0
          message_arena, ext, submessage_arena);
1481
0
    }
1482
0
    _impl_._has_bits_[0] |= 0x00000002u;
1483
0
  } else {
1484
0
    _impl_._has_bits_[0] &= ~0x00000002u;
1485
0
  }
1486
0
  _impl_.ext_ = ext;
1487
0
  // @@protoc_insertion_point(field_set_allocated:Content.ext)
1488
0
}
1489
1490
// -------------------------------------------------------------------
1491
1492
// JsonContextBody
1493
1494
// optional int64 type = 1;
1495
0
inline bool JsonContextBody::_internal_has_type() const {
1496
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1497
0
  return value;
1498
0
}
1499
0
inline bool JsonContextBody::has_type() const {
1500
0
  return _internal_has_type();
1501
0
}
1502
0
inline void JsonContextBody::clear_type() {
1503
0
  _impl_.type_ = int64_t{0};
1504
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1505
0
}
1506
0
inline int64_t JsonContextBody::_internal_type() const {
1507
0
  return _impl_.type_;
1508
0
}
1509
0
inline int64_t JsonContextBody::type() const {
1510
0
  // @@protoc_insertion_point(field_get:JsonContextBody.type)
1511
0
  return _internal_type();
1512
0
}
1513
0
inline void JsonContextBody::_internal_set_type(int64_t value) {
1514
0
  _impl_._has_bits_[0] |= 0x00000001u;
1515
0
  _impl_.type_ = value;
1516
0
}
1517
0
inline void JsonContextBody::set_type(int64_t value) {
1518
0
  _internal_set_type(value);
1519
0
  // @@protoc_insertion_point(field_set:JsonContextBody.type)
1520
0
}
1521
1522
// repeated int32 data = 5;
1523
0
inline int JsonContextBody::_internal_data_size() const {
1524
0
  return _impl_.data_.size();
1525
0
}
1526
0
inline int JsonContextBody::data_size() const {
1527
0
  return _internal_data_size();
1528
0
}
1529
0
inline void JsonContextBody::clear_data() {
1530
0
  _impl_.data_.Clear();
1531
0
}
1532
0
inline int32_t JsonContextBody::_internal_data(int index) const {
1533
0
  return _impl_.data_.Get(index);
1534
0
}
1535
0
inline int32_t JsonContextBody::data(int index) const {
1536
0
  // @@protoc_insertion_point(field_get:JsonContextBody.data)
1537
0
  return _internal_data(index);
1538
0
}
1539
0
inline void JsonContextBody::set_data(int index, int32_t value) {
1540
0
  _impl_.data_.Set(index, value);
1541
0
  // @@protoc_insertion_point(field_set:JsonContextBody.data)
1542
0
}
1543
0
inline void JsonContextBody::_internal_add_data(int32_t value) {
1544
0
  _impl_.data_.Add(value);
1545
0
}
1546
0
inline void JsonContextBody::add_data(int32_t value) {
1547
0
  _internal_add_data(value);
1548
0
  // @@protoc_insertion_point(field_add:JsonContextBody.data)
1549
0
}
1550
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
1551
0
JsonContextBody::_internal_data() const {
1552
0
  return _impl_.data_;
1553
0
}
1554
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
1555
0
JsonContextBody::data() const {
1556
0
  // @@protoc_insertion_point(field_list:JsonContextBody.data)
1557
0
  return _internal_data();
1558
0
}
1559
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
1560
0
JsonContextBody::_internal_mutable_data() {
1561
0
  return &_impl_.data_;
1562
0
}
1563
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
1564
0
JsonContextBody::mutable_data() {
1565
0
  // @@protoc_insertion_point(field_mutable_list:JsonContextBody.data)
1566
0
  return _internal_mutable_data();
1567
0
}
1568
1569
// repeated string info = 6;
1570
0
inline int JsonContextBody::_internal_info_size() const {
1571
0
  return _impl_.info_.size();
1572
0
}
1573
0
inline int JsonContextBody::info_size() const {
1574
0
  return _internal_info_size();
1575
0
}
1576
0
inline void JsonContextBody::clear_info() {
1577
0
  _impl_.info_.Clear();
1578
0
}
1579
0
inline std::string* JsonContextBody::add_info() {
1580
0
  std::string* _s = _internal_add_info();
1581
0
  // @@protoc_insertion_point(field_add_mutable:JsonContextBody.info)
1582
0
  return _s;
1583
0
}
1584
0
inline const std::string& JsonContextBody::_internal_info(int index) const {
1585
0
  return _impl_.info_.Get(index);
1586
0
}
1587
0
inline const std::string& JsonContextBody::info(int index) const {
1588
0
  // @@protoc_insertion_point(field_get:JsonContextBody.info)
1589
0
  return _internal_info(index);
1590
0
}
1591
0
inline std::string* JsonContextBody::mutable_info(int index) {
1592
0
  // @@protoc_insertion_point(field_mutable:JsonContextBody.info)
1593
0
  return _impl_.info_.Mutable(index);
1594
0
}
1595
0
inline void JsonContextBody::set_info(int index, const std::string& value) {
1596
0
  _impl_.info_.Mutable(index)->assign(value);
1597
0
  // @@protoc_insertion_point(field_set:JsonContextBody.info)
1598
0
}
1599
0
inline void JsonContextBody::set_info(int index, std::string&& value) {
1600
0
  _impl_.info_.Mutable(index)->assign(std::move(value));
1601
0
  // @@protoc_insertion_point(field_set:JsonContextBody.info)
1602
0
}
1603
0
inline void JsonContextBody::set_info(int index, const char* value) {
1604
0
  GOOGLE_DCHECK(value != nullptr);
1605
0
  _impl_.info_.Mutable(index)->assign(value);
1606
0
  // @@protoc_insertion_point(field_set_char:JsonContextBody.info)
1607
0
}
1608
0
inline void JsonContextBody::set_info(int index, const char* value, size_t size) {
1609
0
  _impl_.info_.Mutable(index)->assign(
1610
0
    reinterpret_cast<const char*>(value), size);
1611
0
  // @@protoc_insertion_point(field_set_pointer:JsonContextBody.info)
1612
0
}
1613
0
inline std::string* JsonContextBody::_internal_add_info() {
1614
0
  return _impl_.info_.Add();
1615
0
}
1616
0
inline void JsonContextBody::add_info(const std::string& value) {
1617
0
  _impl_.info_.Add()->assign(value);
1618
0
  // @@protoc_insertion_point(field_add:JsonContextBody.info)
1619
0
}
1620
0
inline void JsonContextBody::add_info(std::string&& value) {
1621
0
  _impl_.info_.Add(std::move(value));
1622
0
  // @@protoc_insertion_point(field_add:JsonContextBody.info)
1623
0
}
1624
0
inline void JsonContextBody::add_info(const char* value) {
1625
0
  GOOGLE_DCHECK(value != nullptr);
1626
0
  _impl_.info_.Add()->assign(value);
1627
0
  // @@protoc_insertion_point(field_add_char:JsonContextBody.info)
1628
0
}
1629
0
inline void JsonContextBody::add_info(const char* value, size_t size) {
1630
0
  _impl_.info_.Add()->assign(reinterpret_cast<const char*>(value), size);
1631
0
  // @@protoc_insertion_point(field_add_pointer:JsonContextBody.info)
1632
0
}
1633
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1634
0
JsonContextBody::info() const {
1635
0
  // @@protoc_insertion_point(field_list:JsonContextBody.info)
1636
0
  return _impl_.info_;
1637
0
}
1638
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1639
0
JsonContextBody::mutable_info() {
1640
0
  // @@protoc_insertion_point(field_mutable_list:JsonContextBody.info)
1641
0
  return &_impl_.info_;
1642
0
}
1643
1644
// required bool judge = 2;
1645
0
inline bool JsonContextBody::_internal_has_judge() const {
1646
0
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1647
0
  return value;
1648
0
}
1649
0
inline bool JsonContextBody::has_judge() const {
1650
0
  return _internal_has_judge();
1651
0
}
1652
0
inline void JsonContextBody::clear_judge() {
1653
0
  _impl_.judge_ = false;
1654
0
  _impl_._has_bits_[0] &= ~0x00000004u;
1655
0
}
1656
0
inline bool JsonContextBody::_internal_judge() const {
1657
0
  return _impl_.judge_;
1658
0
}
1659
0
inline bool JsonContextBody::judge() const {
1660
0
  // @@protoc_insertion_point(field_get:JsonContextBody.judge)
1661
0
  return _internal_judge();
1662
0
}
1663
0
inline void JsonContextBody::_internal_set_judge(bool value) {
1664
0
  _impl_._has_bits_[0] |= 0x00000004u;
1665
0
  _impl_.judge_ = value;
1666
0
}
1667
0
inline void JsonContextBody::set_judge(bool value) {
1668
0
  _internal_set_judge(value);
1669
0
  // @@protoc_insertion_point(field_set:JsonContextBody.judge)
1670
0
}
1671
1672
// required double spur = 3;
1673
0
inline bool JsonContextBody::_internal_has_spur() const {
1674
0
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1675
0
  return value;
1676
0
}
1677
0
inline bool JsonContextBody::has_spur() const {
1678
0
  return _internal_has_spur();
1679
0
}
1680
0
inline void JsonContextBody::clear_spur() {
1681
0
  _impl_.spur_ = 0;
1682
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1683
0
}
1684
0
inline double JsonContextBody::_internal_spur() const {
1685
0
  return _impl_.spur_;
1686
0
}
1687
0
inline double JsonContextBody::spur() const {
1688
0
  // @@protoc_insertion_point(field_get:JsonContextBody.spur)
1689
0
  return _internal_spur();
1690
0
}
1691
0
inline void JsonContextBody::_internal_set_spur(double value) {
1692
0
  _impl_._has_bits_[0] |= 0x00000002u;
1693
0
  _impl_.spur_ = value;
1694
0
}
1695
0
inline void JsonContextBody::set_spur(double value) {
1696
0
  _internal_set_spur(value);
1697
0
  // @@protoc_insertion_point(field_set:JsonContextBody.spur)
1698
0
}
1699
1700
// repeated .Content content = 4;
1701
0
inline int JsonContextBody::_internal_content_size() const {
1702
0
  return _impl_.content_.size();
1703
0
}
1704
0
inline int JsonContextBody::content_size() const {
1705
0
  return _internal_content_size();
1706
0
}
1707
0
inline void JsonContextBody::clear_content() {
1708
0
  _impl_.content_.Clear();
1709
0
}
1710
0
inline ::Content* JsonContextBody::mutable_content(int index) {
1711
0
  // @@protoc_insertion_point(field_mutable:JsonContextBody.content)
1712
0
  return _impl_.content_.Mutable(index);
1713
0
}
1714
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Content >*
1715
0
JsonContextBody::mutable_content() {
1716
0
  // @@protoc_insertion_point(field_mutable_list:JsonContextBody.content)
1717
0
  return &_impl_.content_;
1718
0
}
1719
0
inline const ::Content& JsonContextBody::_internal_content(int index) const {
1720
0
  return _impl_.content_.Get(index);
1721
0
}
1722
0
inline const ::Content& JsonContextBody::content(int index) const {
1723
0
  // @@protoc_insertion_point(field_get:JsonContextBody.content)
1724
0
  return _internal_content(index);
1725
0
}
1726
0
inline ::Content* JsonContextBody::_internal_add_content() {
1727
0
  return _impl_.content_.Add();
1728
0
}
1729
0
inline ::Content* JsonContextBody::add_content() {
1730
0
  ::Content* _add = _internal_add_content();
1731
0
  // @@protoc_insertion_point(field_add:JsonContextBody.content)
1732
0
  return _add;
1733
0
}
1734
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::Content >&
1735
0
JsonContextBody::content() const {
1736
0
  // @@protoc_insertion_point(field_list:JsonContextBody.content)
1737
0
  return _impl_.content_;
1738
0
}
1739
1740
// optional float text = 7;
1741
0
inline bool JsonContextBody::_internal_has_text() const {
1742
0
  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1743
0
  return value;
1744
0
}
1745
0
inline bool JsonContextBody::has_text() const {
1746
0
  return _internal_has_text();
1747
0
}
1748
0
inline void JsonContextBody::clear_text() {
1749
0
  _impl_.text_ = 0;
1750
0
  _impl_._has_bits_[0] &= ~0x00000008u;
1751
0
}
1752
0
inline float JsonContextBody::_internal_text() const {
1753
0
  return _impl_.text_;
1754
0
}
1755
0
inline float JsonContextBody::text() const {
1756
0
  // @@protoc_insertion_point(field_get:JsonContextBody.text)
1757
0
  return _internal_text();
1758
0
}
1759
0
inline void JsonContextBody::_internal_set_text(float value) {
1760
0
  _impl_._has_bits_[0] |= 0x00000008u;
1761
0
  _impl_.text_ = value;
1762
0
}
1763
0
inline void JsonContextBody::set_text(float value) {
1764
0
  _internal_set_text(value);
1765
0
  // @@protoc_insertion_point(field_set:JsonContextBody.text)
1766
0
}
1767
1768
// -------------------------------------------------------------------
1769
1770
// PersonInfo
1771
1772
// optional string name = 1;
1773
0
inline bool PersonInfo::_internal_has_name() const {
1774
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1775
0
  return value;
1776
0
}
1777
0
inline bool PersonInfo::has_name() const {
1778
0
  return _internal_has_name();
1779
0
}
1780
0
inline void PersonInfo::clear_name() {
1781
0
  _impl_.name_.ClearToEmpty();
1782
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1783
0
}
1784
0
inline const std::string& PersonInfo::name() const {
1785
0
  // @@protoc_insertion_point(field_get:PersonInfo.name)
1786
0
  return _internal_name();
1787
0
}
1788
template <typename ArgT0, typename... ArgT>
1789
inline PROTOBUF_ALWAYS_INLINE
1790
void PersonInfo::set_name(ArgT0&& arg0, ArgT... args) {
1791
 _impl_._has_bits_[0] |= 0x00000001u;
1792
 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1793
  // @@protoc_insertion_point(field_set:PersonInfo.name)
1794
}
1795
0
inline std::string* PersonInfo::mutable_name() {
1796
0
  std::string* _s = _internal_mutable_name();
1797
0
  // @@protoc_insertion_point(field_mutable:PersonInfo.name)
1798
0
  return _s;
1799
0
}
1800
0
inline const std::string& PersonInfo::_internal_name() const {
1801
0
  return _impl_.name_.Get();
1802
0
}
1803
0
inline void PersonInfo::_internal_set_name(const std::string& value) {
1804
0
  _impl_._has_bits_[0] |= 0x00000001u;
1805
0
  _impl_.name_.Set(value, GetArenaForAllocation());
1806
0
}
1807
0
inline std::string* PersonInfo::_internal_mutable_name() {
1808
0
  _impl_._has_bits_[0] |= 0x00000001u;
1809
0
  return _impl_.name_.Mutable(GetArenaForAllocation());
1810
0
}
1811
0
inline std::string* PersonInfo::release_name() {
1812
0
  // @@protoc_insertion_point(field_release:PersonInfo.name)
1813
0
  if (!_internal_has_name()) {
1814
0
    return nullptr;
1815
0
  }
1816
0
  _impl_._has_bits_[0] &= ~0x00000001u;
1817
0
  auto* p = _impl_.name_.Release();
1818
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1819
0
  if (_impl_.name_.IsDefault()) {
1820
0
    _impl_.name_.Set("", GetArenaForAllocation());
1821
0
  }
1822
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1823
0
  return p;
1824
0
}
1825
0
inline void PersonInfo::set_allocated_name(std::string* name) {
1826
0
  if (name != nullptr) {
1827
0
    _impl_._has_bits_[0] |= 0x00000001u;
1828
0
  } else {
1829
0
    _impl_._has_bits_[0] &= ~0x00000001u;
1830
0
  }
1831
0
  _impl_.name_.SetAllocated(name, GetArenaForAllocation());
1832
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1833
0
  if (_impl_.name_.IsDefault()) {
1834
0
    _impl_.name_.Set("", GetArenaForAllocation());
1835
0
  }
1836
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1837
0
  // @@protoc_insertion_point(field_set_allocated:PersonInfo.name)
1838
0
}
1839
1840
// optional int32 id = 2;
1841
0
inline bool PersonInfo::_internal_has_id() const {
1842
0
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1843
0
  return value;
1844
0
}
1845
0
inline bool PersonInfo::has_id() const {
1846
0
  return _internal_has_id();
1847
0
}
1848
0
inline void PersonInfo::clear_id() {
1849
0
  _impl_.id_ = 0;
1850
0
  _impl_._has_bits_[0] &= ~0x00000004u;
1851
0
}
1852
0
inline int32_t PersonInfo::_internal_id() const {
1853
0
  return _impl_.id_;
1854
0
}
1855
0
inline int32_t PersonInfo::id() const {
1856
0
  // @@protoc_insertion_point(field_get:PersonInfo.id)
1857
0
  return _internal_id();
1858
0
}
1859
0
inline void PersonInfo::_internal_set_id(int32_t value) {
1860
0
  _impl_._has_bits_[0] |= 0x00000004u;
1861
0
  _impl_.id_ = value;
1862
0
}
1863
0
inline void PersonInfo::set_id(int32_t value) {
1864
0
  _internal_set_id(value);
1865
0
  // @@protoc_insertion_point(field_set:PersonInfo.id)
1866
0
}
1867
1868
// optional .JsonContextBody json_body = 18;
1869
0
inline bool PersonInfo::_internal_has_json_body() const {
1870
0
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1871
0
  PROTOBUF_ASSUME(!value || _impl_.json_body_ != nullptr);
1872
0
  return value;
1873
0
}
1874
0
inline bool PersonInfo::has_json_body() const {
1875
0
  return _internal_has_json_body();
1876
0
}
1877
0
inline void PersonInfo::clear_json_body() {
1878
0
  if (_impl_.json_body_ != nullptr) _impl_.json_body_->Clear();
1879
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1880
0
}
1881
0
inline const ::JsonContextBody& PersonInfo::_internal_json_body() const {
1882
0
  const ::JsonContextBody* p = _impl_.json_body_;
1883
0
  return p != nullptr ? *p : reinterpret_cast<const ::JsonContextBody&>(
1884
0
      ::_JsonContextBody_default_instance_);
1885
0
}
1886
0
inline const ::JsonContextBody& PersonInfo::json_body() const {
1887
0
  // @@protoc_insertion_point(field_get:PersonInfo.json_body)
1888
0
  return _internal_json_body();
1889
0
}
1890
inline void PersonInfo::unsafe_arena_set_allocated_json_body(
1891
0
    ::JsonContextBody* json_body) {
1892
0
  if (GetArenaForAllocation() == nullptr) {
1893
0
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.json_body_);
1894
0
  }
1895
0
  _impl_.json_body_ = json_body;
1896
0
  if (json_body) {
1897
0
    _impl_._has_bits_[0] |= 0x00000002u;
1898
0
  } else {
1899
0
    _impl_._has_bits_[0] &= ~0x00000002u;
1900
0
  }
1901
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PersonInfo.json_body)
1902
0
}
1903
0
inline ::JsonContextBody* PersonInfo::release_json_body() {
1904
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1905
0
  ::JsonContextBody* temp = _impl_.json_body_;
1906
0
  _impl_.json_body_ = nullptr;
1907
0
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1908
0
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1909
0
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1910
0
  if (GetArenaForAllocation() == nullptr) { delete old; }
1911
0
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
1912
0
  if (GetArenaForAllocation() != nullptr) {
1913
0
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1914
0
  }
1915
0
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
1916
0
  return temp;
1917
0
}
1918
0
inline ::JsonContextBody* PersonInfo::unsafe_arena_release_json_body() {
1919
0
  // @@protoc_insertion_point(field_release:PersonInfo.json_body)
1920
0
  _impl_._has_bits_[0] &= ~0x00000002u;
1921
0
  ::JsonContextBody* temp = _impl_.json_body_;
1922
0
  _impl_.json_body_ = nullptr;
1923
0
  return temp;
1924
0
}
1925
0
inline ::JsonContextBody* PersonInfo::_internal_mutable_json_body() {
1926
0
  _impl_._has_bits_[0] |= 0x00000002u;
1927
0
  if (_impl_.json_body_ == nullptr) {
1928
0
    auto* p = CreateMaybeMessage<::JsonContextBody>(GetArenaForAllocation());
1929
0
    _impl_.json_body_ = p;
1930
0
  }
1931
0
  return _impl_.json_body_;
1932
0
}
1933
0
inline ::JsonContextBody* PersonInfo::mutable_json_body() {
1934
0
  ::JsonContextBody* _msg = _internal_mutable_json_body();
1935
0
  // @@protoc_insertion_point(field_mutable:PersonInfo.json_body)
1936
0
  return _msg;
1937
0
}
1938
0
inline void PersonInfo::set_allocated_json_body(::JsonContextBody* json_body) {
1939
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1940
0
  if (message_arena == nullptr) {
1941
0
    delete _impl_.json_body_;
1942
0
  }
1943
0
  if (json_body) {
1944
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1945
0
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(json_body);
1946
0
    if (message_arena != submessage_arena) {
1947
0
      json_body = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1948
0
          message_arena, json_body, submessage_arena);
1949
0
    }
1950
0
    _impl_._has_bits_[0] |= 0x00000002u;
1951
0
  } else {
1952
0
    _impl_._has_bits_[0] &= ~0x00000002u;
1953
0
  }
1954
0
  _impl_.json_body_ = json_body;
1955
0
  // @@protoc_insertion_point(field_set_allocated:PersonInfo.json_body)
1956
0
}
1957
1958
// -------------------------------------------------------------------
1959
1960
// AddressBook
1961
1962
// repeated .PersonInfo person = 1;
1963
0
inline int AddressBook::_internal_person_size() const {
1964
0
  return _impl_.person_.size();
1965
0
}
1966
0
inline int AddressBook::person_size() const {
1967
0
  return _internal_person_size();
1968
0
}
1969
0
inline void AddressBook::clear_person() {
1970
0
  _impl_.person_.Clear();
1971
0
}
1972
0
inline ::PersonInfo* AddressBook::mutable_person(int index) {
1973
0
  // @@protoc_insertion_point(field_mutable:AddressBook.person)
1974
0
  return _impl_.person_.Mutable(index);
1975
0
}
1976
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PersonInfo >*
1977
0
AddressBook::mutable_person() {
1978
0
  // @@protoc_insertion_point(field_mutable_list:AddressBook.person)
1979
0
  return &_impl_.person_;
1980
0
}
1981
0
inline const ::PersonInfo& AddressBook::_internal_person(int index) const {
1982
0
  return _impl_.person_.Get(index);
1983
0
}
1984
0
inline const ::PersonInfo& AddressBook::person(int index) const {
1985
0
  // @@protoc_insertion_point(field_get:AddressBook.person)
1986
0
  return _internal_person(index);
1987
0
}
1988
0
inline ::PersonInfo* AddressBook::_internal_add_person() {
1989
0
  return _impl_.person_.Add();
1990
0
}
1991
0
inline ::PersonInfo* AddressBook::add_person() {
1992
0
  ::PersonInfo* _add = _internal_add_person();
1993
0
  // @@protoc_insertion_point(field_add:AddressBook.person)
1994
0
  return _add;
1995
0
}
1996
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PersonInfo >&
1997
0
AddressBook::person() const {
1998
0
  // @@protoc_insertion_point(field_list:AddressBook.person)
1999
0
  return _impl_.person_;
2000
0
}
2001
2002
#ifdef __GNUC__
2003
  #pragma GCC diagnostic pop
2004
#endif  // __GNUC__
2005
// -------------------------------------------------------------------
2006
2007
// -------------------------------------------------------------------
2008
2009
// -------------------------------------------------------------------
2010
2011
// -------------------------------------------------------------------
2012
2013
2014
// @@protoc_insertion_point(namespace_scope)
2015
2016
2017
PROTOBUF_NAMESPACE_OPEN
2018
2019
template <> struct is_proto_enum< ::Ext_PhoneType> : ::std::true_type {};
2020
template <>
2021
0
inline const EnumDescriptor* GetEnumDescriptor< ::Ext_PhoneType>() {
2022
0
  return ::Ext_PhoneType_descriptor();
2023
0
}
2024
2025
PROTOBUF_NAMESPACE_CLOSE
2026
2027
// @@protoc_insertion_point(global_scope)
2028
2029
#include <google/protobuf/port_undef.inc>
2030
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_addressbook1_2eproto