Coverage Report

Created: 2026-02-02 06:25

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/brpc/build/brpc/rpc_dump.pb.h
Line
Count
Source
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: brpc/rpc_dump.proto
3
4
#ifndef GOOGLE_PROTOBUF_INCLUDED_brpc_2frpc_5fdump_2eproto
5
#define GOOGLE_PROTOBUF_INCLUDED_brpc_2frpc_5fdump_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/unknown_field_set.h>
33
#include "brpc/options.pb.h"
34
// @@protoc_insertion_point(includes)
35
#include <google/protobuf/port_def.inc>
36
#define PROTOBUF_INTERNAL_EXPORT_brpc_2frpc_5fdump_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_brpc_2frpc_5fdump_2eproto {
45
  static const uint32_t offsets[];
46
};
47
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_brpc_2frpc_5fdump_2eproto;
48
namespace brpc {
49
class RpcDumpMeta;
50
struct RpcDumpMetaDefaultTypeInternal;
51
extern RpcDumpMetaDefaultTypeInternal _RpcDumpMeta_default_instance_;
52
}  // namespace brpc
53
PROTOBUF_NAMESPACE_OPEN
54
template<> ::brpc::RpcDumpMeta* Arena::CreateMaybeMessage<::brpc::RpcDumpMeta>(Arena*);
55
PROTOBUF_NAMESPACE_CLOSE
56
namespace brpc {
57
58
// ===================================================================
59
60
class RpcDumpMeta final :
61
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:brpc.RpcDumpMeta) */ {
62
 public:
63
0
  inline RpcDumpMeta() : RpcDumpMeta(nullptr) {}
64
  ~RpcDumpMeta() override;
65
  explicit PROTOBUF_CONSTEXPR RpcDumpMeta(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
66
67
  RpcDumpMeta(const RpcDumpMeta& from);
68
  RpcDumpMeta(RpcDumpMeta&& from) noexcept
69
0
    : RpcDumpMeta() {
70
0
    *this = ::std::move(from);
71
0
  }
72
73
0
  inline RpcDumpMeta& operator=(const RpcDumpMeta& from) {
74
0
    CopyFrom(from);
75
0
    return *this;
76
0
  }
77
0
  inline RpcDumpMeta& operator=(RpcDumpMeta&& from) noexcept {
78
0
    if (this == &from) return *this;
79
0
    if (GetOwningArena() == from.GetOwningArena()
80
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
81
0
        && GetOwningArena() != nullptr
82
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
83
0
    ) {
84
0
      InternalSwap(&from);
85
0
    } else {
86
0
      CopyFrom(from);
87
0
    }
88
0
    return *this;
89
0
  }
90
91
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
92
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
93
0
  }
94
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
95
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
96
0
  }
97
98
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
99
0
    return GetDescriptor();
100
0
  }
101
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
102
0
    return default_instance().GetMetadata().descriptor;
103
0
  }
104
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
105
0
    return default_instance().GetMetadata().reflection;
106
0
  }
107
0
  static const RpcDumpMeta& default_instance() {
108
0
    return *internal_default_instance();
109
0
  }
110
0
  static inline const RpcDumpMeta* internal_default_instance() {
111
0
    return reinterpret_cast<const RpcDumpMeta*>(
112
0
               &_RpcDumpMeta_default_instance_);
113
0
  }
114
  static constexpr int kIndexInFileMessages =
115
    0;
116
117
0
  friend void swap(RpcDumpMeta& a, RpcDumpMeta& b) {
118
0
    a.Swap(&b);
119
0
  }
120
0
  inline void Swap(RpcDumpMeta* other) {
121
0
    if (other == this) return;
122
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
123
0
    if (GetOwningArena() != nullptr &&
124
0
        GetOwningArena() == other->GetOwningArena()) {
125
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
126
0
    if (GetOwningArena() == other->GetOwningArena()) {
127
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
128
0
      InternalSwap(other);
129
0
    } else {
130
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
131
0
    }
132
0
  }
133
0
  void UnsafeArenaSwap(RpcDumpMeta* other) {
134
0
    if (other == this) return;
135
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
136
0
    InternalSwap(other);
137
0
  }
138
139
  // implements Message ----------------------------------------------
140
141
0
  RpcDumpMeta* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
142
0
    return CreateMaybeMessage<RpcDumpMeta>(arena);
143
0
  }
144
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
145
  void CopyFrom(const RpcDumpMeta& from);
146
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
147
0
  void MergeFrom( const RpcDumpMeta& from) {
148
0
    RpcDumpMeta::MergeImpl(*this, from);
149
0
  }
150
  private:
151
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
152
  public:
153
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
154
  bool IsInitialized() const final;
155
156
  size_t ByteSizeLong() const final;
157
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
158
  uint8_t* _InternalSerialize(
159
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
160
0
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
161
162
  private:
163
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
164
  void SharedDtor();
165
  void SetCachedSize(int size) const final;
166
  void InternalSwap(RpcDumpMeta* other);
167
168
  private:
169
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
170
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
171
0
    return "brpc.RpcDumpMeta";
172
0
  }
173
  protected:
174
  explicit RpcDumpMeta(::PROTOBUF_NAMESPACE_ID::Arena* arena,
175
                       bool is_message_owned = false);
176
  public:
177
178
  static const ClassData _class_data_;
179
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
180
181
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
182
183
  // nested types ----------------------------------------------------
184
185
  // accessors -------------------------------------------------------
186
187
  enum : int {
188
    kServiceNameFieldNumber = 1,
189
    kMethodNameFieldNumber = 2,
190
    kAuthenticationDataFieldNumber = 7,
191
    kUserDataFieldNumber = 8,
192
    kNsheadFieldNumber = 9,
193
    kMethodIndexFieldNumber = 3,
194
    kCompressTypeFieldNumber = 4,
195
    kProtocolTypeFieldNumber = 5,
196
    kAttachmentSizeFieldNumber = 6,
197
  };
198
  // optional string service_name = 1;
199
  bool has_service_name() const;
200
  private:
201
  bool _internal_has_service_name() const;
202
  public:
203
  void clear_service_name();
204
  const std::string& service_name() const;
205
  template <typename ArgT0 = const std::string&, typename... ArgT>
206
  void set_service_name(ArgT0&& arg0, ArgT... args);
207
  std::string* mutable_service_name();
208
  PROTOBUF_NODISCARD std::string* release_service_name();
209
  void set_allocated_service_name(std::string* service_name);
210
  private:
211
  const std::string& _internal_service_name() const;
212
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_service_name(const std::string& value);
213
  std::string* _internal_mutable_service_name();
214
  public:
215
216
  // optional string method_name = 2;
217
  bool has_method_name() const;
218
  private:
219
  bool _internal_has_method_name() const;
220
  public:
221
  void clear_method_name();
222
  const std::string& method_name() const;
223
  template <typename ArgT0 = const std::string&, typename... ArgT>
224
  void set_method_name(ArgT0&& arg0, ArgT... args);
225
  std::string* mutable_method_name();
226
  PROTOBUF_NODISCARD std::string* release_method_name();
227
  void set_allocated_method_name(std::string* method_name);
228
  private:
229
  const std::string& _internal_method_name() const;
230
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_method_name(const std::string& value);
231
  std::string* _internal_mutable_method_name();
232
  public:
233
234
  // optional bytes authentication_data = 7;
235
  bool has_authentication_data() const;
236
  private:
237
  bool _internal_has_authentication_data() const;
238
  public:
239
  void clear_authentication_data();
240
  const std::string& authentication_data() const;
241
  template <typename ArgT0 = const std::string&, typename... ArgT>
242
  void set_authentication_data(ArgT0&& arg0, ArgT... args);
243
  std::string* mutable_authentication_data();
244
  PROTOBUF_NODISCARD std::string* release_authentication_data();
245
  void set_allocated_authentication_data(std::string* authentication_data);
246
  private:
247
  const std::string& _internal_authentication_data() const;
248
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_authentication_data(const std::string& value);
249
  std::string* _internal_mutable_authentication_data();
250
  public:
251
252
  // optional bytes user_data = 8;
253
  bool has_user_data() const;
254
  private:
255
  bool _internal_has_user_data() const;
256
  public:
257
  void clear_user_data();
258
  const std::string& user_data() const;
259
  template <typename ArgT0 = const std::string&, typename... ArgT>
260
  void set_user_data(ArgT0&& arg0, ArgT... args);
261
  std::string* mutable_user_data();
262
  PROTOBUF_NODISCARD std::string* release_user_data();
263
  void set_allocated_user_data(std::string* user_data);
264
  private:
265
  const std::string& _internal_user_data() const;
266
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_user_data(const std::string& value);
267
  std::string* _internal_mutable_user_data();
268
  public:
269
270
  // optional bytes nshead = 9;
271
  bool has_nshead() const;
272
  private:
273
  bool _internal_has_nshead() const;
274
  public:
275
  void clear_nshead();
276
  const std::string& nshead() const;
277
  template <typename ArgT0 = const std::string&, typename... ArgT>
278
  void set_nshead(ArgT0&& arg0, ArgT... args);
279
  std::string* mutable_nshead();
280
  PROTOBUF_NODISCARD std::string* release_nshead();
281
  void set_allocated_nshead(std::string* nshead);
282
  private:
283
  const std::string& _internal_nshead() const;
284
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_nshead(const std::string& value);
285
  std::string* _internal_mutable_nshead();
286
  public:
287
288
  // optional int32 method_index = 3;
289
  bool has_method_index() const;
290
  private:
291
  bool _internal_has_method_index() const;
292
  public:
293
  void clear_method_index();
294
  int32_t method_index() const;
295
  void set_method_index(int32_t value);
296
  private:
297
  int32_t _internal_method_index() const;
298
  void _internal_set_method_index(int32_t value);
299
  public:
300
301
  // optional .brpc.CompressType compress_type = 4;
302
  bool has_compress_type() const;
303
  private:
304
  bool _internal_has_compress_type() const;
305
  public:
306
  void clear_compress_type();
307
  ::brpc::CompressType compress_type() const;
308
  void set_compress_type(::brpc::CompressType value);
309
  private:
310
  ::brpc::CompressType _internal_compress_type() const;
311
  void _internal_set_compress_type(::brpc::CompressType value);
312
  public:
313
314
  // optional .brpc.ProtocolType protocol_type = 5;
315
  bool has_protocol_type() const;
316
  private:
317
  bool _internal_has_protocol_type() const;
318
  public:
319
  void clear_protocol_type();
320
  ::brpc::ProtocolType protocol_type() const;
321
  void set_protocol_type(::brpc::ProtocolType value);
322
  private:
323
  ::brpc::ProtocolType _internal_protocol_type() const;
324
  void _internal_set_protocol_type(::brpc::ProtocolType value);
325
  public:
326
327
  // optional int32 attachment_size = 6;
328
  bool has_attachment_size() const;
329
  private:
330
  bool _internal_has_attachment_size() const;
331
  public:
332
  void clear_attachment_size();
333
  int32_t attachment_size() const;
334
  void set_attachment_size(int32_t value);
335
  private:
336
  int32_t _internal_attachment_size() const;
337
  void _internal_set_attachment_size(int32_t value);
338
  public:
339
340
  // @@protoc_insertion_point(class_scope:brpc.RpcDumpMeta)
341
 private:
342
  class _Internal;
343
344
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
345
  typedef void InternalArenaConstructable_;
346
  typedef void DestructorSkippable_;
347
  struct Impl_ {
348
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
349
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
350
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr service_name_;
351
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr method_name_;
352
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr authentication_data_;
353
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr user_data_;
354
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nshead_;
355
    int32_t method_index_;
356
    int compress_type_;
357
    int protocol_type_;
358
    int32_t attachment_size_;
359
  };
360
  union { Impl_ _impl_; };
361
  friend struct ::TableStruct_brpc_2frpc_5fdump_2eproto;
362
};
363
// ===================================================================
364
365
366
// ===================================================================
367
368
#ifdef __GNUC__
369
  #pragma GCC diagnostic push
370
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
371
#endif  // __GNUC__
372
// RpcDumpMeta
373
374
// optional string service_name = 1;
375
0
inline bool RpcDumpMeta::_internal_has_service_name() const {
376
0
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
377
0
  return value;
378
0
}
379
0
inline bool RpcDumpMeta::has_service_name() const {
380
0
  return _internal_has_service_name();
381
0
}
382
0
inline void RpcDumpMeta::clear_service_name() {
383
0
  _impl_.service_name_.ClearToEmpty();
384
0
  _impl_._has_bits_[0] &= ~0x00000001u;
385
0
}
386
0
inline const std::string& RpcDumpMeta::service_name() const {
387
  // @@protoc_insertion_point(field_get:brpc.RpcDumpMeta.service_name)
388
0
  return _internal_service_name();
389
0
}
390
template <typename ArgT0, typename... ArgT>
391
inline PROTOBUF_ALWAYS_INLINE
392
0
void RpcDumpMeta::set_service_name(ArgT0&& arg0, ArgT... args) {
393
0
 _impl_._has_bits_[0] |= 0x00000001u;
394
0
 _impl_.service_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
395
  // @@protoc_insertion_point(field_set:brpc.RpcDumpMeta.service_name)
396
0
}
397
0
inline std::string* RpcDumpMeta::mutable_service_name() {
398
0
  std::string* _s = _internal_mutable_service_name();
399
0
  // @@protoc_insertion_point(field_mutable:brpc.RpcDumpMeta.service_name)
400
0
  return _s;
401
0
}
402
0
inline const std::string& RpcDumpMeta::_internal_service_name() const {
403
0
  return _impl_.service_name_.Get();
404
0
}
405
0
inline void RpcDumpMeta::_internal_set_service_name(const std::string& value) {
406
0
  _impl_._has_bits_[0] |= 0x00000001u;
407
0
  _impl_.service_name_.Set(value, GetArenaForAllocation());
408
0
}
409
0
inline std::string* RpcDumpMeta::_internal_mutable_service_name() {
410
0
  _impl_._has_bits_[0] |= 0x00000001u;
411
0
  return _impl_.service_name_.Mutable(GetArenaForAllocation());
412
0
}
413
0
inline std::string* RpcDumpMeta::release_service_name() {
414
0
  // @@protoc_insertion_point(field_release:brpc.RpcDumpMeta.service_name)
415
0
  if (!_internal_has_service_name()) {
416
0
    return nullptr;
417
0
  }
418
0
  _impl_._has_bits_[0] &= ~0x00000001u;
419
0
  auto* p = _impl_.service_name_.Release();
420
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
421
0
  if (_impl_.service_name_.IsDefault()) {
422
0
    _impl_.service_name_.Set("", GetArenaForAllocation());
423
0
  }
424
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
425
0
  return p;
426
0
}
427
0
inline void RpcDumpMeta::set_allocated_service_name(std::string* service_name) {
428
0
  if (service_name != nullptr) {
429
0
    _impl_._has_bits_[0] |= 0x00000001u;
430
0
  } else {
431
0
    _impl_._has_bits_[0] &= ~0x00000001u;
432
0
  }
433
0
  _impl_.service_name_.SetAllocated(service_name, GetArenaForAllocation());
434
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
435
0
  if (_impl_.service_name_.IsDefault()) {
436
0
    _impl_.service_name_.Set("", GetArenaForAllocation());
437
0
  }
438
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
439
0
  // @@protoc_insertion_point(field_set_allocated:brpc.RpcDumpMeta.service_name)
440
0
}
441
442
// optional string method_name = 2;
443
0
inline bool RpcDumpMeta::_internal_has_method_name() const {
444
0
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
445
0
  return value;
446
0
}
447
0
inline bool RpcDumpMeta::has_method_name() const {
448
0
  return _internal_has_method_name();
449
0
}
450
0
inline void RpcDumpMeta::clear_method_name() {
451
0
  _impl_.method_name_.ClearToEmpty();
452
0
  _impl_._has_bits_[0] &= ~0x00000002u;
453
0
}
454
0
inline const std::string& RpcDumpMeta::method_name() const {
455
  // @@protoc_insertion_point(field_get:brpc.RpcDumpMeta.method_name)
456
0
  return _internal_method_name();
457
0
}
458
template <typename ArgT0, typename... ArgT>
459
inline PROTOBUF_ALWAYS_INLINE
460
0
void RpcDumpMeta::set_method_name(ArgT0&& arg0, ArgT... args) {
461
0
 _impl_._has_bits_[0] |= 0x00000002u;
462
0
 _impl_.method_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
463
  // @@protoc_insertion_point(field_set:brpc.RpcDumpMeta.method_name)
464
0
}
465
0
inline std::string* RpcDumpMeta::mutable_method_name() {
466
0
  std::string* _s = _internal_mutable_method_name();
467
0
  // @@protoc_insertion_point(field_mutable:brpc.RpcDumpMeta.method_name)
468
0
  return _s;
469
0
}
470
0
inline const std::string& RpcDumpMeta::_internal_method_name() const {
471
0
  return _impl_.method_name_.Get();
472
0
}
473
0
inline void RpcDumpMeta::_internal_set_method_name(const std::string& value) {
474
0
  _impl_._has_bits_[0] |= 0x00000002u;
475
0
  _impl_.method_name_.Set(value, GetArenaForAllocation());
476
0
}
477
0
inline std::string* RpcDumpMeta::_internal_mutable_method_name() {
478
0
  _impl_._has_bits_[0] |= 0x00000002u;
479
0
  return _impl_.method_name_.Mutable(GetArenaForAllocation());
480
0
}
481
0
inline std::string* RpcDumpMeta::release_method_name() {
482
0
  // @@protoc_insertion_point(field_release:brpc.RpcDumpMeta.method_name)
483
0
  if (!_internal_has_method_name()) {
484
0
    return nullptr;
485
0
  }
486
0
  _impl_._has_bits_[0] &= ~0x00000002u;
487
0
  auto* p = _impl_.method_name_.Release();
488
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
489
0
  if (_impl_.method_name_.IsDefault()) {
490
0
    _impl_.method_name_.Set("", GetArenaForAllocation());
491
0
  }
492
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
493
0
  return p;
494
0
}
495
0
inline void RpcDumpMeta::set_allocated_method_name(std::string* method_name) {
496
0
  if (method_name != nullptr) {
497
0
    _impl_._has_bits_[0] |= 0x00000002u;
498
0
  } else {
499
0
    _impl_._has_bits_[0] &= ~0x00000002u;
500
0
  }
501
0
  _impl_.method_name_.SetAllocated(method_name, GetArenaForAllocation());
502
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
503
0
  if (_impl_.method_name_.IsDefault()) {
504
0
    _impl_.method_name_.Set("", GetArenaForAllocation());
505
0
  }
506
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
507
0
  // @@protoc_insertion_point(field_set_allocated:brpc.RpcDumpMeta.method_name)
508
0
}
509
510
// optional int32 method_index = 3;
511
0
inline bool RpcDumpMeta::_internal_has_method_index() const {
512
0
  bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
513
0
  return value;
514
0
}
515
0
inline bool RpcDumpMeta::has_method_index() const {
516
0
  return _internal_has_method_index();
517
0
}
518
0
inline void RpcDumpMeta::clear_method_index() {
519
0
  _impl_.method_index_ = 0;
520
0
  _impl_._has_bits_[0] &= ~0x00000020u;
521
0
}
522
0
inline int32_t RpcDumpMeta::_internal_method_index() const {
523
0
  return _impl_.method_index_;
524
0
}
525
0
inline int32_t RpcDumpMeta::method_index() const {
526
  // @@protoc_insertion_point(field_get:brpc.RpcDumpMeta.method_index)
527
0
  return _internal_method_index();
528
0
}
529
0
inline void RpcDumpMeta::_internal_set_method_index(int32_t value) {
530
0
  _impl_._has_bits_[0] |= 0x00000020u;
531
0
  _impl_.method_index_ = value;
532
0
}
533
0
inline void RpcDumpMeta::set_method_index(int32_t value) {
534
0
  _internal_set_method_index(value);
535
  // @@protoc_insertion_point(field_set:brpc.RpcDumpMeta.method_index)
536
0
}
537
538
// optional .brpc.CompressType compress_type = 4;
539
0
inline bool RpcDumpMeta::_internal_has_compress_type() const {
540
0
  bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
541
0
  return value;
542
0
}
543
0
inline bool RpcDumpMeta::has_compress_type() const {
544
0
  return _internal_has_compress_type();
545
0
}
546
0
inline void RpcDumpMeta::clear_compress_type() {
547
0
  _impl_.compress_type_ = 0;
548
0
  _impl_._has_bits_[0] &= ~0x00000040u;
549
0
}
550
0
inline ::brpc::CompressType RpcDumpMeta::_internal_compress_type() const {
551
0
  return static_cast< ::brpc::CompressType >(_impl_.compress_type_);
552
0
}
553
0
inline ::brpc::CompressType RpcDumpMeta::compress_type() const {
554
  // @@protoc_insertion_point(field_get:brpc.RpcDumpMeta.compress_type)
555
0
  return _internal_compress_type();
556
0
}
557
0
inline void RpcDumpMeta::_internal_set_compress_type(::brpc::CompressType value) {
558
0
  assert(::brpc::CompressType_IsValid(value));
559
0
  _impl_._has_bits_[0] |= 0x00000040u;
560
0
  _impl_.compress_type_ = value;
561
0
}
562
0
inline void RpcDumpMeta::set_compress_type(::brpc::CompressType value) {
563
0
  _internal_set_compress_type(value);
564
  // @@protoc_insertion_point(field_set:brpc.RpcDumpMeta.compress_type)
565
0
}
566
567
// optional .brpc.ProtocolType protocol_type = 5;
568
0
inline bool RpcDumpMeta::_internal_has_protocol_type() const {
569
0
  bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
570
0
  return value;
571
0
}
572
0
inline bool RpcDumpMeta::has_protocol_type() const {
573
0
  return _internal_has_protocol_type();
574
0
}
575
0
inline void RpcDumpMeta::clear_protocol_type() {
576
0
  _impl_.protocol_type_ = 0;
577
0
  _impl_._has_bits_[0] &= ~0x00000080u;
578
0
}
579
0
inline ::brpc::ProtocolType RpcDumpMeta::_internal_protocol_type() const {
580
0
  return static_cast< ::brpc::ProtocolType >(_impl_.protocol_type_);
581
0
}
582
0
inline ::brpc::ProtocolType RpcDumpMeta::protocol_type() const {
583
0
  // @@protoc_insertion_point(field_get:brpc.RpcDumpMeta.protocol_type)
584
0
  return _internal_protocol_type();
585
0
}
586
0
inline void RpcDumpMeta::_internal_set_protocol_type(::brpc::ProtocolType value) {
587
0
  assert(::brpc::ProtocolType_IsValid(value));
588
0
  _impl_._has_bits_[0] |= 0x00000080u;
589
0
  _impl_.protocol_type_ = value;
590
0
}
591
0
inline void RpcDumpMeta::set_protocol_type(::brpc::ProtocolType value) {
592
0
  _internal_set_protocol_type(value);
593
  // @@protoc_insertion_point(field_set:brpc.RpcDumpMeta.protocol_type)
594
0
}
595
596
// optional int32 attachment_size = 6;
597
0
inline bool RpcDumpMeta::_internal_has_attachment_size() const {
598
0
  bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
599
0
  return value;
600
0
}
601
0
inline bool RpcDumpMeta::has_attachment_size() const {
602
0
  return _internal_has_attachment_size();
603
0
}
604
0
inline void RpcDumpMeta::clear_attachment_size() {
605
0
  _impl_.attachment_size_ = 0;
606
0
  _impl_._has_bits_[0] &= ~0x00000100u;
607
0
}
608
0
inline int32_t RpcDumpMeta::_internal_attachment_size() const {
609
0
  return _impl_.attachment_size_;
610
0
}
611
0
inline int32_t RpcDumpMeta::attachment_size() const {
612
0
  // @@protoc_insertion_point(field_get:brpc.RpcDumpMeta.attachment_size)
613
0
  return _internal_attachment_size();
614
0
}
615
0
inline void RpcDumpMeta::_internal_set_attachment_size(int32_t value) {
616
0
  _impl_._has_bits_[0] |= 0x00000100u;
617
0
  _impl_.attachment_size_ = value;
618
0
}
619
0
inline void RpcDumpMeta::set_attachment_size(int32_t value) {
620
0
  _internal_set_attachment_size(value);
621
  // @@protoc_insertion_point(field_set:brpc.RpcDumpMeta.attachment_size)
622
0
}
623
624
// optional bytes authentication_data = 7;
625
0
inline bool RpcDumpMeta::_internal_has_authentication_data() const {
626
0
  bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
627
0
  return value;
628
0
}
629
0
inline bool RpcDumpMeta::has_authentication_data() const {
630
0
  return _internal_has_authentication_data();
631
0
}
632
0
inline void RpcDumpMeta::clear_authentication_data() {
633
0
  _impl_.authentication_data_.ClearToEmpty();
634
0
  _impl_._has_bits_[0] &= ~0x00000004u;
635
0
}
636
0
inline const std::string& RpcDumpMeta::authentication_data() const {
637
0
  // @@protoc_insertion_point(field_get:brpc.RpcDumpMeta.authentication_data)
638
0
  return _internal_authentication_data();
639
0
}
640
template <typename ArgT0, typename... ArgT>
641
inline PROTOBUF_ALWAYS_INLINE
642
0
void RpcDumpMeta::set_authentication_data(ArgT0&& arg0, ArgT... args) {
643
0
 _impl_._has_bits_[0] |= 0x00000004u;
644
0
 _impl_.authentication_data_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
645
  // @@protoc_insertion_point(field_set:brpc.RpcDumpMeta.authentication_data)
646
0
}
647
0
inline std::string* RpcDumpMeta::mutable_authentication_data() {
648
0
  std::string* _s = _internal_mutable_authentication_data();
649
0
  // @@protoc_insertion_point(field_mutable:brpc.RpcDumpMeta.authentication_data)
650
0
  return _s;
651
0
}
652
0
inline const std::string& RpcDumpMeta::_internal_authentication_data() const {
653
0
  return _impl_.authentication_data_.Get();
654
0
}
655
0
inline void RpcDumpMeta::_internal_set_authentication_data(const std::string& value) {
656
0
  _impl_._has_bits_[0] |= 0x00000004u;
657
0
  _impl_.authentication_data_.Set(value, GetArenaForAllocation());
658
0
}
659
0
inline std::string* RpcDumpMeta::_internal_mutable_authentication_data() {
660
0
  _impl_._has_bits_[0] |= 0x00000004u;
661
0
  return _impl_.authentication_data_.Mutable(GetArenaForAllocation());
662
0
}
663
0
inline std::string* RpcDumpMeta::release_authentication_data() {
664
0
  // @@protoc_insertion_point(field_release:brpc.RpcDumpMeta.authentication_data)
665
0
  if (!_internal_has_authentication_data()) {
666
0
    return nullptr;
667
0
  }
668
0
  _impl_._has_bits_[0] &= ~0x00000004u;
669
0
  auto* p = _impl_.authentication_data_.Release();
670
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
671
0
  if (_impl_.authentication_data_.IsDefault()) {
672
0
    _impl_.authentication_data_.Set("", GetArenaForAllocation());
673
0
  }
674
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
675
0
  return p;
676
0
}
677
0
inline void RpcDumpMeta::set_allocated_authentication_data(std::string* authentication_data) {
678
0
  if (authentication_data != nullptr) {
679
0
    _impl_._has_bits_[0] |= 0x00000004u;
680
0
  } else {
681
0
    _impl_._has_bits_[0] &= ~0x00000004u;
682
0
  }
683
0
  _impl_.authentication_data_.SetAllocated(authentication_data, GetArenaForAllocation());
684
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
685
0
  if (_impl_.authentication_data_.IsDefault()) {
686
0
    _impl_.authentication_data_.Set("", GetArenaForAllocation());
687
0
  }
688
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
689
0
  // @@protoc_insertion_point(field_set_allocated:brpc.RpcDumpMeta.authentication_data)
690
0
}
691
692
// optional bytes user_data = 8;
693
0
inline bool RpcDumpMeta::_internal_has_user_data() const {
694
0
  bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
695
0
  return value;
696
0
}
697
0
inline bool RpcDumpMeta::has_user_data() const {
698
0
  return _internal_has_user_data();
699
0
}
700
0
inline void RpcDumpMeta::clear_user_data() {
701
0
  _impl_.user_data_.ClearToEmpty();
702
0
  _impl_._has_bits_[0] &= ~0x00000008u;
703
0
}
704
0
inline const std::string& RpcDumpMeta::user_data() const {
705
  // @@protoc_insertion_point(field_get:brpc.RpcDumpMeta.user_data)
706
0
  return _internal_user_data();
707
0
}
708
template <typename ArgT0, typename... ArgT>
709
inline PROTOBUF_ALWAYS_INLINE
710
0
void RpcDumpMeta::set_user_data(ArgT0&& arg0, ArgT... args) {
711
0
 _impl_._has_bits_[0] |= 0x00000008u;
712
0
 _impl_.user_data_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
713
  // @@protoc_insertion_point(field_set:brpc.RpcDumpMeta.user_data)
714
0
}
715
0
inline std::string* RpcDumpMeta::mutable_user_data() {
716
0
  std::string* _s = _internal_mutable_user_data();
717
0
  // @@protoc_insertion_point(field_mutable:brpc.RpcDumpMeta.user_data)
718
0
  return _s;
719
0
}
720
0
inline const std::string& RpcDumpMeta::_internal_user_data() const {
721
0
  return _impl_.user_data_.Get();
722
0
}
723
0
inline void RpcDumpMeta::_internal_set_user_data(const std::string& value) {
724
0
  _impl_._has_bits_[0] |= 0x00000008u;
725
0
  _impl_.user_data_.Set(value, GetArenaForAllocation());
726
0
}
727
0
inline std::string* RpcDumpMeta::_internal_mutable_user_data() {
728
0
  _impl_._has_bits_[0] |= 0x00000008u;
729
0
  return _impl_.user_data_.Mutable(GetArenaForAllocation());
730
0
}
731
0
inline std::string* RpcDumpMeta::release_user_data() {
732
0
  // @@protoc_insertion_point(field_release:brpc.RpcDumpMeta.user_data)
733
0
  if (!_internal_has_user_data()) {
734
0
    return nullptr;
735
0
  }
736
0
  _impl_._has_bits_[0] &= ~0x00000008u;
737
0
  auto* p = _impl_.user_data_.Release();
738
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
739
0
  if (_impl_.user_data_.IsDefault()) {
740
0
    _impl_.user_data_.Set("", GetArenaForAllocation());
741
0
  }
742
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
743
0
  return p;
744
0
}
745
0
inline void RpcDumpMeta::set_allocated_user_data(std::string* user_data) {
746
0
  if (user_data != nullptr) {
747
0
    _impl_._has_bits_[0] |= 0x00000008u;
748
0
  } else {
749
0
    _impl_._has_bits_[0] &= ~0x00000008u;
750
0
  }
751
0
  _impl_.user_data_.SetAllocated(user_data, GetArenaForAllocation());
752
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
753
0
  if (_impl_.user_data_.IsDefault()) {
754
0
    _impl_.user_data_.Set("", GetArenaForAllocation());
755
0
  }
756
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
757
0
  // @@protoc_insertion_point(field_set_allocated:brpc.RpcDumpMeta.user_data)
758
0
}
759
760
// optional bytes nshead = 9;
761
0
inline bool RpcDumpMeta::_internal_has_nshead() const {
762
0
  bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
763
0
  return value;
764
0
}
765
0
inline bool RpcDumpMeta::has_nshead() const {
766
0
  return _internal_has_nshead();
767
0
}
768
0
inline void RpcDumpMeta::clear_nshead() {
769
0
  _impl_.nshead_.ClearToEmpty();
770
0
  _impl_._has_bits_[0] &= ~0x00000010u;
771
0
}
772
0
inline const std::string& RpcDumpMeta::nshead() const {
773
0
  // @@protoc_insertion_point(field_get:brpc.RpcDumpMeta.nshead)
774
0
  return _internal_nshead();
775
0
}
776
template <typename ArgT0, typename... ArgT>
777
inline PROTOBUF_ALWAYS_INLINE
778
0
void RpcDumpMeta::set_nshead(ArgT0&& arg0, ArgT... args) {
779
0
 _impl_._has_bits_[0] |= 0x00000010u;
780
0
 _impl_.nshead_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
781
  // @@protoc_insertion_point(field_set:brpc.RpcDumpMeta.nshead)
782
0
}
783
0
inline std::string* RpcDumpMeta::mutable_nshead() {
784
0
  std::string* _s = _internal_mutable_nshead();
785
0
  // @@protoc_insertion_point(field_mutable:brpc.RpcDumpMeta.nshead)
786
0
  return _s;
787
0
}
788
0
inline const std::string& RpcDumpMeta::_internal_nshead() const {
789
0
  return _impl_.nshead_.Get();
790
0
}
791
0
inline void RpcDumpMeta::_internal_set_nshead(const std::string& value) {
792
0
  _impl_._has_bits_[0] |= 0x00000010u;
793
0
  _impl_.nshead_.Set(value, GetArenaForAllocation());
794
0
}
795
0
inline std::string* RpcDumpMeta::_internal_mutable_nshead() {
796
0
  _impl_._has_bits_[0] |= 0x00000010u;
797
0
  return _impl_.nshead_.Mutable(GetArenaForAllocation());
798
0
}
799
0
inline std::string* RpcDumpMeta::release_nshead() {
800
0
  // @@protoc_insertion_point(field_release:brpc.RpcDumpMeta.nshead)
801
0
  if (!_internal_has_nshead()) {
802
0
    return nullptr;
803
0
  }
804
0
  _impl_._has_bits_[0] &= ~0x00000010u;
805
0
  auto* p = _impl_.nshead_.Release();
806
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
807
0
  if (_impl_.nshead_.IsDefault()) {
808
0
    _impl_.nshead_.Set("", GetArenaForAllocation());
809
0
  }
810
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
811
0
  return p;
812
0
}
813
0
inline void RpcDumpMeta::set_allocated_nshead(std::string* nshead) {
814
0
  if (nshead != nullptr) {
815
0
    _impl_._has_bits_[0] |= 0x00000010u;
816
0
  } else {
817
0
    _impl_._has_bits_[0] &= ~0x00000010u;
818
0
  }
819
0
  _impl_.nshead_.SetAllocated(nshead, GetArenaForAllocation());
820
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
821
0
  if (_impl_.nshead_.IsDefault()) {
822
0
    _impl_.nshead_.Set("", GetArenaForAllocation());
823
0
  }
824
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
825
0
  // @@protoc_insertion_point(field_set_allocated:brpc.RpcDumpMeta.nshead)
826
0
}
827
828
#ifdef __GNUC__
829
  #pragma GCC diagnostic pop
830
#endif  // __GNUC__
831
832
// @@protoc_insertion_point(namespace_scope)
833
834
}  // namespace brpc
835
836
// @@protoc_insertion_point(global_scope)
837
838
#include <google/protobuf/port_undef.inc>
839
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_brpc_2frpc_5fdump_2eproto