Coverage Report

Created: 2025-08-05 06:45

/src/brpc/build/test/iobuf.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: iobuf.proto
3
4
#ifndef PROTOBUF_INCLUDED_iobuf_2eproto
5
#define PROTOBUF_INCLUDED_iobuf_2eproto
6
7
#include <string>
8
9
#include <google/protobuf/stubs/common.h>
10
11
#if GOOGLE_PROTOBUF_VERSION < 3006001
12
#error This file was generated by a newer version of protoc which is
13
#error incompatible with your Protocol Buffer headers.  Please update
14
#error your headers.
15
#endif
16
#if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17
#error This file was generated by an older version of protoc which is
18
#error incompatible with your Protocol Buffer headers.  Please
19
#error regenerate this file with a newer version of protoc.
20
#endif
21
22
#include <google/protobuf/io/coded_stream.h>
23
#include <google/protobuf/arena.h>
24
#include <google/protobuf/arenastring.h>
25
#include <google/protobuf/generated_message_table_driven.h>
26
#include <google/protobuf/generated_message_util.h>
27
#include <google/protobuf/inlined_string_field.h>
28
#include <google/protobuf/metadata.h>
29
#include <google/protobuf/message.h>
30
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
31
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
32
#include <google/protobuf/generated_enum_reflection.h>
33
#include <google/protobuf/unknown_field_set.h>
34
// @@protoc_insertion_point(includes)
35
#define PROTOBUF_INTERNAL_EXPORT_protobuf_iobuf_2eproto 
36
37
namespace protobuf_iobuf_2eproto {
38
// Internal implementation detail -- do not use these members.
39
struct TableStruct {
40
  static const ::google::protobuf::internal::ParseTableField entries[];
41
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
42
  static const ::google::protobuf::internal::ParseTable schema[1];
43
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
44
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
45
  static const ::google::protobuf::uint32 offsets[];
46
};
47
void AddDescriptors();
48
}  // namespace protobuf_iobuf_2eproto
49
namespace proto {
50
class Misc;
51
class MiscDefaultTypeInternal;
52
extern MiscDefaultTypeInternal _Misc_default_instance_;
53
}  // namespace proto
54
namespace google {
55
namespace protobuf {
56
template<> ::proto::Misc* Arena::CreateMaybeMessage<::proto::Misc>(Arena*);
57
}  // namespace protobuf
58
}  // namespace google
59
namespace proto {
60
61
enum CompressType {
62
  CompressTypeNone = 0,
63
  CompressTypeGzip = 1,
64
  CompressTypeZlib = 2,
65
  CompressTypeSnappy = 3,
66
  CompressTypeLZ4 = 4
67
};
68
bool CompressType_IsValid(int value);
69
const CompressType CompressType_MIN = CompressTypeNone;
70
const CompressType CompressType_MAX = CompressTypeLZ4;
71
const int CompressType_ARRAYSIZE = CompressType_MAX + 1;
72
73
const ::google::protobuf::EnumDescriptor* CompressType_descriptor();
74
0
inline const ::std::string& CompressType_Name(CompressType value) {
75
0
  return ::google::protobuf::internal::NameOfEnum(
76
0
    CompressType_descriptor(), value);
77
0
}
78
inline bool CompressType_Parse(
79
0
    const ::std::string& name, CompressType* value) {
80
0
  return ::google::protobuf::internal::ParseNamedEnum<CompressType>(
81
0
    CompressType_descriptor(), name, value);
82
0
}
83
// ===================================================================
84
85
class Misc : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:proto.Misc) */ {
86
 public:
87
  Misc();
88
  virtual ~Misc();
89
90
  Misc(const Misc& from);
91
92
0
  inline Misc& operator=(const Misc& from) {
93
0
    CopyFrom(from);
94
0
    return *this;
95
0
  }
96
  #if LANG_CXX11
97
  Misc(Misc&& from) noexcept
98
0
    : Misc() {
99
0
    *this = ::std::move(from);
100
0
  }
101
102
0
  inline Misc& operator=(Misc&& from) noexcept {
103
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
104
0
      if (this != &from) InternalSwap(&from);
105
0
    } else {
106
0
      CopyFrom(from);
107
0
    }
108
0
    return *this;
109
0
  }
110
  #endif
111
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
112
0
    return _internal_metadata_.unknown_fields();
113
0
  }
114
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
115
0
    return _internal_metadata_.mutable_unknown_fields();
116
0
  }
117
118
  static const ::google::protobuf::Descriptor* descriptor();
119
  static const Misc& default_instance();
120
121
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
122
0
  static inline const Misc* internal_default_instance() {
123
0
    return reinterpret_cast<const Misc*>(
124
0
               &_Misc_default_instance_);
125
0
  }
126
  static constexpr int kIndexInFileMessages =
127
    0;
128
129
  void Swap(Misc* other);
130
0
  friend void swap(Misc& a, Misc& b) {
131
0
    a.Swap(&b);
132
0
  }
133
134
  // implements Message ----------------------------------------------
135
136
0
  inline Misc* New() const final {
137
0
    return CreateMaybeMessage<Misc>(NULL);
138
0
  }
139
140
0
  Misc* New(::google::protobuf::Arena* arena) const final {
141
0
    return CreateMaybeMessage<Misc>(arena);
142
0
  }
143
  void CopyFrom(const ::google::protobuf::Message& from) final;
144
  void MergeFrom(const ::google::protobuf::Message& from) final;
145
  void CopyFrom(const Misc& from);
146
  void MergeFrom(const Misc& from);
147
  void Clear() final;
148
  bool IsInitialized() const final;
149
150
  size_t ByteSizeLong() const final;
151
  bool MergePartialFromCodedStream(
152
      ::google::protobuf::io::CodedInputStream* input) final;
153
  void SerializeWithCachedSizes(
154
      ::google::protobuf::io::CodedOutputStream* output) const final;
155
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
156
      bool deterministic, ::google::protobuf::uint8* target) const final;
157
0
  int GetCachedSize() const final { return _cached_size_.Get(); }
158
159
  private:
160
  void SharedCtor();
161
  void SharedDtor();
162
  void SetCachedSize(int size) const final;
163
  void InternalSwap(Misc* other);
164
  private:
165
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
166
0
    return NULL;
167
0
  }
168
0
  inline void* MaybeArenaPtr() const {
169
0
    return NULL;
170
0
  }
171
  public:
172
173
  ::google::protobuf::Metadata GetMetadata() const final;
174
175
  // nested types ----------------------------------------------------
176
177
  // accessors -------------------------------------------------------
178
179
  // repeated .proto.CompressType repeated_enum = 3;
180
  int repeated_enum_size() const;
181
  void clear_repeated_enum();
182
  static const int kRepeatedEnumFieldNumber = 3;
183
  ::proto::CompressType repeated_enum(int index) const;
184
  void set_repeated_enum(int index, ::proto::CompressType value);
185
  void add_repeated_enum(::proto::CompressType value);
186
  const ::google::protobuf::RepeatedField<int>& repeated_enum() const;
187
  ::google::protobuf::RepeatedField<int>* mutable_repeated_enum();
188
189
  // repeated uint64 repeated_uint64 = 6;
190
  int repeated_uint64_size() const;
191
  void clear_repeated_uint64();
192
  static const int kRepeatedUint64FieldNumber = 6;
193
  ::google::protobuf::uint64 repeated_uint64(int index) const;
194
  void set_repeated_uint64(int index, ::google::protobuf::uint64 value);
195
  void add_repeated_uint64(::google::protobuf::uint64 value);
196
  const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
197
      repeated_uint64() const;
198
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
199
      mutable_repeated_uint64();
200
201
  // repeated string repeated_string = 9;
202
  int repeated_string_size() const;
203
  void clear_repeated_string();
204
  static const int kRepeatedStringFieldNumber = 9;
205
  const ::std::string& repeated_string(int index) const;
206
  ::std::string* mutable_repeated_string(int index);
207
  void set_repeated_string(int index, const ::std::string& value);
208
  #if LANG_CXX11
209
  void set_repeated_string(int index, ::std::string&& value);
210
  #endif
211
  void set_repeated_string(int index, const char* value);
212
  void set_repeated_string(int index, const char* value, size_t size);
213
  ::std::string* add_repeated_string();
214
  void add_repeated_string(const ::std::string& value);
215
  #if LANG_CXX11
216
  void add_repeated_string(::std::string&& value);
217
  #endif
218
  void add_repeated_string(const char* value);
219
  void add_repeated_string(const char* value, size_t size);
220
  const ::google::protobuf::RepeatedPtrField< ::std::string>& repeated_string() const;
221
  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_repeated_string();
222
223
  // repeated bool repeated_bool = 12;
224
  int repeated_bool_size() const;
225
  void clear_repeated_bool();
226
  static const int kRepeatedBoolFieldNumber = 12;
227
  bool repeated_bool(int index) const;
228
  void set_repeated_bool(int index, bool value);
229
  void add_repeated_bool(bool value);
230
  const ::google::protobuf::RepeatedField< bool >&
231
      repeated_bool() const;
232
  ::google::protobuf::RepeatedField< bool >*
233
      mutable_repeated_bool();
234
235
  // repeated int32 repeated_int32 = 15;
236
  int repeated_int32_size() const;
237
  void clear_repeated_int32();
238
  static const int kRepeatedInt32FieldNumber = 15;
239
  ::google::protobuf::int32 repeated_int32(int index) const;
240
  void set_repeated_int32(int index, ::google::protobuf::int32 value);
241
  void add_repeated_int32(::google::protobuf::int32 value);
242
  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
243
      repeated_int32() const;
244
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
245
      mutable_repeated_int32();
246
247
  // required string required_string = 7;
248
  bool has_required_string() const;
249
  void clear_required_string();
250
  static const int kRequiredStringFieldNumber = 7;
251
  const ::std::string& required_string() const;
252
  void set_required_string(const ::std::string& value);
253
  #if LANG_CXX11
254
  void set_required_string(::std::string&& value);
255
  #endif
256
  void set_required_string(const char* value);
257
  void set_required_string(const char* value, size_t size);
258
  ::std::string* mutable_required_string();
259
  ::std::string* release_required_string();
260
  void set_allocated_required_string(::std::string* required_string);
261
262
  // optional string optional_string = 8;
263
  bool has_optional_string() const;
264
  void clear_optional_string();
265
  static const int kOptionalStringFieldNumber = 8;
266
  const ::std::string& optional_string() const;
267
  void set_optional_string(const ::std::string& value);
268
  #if LANG_CXX11
269
  void set_optional_string(::std::string&& value);
270
  #endif
271
  void set_optional_string(const char* value);
272
  void set_optional_string(const char* value, size_t size);
273
  ::std::string* mutable_optional_string();
274
  ::std::string* release_optional_string();
275
  void set_allocated_optional_string(::std::string* optional_string);
276
277
  // required .proto.CompressType required_enum = 1;
278
  bool has_required_enum() const;
279
  void clear_required_enum();
280
  static const int kRequiredEnumFieldNumber = 1;
281
  ::proto::CompressType required_enum() const;
282
  void set_required_enum(::proto::CompressType value);
283
284
  // optional .proto.CompressType optional_enum = 2;
285
  bool has_optional_enum() const;
286
  void clear_optional_enum();
287
  static const int kOptionalEnumFieldNumber = 2;
288
  ::proto::CompressType optional_enum() const;
289
  void set_optional_enum(::proto::CompressType value);
290
291
  // required uint64 required_uint64 = 4;
292
  bool has_required_uint64() const;
293
  void clear_required_uint64();
294
  static const int kRequiredUint64FieldNumber = 4;
295
  ::google::protobuf::uint64 required_uint64() const;
296
  void set_required_uint64(::google::protobuf::uint64 value);
297
298
  // optional uint64 optional_uint64 = 5;
299
  bool has_optional_uint64() const;
300
  void clear_optional_uint64();
301
  static const int kOptionalUint64FieldNumber = 5;
302
  ::google::protobuf::uint64 optional_uint64() const;
303
  void set_optional_uint64(::google::protobuf::uint64 value);
304
305
  // required bool required_bool = 10;
306
  bool has_required_bool() const;
307
  void clear_required_bool();
308
  static const int kRequiredBoolFieldNumber = 10;
309
  bool required_bool() const;
310
  void set_required_bool(bool value);
311
312
  // optional bool optional_bool = 11;
313
  bool has_optional_bool() const;
314
  void clear_optional_bool();
315
  static const int kOptionalBoolFieldNumber = 11;
316
  bool optional_bool() const;
317
  void set_optional_bool(bool value);
318
319
  // required int32 required_int32 = 13;
320
  bool has_required_int32() const;
321
  void clear_required_int32();
322
  static const int kRequiredInt32FieldNumber = 13;
323
  ::google::protobuf::int32 required_int32() const;
324
  void set_required_int32(::google::protobuf::int32 value);
325
326
  // optional int32 optional_int32 = 14;
327
  bool has_optional_int32() const;
328
  void clear_optional_int32();
329
  static const int kOptionalInt32FieldNumber = 14;
330
  ::google::protobuf::int32 optional_int32() const;
331
  void set_optional_int32(::google::protobuf::int32 value);
332
333
  // @@protoc_insertion_point(class_scope:proto.Misc)
334
 private:
335
  void set_has_required_enum();
336
  void clear_has_required_enum();
337
  void set_has_optional_enum();
338
  void clear_has_optional_enum();
339
  void set_has_required_uint64();
340
  void clear_has_required_uint64();
341
  void set_has_optional_uint64();
342
  void clear_has_optional_uint64();
343
  void set_has_required_string();
344
  void clear_has_required_string();
345
  void set_has_optional_string();
346
  void clear_has_optional_string();
347
  void set_has_required_bool();
348
  void clear_has_required_bool();
349
  void set_has_optional_bool();
350
  void clear_has_optional_bool();
351
  void set_has_required_int32();
352
  void clear_has_required_int32();
353
  void set_has_optional_int32();
354
  void clear_has_optional_int32();
355
356
  // helper for ByteSizeLong()
357
  size_t RequiredFieldsByteSizeFallback() const;
358
359
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
360
  ::google::protobuf::internal::HasBits<1> _has_bits_;
361
  mutable ::google::protobuf::internal::CachedSize _cached_size_;
362
  ::google::protobuf::RepeatedField<int> repeated_enum_;
363
  ::google::protobuf::RepeatedField< ::google::protobuf::uint64 > repeated_uint64_;
364
  ::google::protobuf::RepeatedPtrField< ::std::string> repeated_string_;
365
  ::google::protobuf::RepeatedField< bool > repeated_bool_;
366
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > repeated_int32_;
367
  ::google::protobuf::internal::ArenaStringPtr required_string_;
368
  ::google::protobuf::internal::ArenaStringPtr optional_string_;
369
  int required_enum_;
370
  int optional_enum_;
371
  ::google::protobuf::uint64 required_uint64_;
372
  ::google::protobuf::uint64 optional_uint64_;
373
  bool required_bool_;
374
  bool optional_bool_;
375
  ::google::protobuf::int32 required_int32_;
376
  ::google::protobuf::int32 optional_int32_;
377
  friend struct ::protobuf_iobuf_2eproto::TableStruct;
378
};
379
// ===================================================================
380
381
382
// ===================================================================
383
384
#ifdef __GNUC__
385
  #pragma GCC diagnostic push
386
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
387
#endif  // __GNUC__
388
// Misc
389
390
// required .proto.CompressType required_enum = 1;
391
0
inline bool Misc::has_required_enum() const {
392
0
  return (_has_bits_[0] & 0x00000004u) != 0;
393
0
}
394
0
inline void Misc::set_has_required_enum() {
395
0
  _has_bits_[0] |= 0x00000004u;
396
0
}
397
0
inline void Misc::clear_has_required_enum() {
398
0
  _has_bits_[0] &= ~0x00000004u;
399
0
}
400
0
inline void Misc::clear_required_enum() {
401
0
  required_enum_ = 0;
402
0
  clear_has_required_enum();
403
0
}
404
0
inline ::proto::CompressType Misc::required_enum() const {
405
  // @@protoc_insertion_point(field_get:proto.Misc.required_enum)
406
0
  return static_cast< ::proto::CompressType >(required_enum_);
407
0
}
408
0
inline void Misc::set_required_enum(::proto::CompressType value) {
409
0
  assert(::proto::CompressType_IsValid(value));
410
0
  set_has_required_enum();
411
0
  required_enum_ = value;
412
  // @@protoc_insertion_point(field_set:proto.Misc.required_enum)
413
0
}
414
415
// optional .proto.CompressType optional_enum = 2;
416
0
inline bool Misc::has_optional_enum() const {
417
0
  return (_has_bits_[0] & 0x00000008u) != 0;
418
0
}
419
0
inline void Misc::set_has_optional_enum() {
420
0
  _has_bits_[0] |= 0x00000008u;
421
0
}
422
0
inline void Misc::clear_has_optional_enum() {
423
0
  _has_bits_[0] &= ~0x00000008u;
424
0
}
425
0
inline void Misc::clear_optional_enum() {
426
0
  optional_enum_ = 0;
427
0
  clear_has_optional_enum();
428
0
}
429
0
inline ::proto::CompressType Misc::optional_enum() const {
430
  // @@protoc_insertion_point(field_get:proto.Misc.optional_enum)
431
0
  return static_cast< ::proto::CompressType >(optional_enum_);
432
0
}
433
0
inline void Misc::set_optional_enum(::proto::CompressType value) {
434
0
  assert(::proto::CompressType_IsValid(value));
435
0
  set_has_optional_enum();
436
0
  optional_enum_ = value;
437
  // @@protoc_insertion_point(field_set:proto.Misc.optional_enum)
438
0
}
439
440
// repeated .proto.CompressType repeated_enum = 3;
441
0
inline int Misc::repeated_enum_size() const {
442
0
  return repeated_enum_.size();
443
0
}
444
0
inline void Misc::clear_repeated_enum() {
445
0
  repeated_enum_.Clear();
446
0
}
447
0
inline ::proto::CompressType Misc::repeated_enum(int index) const {
448
  // @@protoc_insertion_point(field_get:proto.Misc.repeated_enum)
449
0
  return static_cast< ::proto::CompressType >(repeated_enum_.Get(index));
450
0
}
451
0
inline void Misc::set_repeated_enum(int index, ::proto::CompressType value) {
452
0
  assert(::proto::CompressType_IsValid(value));
453
0
  repeated_enum_.Set(index, value);
454
0
  // @@protoc_insertion_point(field_set:proto.Misc.repeated_enum)
455
0
}
456
0
inline void Misc::add_repeated_enum(::proto::CompressType value) {
457
0
  assert(::proto::CompressType_IsValid(value));
458
0
  repeated_enum_.Add(value);
459
  // @@protoc_insertion_point(field_add:proto.Misc.repeated_enum)
460
0
}
461
inline const ::google::protobuf::RepeatedField<int>&
462
0
Misc::repeated_enum() const {
463
0
  // @@protoc_insertion_point(field_list:proto.Misc.repeated_enum)
464
0
  return repeated_enum_;
465
0
}
466
inline ::google::protobuf::RepeatedField<int>*
467
0
Misc::mutable_repeated_enum() {
468
  // @@protoc_insertion_point(field_mutable_list:proto.Misc.repeated_enum)
469
0
  return &repeated_enum_;
470
0
}
471
472
// required uint64 required_uint64 = 4;
473
0
inline bool Misc::has_required_uint64() const {
474
0
  return (_has_bits_[0] & 0x00000010u) != 0;
475
0
}
476
0
inline void Misc::set_has_required_uint64() {
477
0
  _has_bits_[0] |= 0x00000010u;
478
0
}
479
0
inline void Misc::clear_has_required_uint64() {
480
0
  _has_bits_[0] &= ~0x00000010u;
481
0
}
482
0
inline void Misc::clear_required_uint64() {
483
0
  required_uint64_ = GOOGLE_ULONGLONG(0);
484
0
  clear_has_required_uint64();
485
0
}
486
0
inline ::google::protobuf::uint64 Misc::required_uint64() const {
487
  // @@protoc_insertion_point(field_get:proto.Misc.required_uint64)
488
0
  return required_uint64_;
489
0
}
490
0
inline void Misc::set_required_uint64(::google::protobuf::uint64 value) {
491
0
  set_has_required_uint64();
492
0
  required_uint64_ = value;
493
0
  // @@protoc_insertion_point(field_set:proto.Misc.required_uint64)
494
0
}
495
496
// optional uint64 optional_uint64 = 5;
497
0
inline bool Misc::has_optional_uint64() const {
498
0
  return (_has_bits_[0] & 0x00000020u) != 0;
499
0
}
500
0
inline void Misc::set_has_optional_uint64() {
501
0
  _has_bits_[0] |= 0x00000020u;
502
0
}
503
0
inline void Misc::clear_has_optional_uint64() {
504
0
  _has_bits_[0] &= ~0x00000020u;
505
0
}
506
0
inline void Misc::clear_optional_uint64() {
507
0
  optional_uint64_ = GOOGLE_ULONGLONG(0);
508
0
  clear_has_optional_uint64();
509
0
}
510
0
inline ::google::protobuf::uint64 Misc::optional_uint64() const {
511
  // @@protoc_insertion_point(field_get:proto.Misc.optional_uint64)
512
0
  return optional_uint64_;
513
0
}
514
0
inline void Misc::set_optional_uint64(::google::protobuf::uint64 value) {
515
0
  set_has_optional_uint64();
516
0
  optional_uint64_ = value;
517
0
  // @@protoc_insertion_point(field_set:proto.Misc.optional_uint64)
518
0
}
519
520
// repeated uint64 repeated_uint64 = 6;
521
0
inline int Misc::repeated_uint64_size() const {
522
0
  return repeated_uint64_.size();
523
0
}
524
0
inline void Misc::clear_repeated_uint64() {
525
0
  repeated_uint64_.Clear();
526
0
}
527
0
inline ::google::protobuf::uint64 Misc::repeated_uint64(int index) const {
528
  // @@protoc_insertion_point(field_get:proto.Misc.repeated_uint64)
529
0
  return repeated_uint64_.Get(index);
530
0
}
531
0
inline void Misc::set_repeated_uint64(int index, ::google::protobuf::uint64 value) {
532
0
  repeated_uint64_.Set(index, value);
533
0
  // @@protoc_insertion_point(field_set:proto.Misc.repeated_uint64)
534
0
}
535
0
inline void Misc::add_repeated_uint64(::google::protobuf::uint64 value) {
536
0
  repeated_uint64_.Add(value);
537
0
  // @@protoc_insertion_point(field_add:proto.Misc.repeated_uint64)
538
0
}
539
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >&
540
0
Misc::repeated_uint64() const {
541
0
  // @@protoc_insertion_point(field_list:proto.Misc.repeated_uint64)
542
0
  return repeated_uint64_;
543
0
}
544
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint64 >*
545
0
Misc::mutable_repeated_uint64() {
546
  // @@protoc_insertion_point(field_mutable_list:proto.Misc.repeated_uint64)
547
0
  return &repeated_uint64_;
548
0
}
549
550
// required string required_string = 7;
551
0
inline bool Misc::has_required_string() const {
552
0
  return (_has_bits_[0] & 0x00000001u) != 0;
553
0
}
554
0
inline void Misc::set_has_required_string() {
555
0
  _has_bits_[0] |= 0x00000001u;
556
0
}
557
0
inline void Misc::clear_has_required_string() {
558
0
  _has_bits_[0] &= ~0x00000001u;
559
0
}
560
0
inline void Misc::clear_required_string() {
561
0
  required_string_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
562
0
  clear_has_required_string();
563
0
}
564
0
inline const ::std::string& Misc::required_string() const {
565
  // @@protoc_insertion_point(field_get:proto.Misc.required_string)
566
0
  return required_string_.GetNoArena();
567
0
}
568
0
inline void Misc::set_required_string(const ::std::string& value) {
569
0
  set_has_required_string();
570
0
  required_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
571
0
  // @@protoc_insertion_point(field_set:proto.Misc.required_string)
572
0
}
573
#if LANG_CXX11
574
0
inline void Misc::set_required_string(::std::string&& value) {
575
0
  set_has_required_string();
576
0
  required_string_.SetNoArena(
577
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
578
0
  // @@protoc_insertion_point(field_set_rvalue:proto.Misc.required_string)
579
0
}
580
#endif
581
0
inline void Misc::set_required_string(const char* value) {
582
0
  GOOGLE_DCHECK(value != NULL);
583
0
  set_has_required_string();
584
0
  required_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
585
0
  // @@protoc_insertion_point(field_set_char:proto.Misc.required_string)
586
0
}
587
0
inline void Misc::set_required_string(const char* value, size_t size) {
588
0
  set_has_required_string();
589
0
  required_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
590
0
      ::std::string(reinterpret_cast<const char*>(value), size));
591
0
  // @@protoc_insertion_point(field_set_pointer:proto.Misc.required_string)
592
0
}
593
0
inline ::std::string* Misc::mutable_required_string() {
594
0
  set_has_required_string();
595
  // @@protoc_insertion_point(field_mutable:proto.Misc.required_string)
596
0
  return required_string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
597
0
}
598
0
inline ::std::string* Misc::release_required_string() {
599
0
  // @@protoc_insertion_point(field_release:proto.Misc.required_string)
600
0
  if (!has_required_string()) {
601
0
    return NULL;
602
0
  }
603
0
  clear_has_required_string();
604
0
  return required_string_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
605
0
}
606
0
inline void Misc::set_allocated_required_string(::std::string* required_string) {
607
0
  if (required_string != NULL) {
608
0
    set_has_required_string();
609
0
  } else {
610
0
    clear_has_required_string();
611
0
  }
612
0
  required_string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), required_string);
613
0
  // @@protoc_insertion_point(field_set_allocated:proto.Misc.required_string)
614
0
}
615
616
// optional string optional_string = 8;
617
0
inline bool Misc::has_optional_string() const {
618
0
  return (_has_bits_[0] & 0x00000002u) != 0;
619
0
}
620
0
inline void Misc::set_has_optional_string() {
621
0
  _has_bits_[0] |= 0x00000002u;
622
0
}
623
0
inline void Misc::clear_has_optional_string() {
624
0
  _has_bits_[0] &= ~0x00000002u;
625
0
}
626
0
inline void Misc::clear_optional_string() {
627
0
  optional_string_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
628
0
  clear_has_optional_string();
629
0
}
630
0
inline const ::std::string& Misc::optional_string() const {
631
  // @@protoc_insertion_point(field_get:proto.Misc.optional_string)
632
0
  return optional_string_.GetNoArena();
633
0
}
634
0
inline void Misc::set_optional_string(const ::std::string& value) {
635
0
  set_has_optional_string();
636
0
  optional_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
637
0
  // @@protoc_insertion_point(field_set:proto.Misc.optional_string)
638
0
}
639
#if LANG_CXX11
640
0
inline void Misc::set_optional_string(::std::string&& value) {
641
0
  set_has_optional_string();
642
0
  optional_string_.SetNoArena(
643
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
644
0
  // @@protoc_insertion_point(field_set_rvalue:proto.Misc.optional_string)
645
0
}
646
#endif
647
0
inline void Misc::set_optional_string(const char* value) {
648
0
  GOOGLE_DCHECK(value != NULL);
649
0
  set_has_optional_string();
650
0
  optional_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
651
0
  // @@protoc_insertion_point(field_set_char:proto.Misc.optional_string)
652
0
}
653
0
inline void Misc::set_optional_string(const char* value, size_t size) {
654
0
  set_has_optional_string();
655
0
  optional_string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
656
0
      ::std::string(reinterpret_cast<const char*>(value), size));
657
0
  // @@protoc_insertion_point(field_set_pointer:proto.Misc.optional_string)
658
0
}
659
0
inline ::std::string* Misc::mutable_optional_string() {
660
0
  set_has_optional_string();
661
  // @@protoc_insertion_point(field_mutable:proto.Misc.optional_string)
662
0
  return optional_string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
663
0
}
664
0
inline ::std::string* Misc::release_optional_string() {
665
0
  // @@protoc_insertion_point(field_release:proto.Misc.optional_string)
666
0
  if (!has_optional_string()) {
667
0
    return NULL;
668
0
  }
669
0
  clear_has_optional_string();
670
0
  return optional_string_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
671
0
}
672
0
inline void Misc::set_allocated_optional_string(::std::string* optional_string) {
673
0
  if (optional_string != NULL) {
674
0
    set_has_optional_string();
675
0
  } else {
676
0
    clear_has_optional_string();
677
0
  }
678
0
  optional_string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), optional_string);
679
0
  // @@protoc_insertion_point(field_set_allocated:proto.Misc.optional_string)
680
0
}
681
682
// repeated string repeated_string = 9;
683
0
inline int Misc::repeated_string_size() const {
684
0
  return repeated_string_.size();
685
0
}
686
0
inline void Misc::clear_repeated_string() {
687
0
  repeated_string_.Clear();
688
0
}
689
0
inline const ::std::string& Misc::repeated_string(int index) const {
690
  // @@protoc_insertion_point(field_get:proto.Misc.repeated_string)
691
0
  return repeated_string_.Get(index);
692
0
}
693
0
inline ::std::string* Misc::mutable_repeated_string(int index) {
694
0
  // @@protoc_insertion_point(field_mutable:proto.Misc.repeated_string)
695
0
  return repeated_string_.Mutable(index);
696
0
}
697
0
inline void Misc::set_repeated_string(int index, const ::std::string& value) {
698
0
  // @@protoc_insertion_point(field_set:proto.Misc.repeated_string)
699
0
  repeated_string_.Mutable(index)->assign(value);
700
0
}
701
#if LANG_CXX11
702
0
inline void Misc::set_repeated_string(int index, ::std::string&& value) {
703
0
  // @@protoc_insertion_point(field_set:proto.Misc.repeated_string)
704
0
  repeated_string_.Mutable(index)->assign(std::move(value));
705
0
}
706
#endif
707
0
inline void Misc::set_repeated_string(int index, const char* value) {
708
0
  GOOGLE_DCHECK(value != NULL);
709
0
  repeated_string_.Mutable(index)->assign(value);
710
0
  // @@protoc_insertion_point(field_set_char:proto.Misc.repeated_string)
711
0
}
712
0
inline void Misc::set_repeated_string(int index, const char* value, size_t size) {
713
0
  repeated_string_.Mutable(index)->assign(
714
0
    reinterpret_cast<const char*>(value), size);
715
0
  // @@protoc_insertion_point(field_set_pointer:proto.Misc.repeated_string)
716
0
}
717
0
inline ::std::string* Misc::add_repeated_string() {
718
  // @@protoc_insertion_point(field_add_mutable:proto.Misc.repeated_string)
719
0
  return repeated_string_.Add();
720
0
}
721
0
inline void Misc::add_repeated_string(const ::std::string& value) {
722
0
  repeated_string_.Add()->assign(value);
723
0
  // @@protoc_insertion_point(field_add:proto.Misc.repeated_string)
724
0
}
725
#if LANG_CXX11
726
0
inline void Misc::add_repeated_string(::std::string&& value) {
727
0
  repeated_string_.Add(std::move(value));
728
0
  // @@protoc_insertion_point(field_add:proto.Misc.repeated_string)
729
0
}
730
#endif
731
0
inline void Misc::add_repeated_string(const char* value) {
732
0
  GOOGLE_DCHECK(value != NULL);
733
0
  repeated_string_.Add()->assign(value);
734
0
  // @@protoc_insertion_point(field_add_char:proto.Misc.repeated_string)
735
0
}
736
0
inline void Misc::add_repeated_string(const char* value, size_t size) {
737
0
  repeated_string_.Add()->assign(reinterpret_cast<const char*>(value), size);
738
0
  // @@protoc_insertion_point(field_add_pointer:proto.Misc.repeated_string)
739
0
}
740
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
741
0
Misc::repeated_string() const {
742
0
  // @@protoc_insertion_point(field_list:proto.Misc.repeated_string)
743
0
  return repeated_string_;
744
0
}
745
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
746
0
Misc::mutable_repeated_string() {
747
0
  // @@protoc_insertion_point(field_mutable_list:proto.Misc.repeated_string)
748
0
  return &repeated_string_;
749
0
}
750
751
// required bool required_bool = 10;
752
0
inline bool Misc::has_required_bool() const {
753
0
  return (_has_bits_[0] & 0x00000040u) != 0;
754
0
}
755
0
inline void Misc::set_has_required_bool() {
756
0
  _has_bits_[0] |= 0x00000040u;
757
0
}
758
0
inline void Misc::clear_has_required_bool() {
759
0
  _has_bits_[0] &= ~0x00000040u;
760
0
}
761
0
inline void Misc::clear_required_bool() {
762
0
  required_bool_ = false;
763
0
  clear_has_required_bool();
764
0
}
765
0
inline bool Misc::required_bool() const {
766
  // @@protoc_insertion_point(field_get:proto.Misc.required_bool)
767
0
  return required_bool_;
768
0
}
769
0
inline void Misc::set_required_bool(bool value) {
770
0
  set_has_required_bool();
771
0
  required_bool_ = value;
772
0
  // @@protoc_insertion_point(field_set:proto.Misc.required_bool)
773
0
}
774
775
// optional bool optional_bool = 11;
776
0
inline bool Misc::has_optional_bool() const {
777
0
  return (_has_bits_[0] & 0x00000080u) != 0;
778
0
}
779
0
inline void Misc::set_has_optional_bool() {
780
0
  _has_bits_[0] |= 0x00000080u;
781
0
}
782
0
inline void Misc::clear_has_optional_bool() {
783
0
  _has_bits_[0] &= ~0x00000080u;
784
0
}
785
0
inline void Misc::clear_optional_bool() {
786
0
  optional_bool_ = false;
787
0
  clear_has_optional_bool();
788
0
}
789
0
inline bool Misc::optional_bool() const {
790
  // @@protoc_insertion_point(field_get:proto.Misc.optional_bool)
791
0
  return optional_bool_;
792
0
}
793
0
inline void Misc::set_optional_bool(bool value) {
794
0
  set_has_optional_bool();
795
0
  optional_bool_ = value;
796
0
  // @@protoc_insertion_point(field_set:proto.Misc.optional_bool)
797
0
}
798
799
// repeated bool repeated_bool = 12;
800
0
inline int Misc::repeated_bool_size() const {
801
0
  return repeated_bool_.size();
802
0
}
803
0
inline void Misc::clear_repeated_bool() {
804
0
  repeated_bool_.Clear();
805
0
}
806
0
inline bool Misc::repeated_bool(int index) const {
807
  // @@protoc_insertion_point(field_get:proto.Misc.repeated_bool)
808
0
  return repeated_bool_.Get(index);
809
0
}
810
0
inline void Misc::set_repeated_bool(int index, bool value) {
811
0
  repeated_bool_.Set(index, value);
812
0
  // @@protoc_insertion_point(field_set:proto.Misc.repeated_bool)
813
0
}
814
0
inline void Misc::add_repeated_bool(bool value) {
815
0
  repeated_bool_.Add(value);
816
0
  // @@protoc_insertion_point(field_add:proto.Misc.repeated_bool)
817
0
}
818
inline const ::google::protobuf::RepeatedField< bool >&
819
0
Misc::repeated_bool() const {
820
0
  // @@protoc_insertion_point(field_list:proto.Misc.repeated_bool)
821
0
  return repeated_bool_;
822
0
}
823
inline ::google::protobuf::RepeatedField< bool >*
824
0
Misc::mutable_repeated_bool() {
825
  // @@protoc_insertion_point(field_mutable_list:proto.Misc.repeated_bool)
826
0
  return &repeated_bool_;
827
0
}
828
829
// required int32 required_int32 = 13;
830
0
inline bool Misc::has_required_int32() const {
831
0
  return (_has_bits_[0] & 0x00000100u) != 0;
832
0
}
833
0
inline void Misc::set_has_required_int32() {
834
0
  _has_bits_[0] |= 0x00000100u;
835
0
}
836
0
inline void Misc::clear_has_required_int32() {
837
0
  _has_bits_[0] &= ~0x00000100u;
838
0
}
839
0
inline void Misc::clear_required_int32() {
840
0
  required_int32_ = 0;
841
0
  clear_has_required_int32();
842
0
}
843
0
inline ::google::protobuf::int32 Misc::required_int32() const {
844
  // @@protoc_insertion_point(field_get:proto.Misc.required_int32)
845
0
  return required_int32_;
846
0
}
847
0
inline void Misc::set_required_int32(::google::protobuf::int32 value) {
848
0
  set_has_required_int32();
849
0
  required_int32_ = value;
850
0
  // @@protoc_insertion_point(field_set:proto.Misc.required_int32)
851
0
}
852
853
// optional int32 optional_int32 = 14;
854
0
inline bool Misc::has_optional_int32() const {
855
0
  return (_has_bits_[0] & 0x00000200u) != 0;
856
0
}
857
0
inline void Misc::set_has_optional_int32() {
858
0
  _has_bits_[0] |= 0x00000200u;
859
0
}
860
0
inline void Misc::clear_has_optional_int32() {
861
0
  _has_bits_[0] &= ~0x00000200u;
862
0
}
863
0
inline void Misc::clear_optional_int32() {
864
0
  optional_int32_ = 0;
865
0
  clear_has_optional_int32();
866
0
}
867
0
inline ::google::protobuf::int32 Misc::optional_int32() const {
868
  // @@protoc_insertion_point(field_get:proto.Misc.optional_int32)
869
0
  return optional_int32_;
870
0
}
871
0
inline void Misc::set_optional_int32(::google::protobuf::int32 value) {
872
0
  set_has_optional_int32();
873
0
  optional_int32_ = value;
874
0
  // @@protoc_insertion_point(field_set:proto.Misc.optional_int32)
875
0
}
876
877
// repeated int32 repeated_int32 = 15;
878
0
inline int Misc::repeated_int32_size() const {
879
0
  return repeated_int32_.size();
880
0
}
881
0
inline void Misc::clear_repeated_int32() {
882
0
  repeated_int32_.Clear();
883
0
}
884
0
inline ::google::protobuf::int32 Misc::repeated_int32(int index) const {
885
  // @@protoc_insertion_point(field_get:proto.Misc.repeated_int32)
886
0
  return repeated_int32_.Get(index);
887
0
}
888
0
inline void Misc::set_repeated_int32(int index, ::google::protobuf::int32 value) {
889
0
  repeated_int32_.Set(index, value);
890
0
  // @@protoc_insertion_point(field_set:proto.Misc.repeated_int32)
891
0
}
892
0
inline void Misc::add_repeated_int32(::google::protobuf::int32 value) {
893
0
  repeated_int32_.Add(value);
894
0
  // @@protoc_insertion_point(field_add:proto.Misc.repeated_int32)
895
0
}
896
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
897
0
Misc::repeated_int32() const {
898
0
  // @@protoc_insertion_point(field_list:proto.Misc.repeated_int32)
899
0
  return repeated_int32_;
900
0
}
901
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
902
0
Misc::mutable_repeated_int32() {
903
  // @@protoc_insertion_point(field_mutable_list:proto.Misc.repeated_int32)
904
0
  return &repeated_int32_;
905
0
}
906
907
#ifdef __GNUC__
908
  #pragma GCC diagnostic pop
909
#endif  // __GNUC__
910
911
// @@protoc_insertion_point(namespace_scope)
912
913
}  // namespace proto
914
915
namespace google {
916
namespace protobuf {
917
918
template <> struct is_proto_enum< ::proto::CompressType> : ::std::true_type {};
919
template <>
920
0
inline const EnumDescriptor* GetEnumDescriptor< ::proto::CompressType>() {
921
0
  return ::proto::CompressType_descriptor();
922
0
}
923
924
}  // namespace protobuf
925
}  // namespace google
926
927
// @@protoc_insertion_point(global_scope)
928
929
#endif  // PROTOBUF_INCLUDED_iobuf_2eproto