Coverage Report

Created: 2025-08-05 06:45

/src/brpc/build/brpc/trackme.pb.h
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: brpc/trackme.proto
3
4
#ifndef PROTOBUF_INCLUDED_brpc_2ftrackme_2eproto
5
#define PROTOBUF_INCLUDED_brpc_2ftrackme_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/service.h>
34
#include <google/protobuf/unknown_field_set.h>
35
// @@protoc_insertion_point(includes)
36
#define PROTOBUF_INTERNAL_EXPORT_protobuf_brpc_2ftrackme_2eproto 
37
38
namespace protobuf_brpc_2ftrackme_2eproto {
39
// Internal implementation detail -- do not use these members.
40
struct TableStruct {
41
  static const ::google::protobuf::internal::ParseTableField entries[];
42
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43
  static const ::google::protobuf::internal::ParseTable schema[2];
44
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46
  static const ::google::protobuf::uint32 offsets[];
47
};
48
void AddDescriptors();
49
}  // namespace protobuf_brpc_2ftrackme_2eproto
50
namespace brpc {
51
class TrackMeRequest;
52
class TrackMeRequestDefaultTypeInternal;
53
extern TrackMeRequestDefaultTypeInternal _TrackMeRequest_default_instance_;
54
class TrackMeResponse;
55
class TrackMeResponseDefaultTypeInternal;
56
extern TrackMeResponseDefaultTypeInternal _TrackMeResponse_default_instance_;
57
}  // namespace brpc
58
namespace google {
59
namespace protobuf {
60
template<> ::brpc::TrackMeRequest* Arena::CreateMaybeMessage<::brpc::TrackMeRequest>(Arena*);
61
template<> ::brpc::TrackMeResponse* Arena::CreateMaybeMessage<::brpc::TrackMeResponse>(Arena*);
62
}  // namespace protobuf
63
}  // namespace google
64
namespace brpc {
65
66
enum TrackMeSeverity {
67
  TrackMeOK = 0,
68
  TrackMeWarning = 1,
69
  TrackMeFatal = 2
70
};
71
bool TrackMeSeverity_IsValid(int value);
72
const TrackMeSeverity TrackMeSeverity_MIN = TrackMeOK;
73
const TrackMeSeverity TrackMeSeverity_MAX = TrackMeFatal;
74
const int TrackMeSeverity_ARRAYSIZE = TrackMeSeverity_MAX + 1;
75
76
const ::google::protobuf::EnumDescriptor* TrackMeSeverity_descriptor();
77
0
inline const ::std::string& TrackMeSeverity_Name(TrackMeSeverity value) {
78
0
  return ::google::protobuf::internal::NameOfEnum(
79
0
    TrackMeSeverity_descriptor(), value);
80
0
}
81
inline bool TrackMeSeverity_Parse(
82
0
    const ::std::string& name, TrackMeSeverity* value) {
83
0
  return ::google::protobuf::internal::ParseNamedEnum<TrackMeSeverity>(
84
0
    TrackMeSeverity_descriptor(), name, value);
85
0
}
86
// ===================================================================
87
88
class TrackMeRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:brpc.TrackMeRequest) */ {
89
 public:
90
  TrackMeRequest();
91
  virtual ~TrackMeRequest();
92
93
  TrackMeRequest(const TrackMeRequest& from);
94
95
0
  inline TrackMeRequest& operator=(const TrackMeRequest& from) {
96
0
    CopyFrom(from);
97
0
    return *this;
98
0
  }
99
  #if LANG_CXX11
100
  TrackMeRequest(TrackMeRequest&& from) noexcept
101
0
    : TrackMeRequest() {
102
0
    *this = ::std::move(from);
103
0
  }
104
105
0
  inline TrackMeRequest& operator=(TrackMeRequest&& from) noexcept {
106
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
107
0
      if (this != &from) InternalSwap(&from);
108
0
    } else {
109
0
      CopyFrom(from);
110
0
    }
111
0
    return *this;
112
0
  }
113
  #endif
114
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
115
0
    return _internal_metadata_.unknown_fields();
116
0
  }
117
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
118
0
    return _internal_metadata_.mutable_unknown_fields();
119
0
  }
120
121
  static const ::google::protobuf::Descriptor* descriptor();
122
  static const TrackMeRequest& default_instance();
123
124
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
125
0
  static inline const TrackMeRequest* internal_default_instance() {
126
0
    return reinterpret_cast<const TrackMeRequest*>(
127
0
               &_TrackMeRequest_default_instance_);
128
0
  }
129
  static constexpr int kIndexInFileMessages =
130
    0;
131
132
  void Swap(TrackMeRequest* other);
133
0
  friend void swap(TrackMeRequest& a, TrackMeRequest& b) {
134
0
    a.Swap(&b);
135
0
  }
136
137
  // implements Message ----------------------------------------------
138
139
0
  inline TrackMeRequest* New() const final {
140
0
    return CreateMaybeMessage<TrackMeRequest>(NULL);
141
0
  }
142
143
0
  TrackMeRequest* New(::google::protobuf::Arena* arena) const final {
144
0
    return CreateMaybeMessage<TrackMeRequest>(arena);
145
0
  }
146
  void CopyFrom(const ::google::protobuf::Message& from) final;
147
  void MergeFrom(const ::google::protobuf::Message& from) final;
148
  void CopyFrom(const TrackMeRequest& from);
149
  void MergeFrom(const TrackMeRequest& from);
150
  void Clear() final;
151
  bool IsInitialized() const final;
152
153
  size_t ByteSizeLong() const final;
154
  bool MergePartialFromCodedStream(
155
      ::google::protobuf::io::CodedInputStream* input) final;
156
  void SerializeWithCachedSizes(
157
      ::google::protobuf::io::CodedOutputStream* output) const final;
158
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
159
      bool deterministic, ::google::protobuf::uint8* target) const final;
160
0
  int GetCachedSize() const final { return _cached_size_.Get(); }
161
162
  private:
163
  void SharedCtor();
164
  void SharedDtor();
165
  void SetCachedSize(int size) const final;
166
  void InternalSwap(TrackMeRequest* other);
167
  private:
168
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
169
0
    return NULL;
170
0
  }
171
0
  inline void* MaybeArenaPtr() const {
172
0
    return NULL;
173
0
  }
174
  public:
175
176
  ::google::protobuf::Metadata GetMetadata() const final;
177
178
  // nested types ----------------------------------------------------
179
180
  // accessors -------------------------------------------------------
181
182
  // optional string server_addr = 2;
183
  bool has_server_addr() const;
184
  void clear_server_addr();
185
  static const int kServerAddrFieldNumber = 2;
186
  const ::std::string& server_addr() const;
187
  void set_server_addr(const ::std::string& value);
188
  #if LANG_CXX11
189
  void set_server_addr(::std::string&& value);
190
  #endif
191
  void set_server_addr(const char* value);
192
  void set_server_addr(const char* value, size_t size);
193
  ::std::string* mutable_server_addr();
194
  ::std::string* release_server_addr();
195
  void set_allocated_server_addr(::std::string* server_addr);
196
197
  // optional int64 rpc_version = 1;
198
  bool has_rpc_version() const;
199
  void clear_rpc_version();
200
  static const int kRpcVersionFieldNumber = 1;
201
  ::google::protobuf::int64 rpc_version() const;
202
  void set_rpc_version(::google::protobuf::int64 value);
203
204
  // @@protoc_insertion_point(class_scope:brpc.TrackMeRequest)
205
 private:
206
  void set_has_rpc_version();
207
  void clear_has_rpc_version();
208
  void set_has_server_addr();
209
  void clear_has_server_addr();
210
211
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
212
  ::google::protobuf::internal::HasBits<1> _has_bits_;
213
  mutable ::google::protobuf::internal::CachedSize _cached_size_;
214
  ::google::protobuf::internal::ArenaStringPtr server_addr_;
215
  ::google::protobuf::int64 rpc_version_;
216
  friend struct ::protobuf_brpc_2ftrackme_2eproto::TableStruct;
217
};
218
// -------------------------------------------------------------------
219
220
class TrackMeResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:brpc.TrackMeResponse) */ {
221
 public:
222
  TrackMeResponse();
223
  virtual ~TrackMeResponse();
224
225
  TrackMeResponse(const TrackMeResponse& from);
226
227
0
  inline TrackMeResponse& operator=(const TrackMeResponse& from) {
228
0
    CopyFrom(from);
229
0
    return *this;
230
0
  }
231
  #if LANG_CXX11
232
  TrackMeResponse(TrackMeResponse&& from) noexcept
233
0
    : TrackMeResponse() {
234
0
    *this = ::std::move(from);
235
0
  }
236
237
0
  inline TrackMeResponse& operator=(TrackMeResponse&& from) noexcept {
238
0
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
239
0
      if (this != &from) InternalSwap(&from);
240
0
    } else {
241
0
      CopyFrom(from);
242
0
    }
243
0
    return *this;
244
0
  }
245
  #endif
246
0
  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
247
0
    return _internal_metadata_.unknown_fields();
248
0
  }
249
0
  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
250
0
    return _internal_metadata_.mutable_unknown_fields();
251
0
  }
252
253
  static const ::google::protobuf::Descriptor* descriptor();
254
  static const TrackMeResponse& default_instance();
255
256
  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
257
0
  static inline const TrackMeResponse* internal_default_instance() {
258
0
    return reinterpret_cast<const TrackMeResponse*>(
259
0
               &_TrackMeResponse_default_instance_);
260
0
  }
261
  static constexpr int kIndexInFileMessages =
262
    1;
263
264
  void Swap(TrackMeResponse* other);
265
0
  friend void swap(TrackMeResponse& a, TrackMeResponse& b) {
266
0
    a.Swap(&b);
267
0
  }
268
269
  // implements Message ----------------------------------------------
270
271
0
  inline TrackMeResponse* New() const final {
272
0
    return CreateMaybeMessage<TrackMeResponse>(NULL);
273
0
  }
274
275
0
  TrackMeResponse* New(::google::protobuf::Arena* arena) const final {
276
0
    return CreateMaybeMessage<TrackMeResponse>(arena);
277
0
  }
278
  void CopyFrom(const ::google::protobuf::Message& from) final;
279
  void MergeFrom(const ::google::protobuf::Message& from) final;
280
  void CopyFrom(const TrackMeResponse& from);
281
  void MergeFrom(const TrackMeResponse& from);
282
  void Clear() final;
283
  bool IsInitialized() const final;
284
285
  size_t ByteSizeLong() const final;
286
  bool MergePartialFromCodedStream(
287
      ::google::protobuf::io::CodedInputStream* input) final;
288
  void SerializeWithCachedSizes(
289
      ::google::protobuf::io::CodedOutputStream* output) const final;
290
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
291
      bool deterministic, ::google::protobuf::uint8* target) const final;
292
0
  int GetCachedSize() const final { return _cached_size_.Get(); }
293
294
  private:
295
  void SharedCtor();
296
  void SharedDtor();
297
  void SetCachedSize(int size) const final;
298
  void InternalSwap(TrackMeResponse* other);
299
  private:
300
0
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
301
0
    return NULL;
302
0
  }
303
0
  inline void* MaybeArenaPtr() const {
304
0
    return NULL;
305
0
  }
306
  public:
307
308
  ::google::protobuf::Metadata GetMetadata() const final;
309
310
  // nested types ----------------------------------------------------
311
312
  // accessors -------------------------------------------------------
313
314
  // optional string error_text = 2;
315
  bool has_error_text() const;
316
  void clear_error_text();
317
  static const int kErrorTextFieldNumber = 2;
318
  const ::std::string& error_text() const;
319
  void set_error_text(const ::std::string& value);
320
  #if LANG_CXX11
321
  void set_error_text(::std::string&& value);
322
  #endif
323
  void set_error_text(const char* value);
324
  void set_error_text(const char* value, size_t size);
325
  ::std::string* mutable_error_text();
326
  ::std::string* release_error_text();
327
  void set_allocated_error_text(::std::string* error_text);
328
329
  // optional .brpc.TrackMeSeverity severity = 1;
330
  bool has_severity() const;
331
  void clear_severity();
332
  static const int kSeverityFieldNumber = 1;
333
  ::brpc::TrackMeSeverity severity() const;
334
  void set_severity(::brpc::TrackMeSeverity value);
335
336
  // optional int32 new_interval = 3;
337
  bool has_new_interval() const;
338
  void clear_new_interval();
339
  static const int kNewIntervalFieldNumber = 3;
340
  ::google::protobuf::int32 new_interval() const;
341
  void set_new_interval(::google::protobuf::int32 value);
342
343
  // @@protoc_insertion_point(class_scope:brpc.TrackMeResponse)
344
 private:
345
  void set_has_severity();
346
  void clear_has_severity();
347
  void set_has_error_text();
348
  void clear_has_error_text();
349
  void set_has_new_interval();
350
  void clear_has_new_interval();
351
352
  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
353
  ::google::protobuf::internal::HasBits<1> _has_bits_;
354
  mutable ::google::protobuf::internal::CachedSize _cached_size_;
355
  ::google::protobuf::internal::ArenaStringPtr error_text_;
356
  int severity_;
357
  ::google::protobuf::int32 new_interval_;
358
  friend struct ::protobuf_brpc_2ftrackme_2eproto::TableStruct;
359
};
360
// ===================================================================
361
362
class TrackMeService_Stub;
363
364
class TrackMeService : public ::google::protobuf::Service {
365
 protected:
366
  // This class should be treated as an abstract interface.
367
0
  inline TrackMeService() {};
368
 public:
369
  virtual ~TrackMeService();
370
371
  typedef TrackMeService_Stub Stub;
372
373
  static const ::google::protobuf::ServiceDescriptor* descriptor();
374
375
  virtual void TrackMe(::google::protobuf::RpcController* controller,
376
                       const ::brpc::TrackMeRequest* request,
377
                       ::brpc::TrackMeResponse* response,
378
                       ::google::protobuf::Closure* done);
379
380
  // implements Service ----------------------------------------------
381
382
  const ::google::protobuf::ServiceDescriptor* GetDescriptor();
383
  void CallMethod(const ::google::protobuf::MethodDescriptor* method,
384
                  ::google::protobuf::RpcController* controller,
385
                  const ::google::protobuf::Message* request,
386
                  ::google::protobuf::Message* response,
387
                  ::google::protobuf::Closure* done);
388
  const ::google::protobuf::Message& GetRequestPrototype(
389
    const ::google::protobuf::MethodDescriptor* method) const;
390
  const ::google::protobuf::Message& GetResponsePrototype(
391
    const ::google::protobuf::MethodDescriptor* method) const;
392
393
 private:
394
  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TrackMeService);
395
};
396
397
class TrackMeService_Stub : public TrackMeService {
398
 public:
399
  TrackMeService_Stub(::google::protobuf::RpcChannel* channel);
400
  TrackMeService_Stub(::google::protobuf::RpcChannel* channel,
401
                   ::google::protobuf::Service::ChannelOwnership ownership);
402
  ~TrackMeService_Stub();
403
404
0
  inline ::google::protobuf::RpcChannel* channel() { return channel_; }
405
406
  // implements TrackMeService ------------------------------------------
407
408
  void TrackMe(::google::protobuf::RpcController* controller,
409
                       const ::brpc::TrackMeRequest* request,
410
                       ::brpc::TrackMeResponse* response,
411
                       ::google::protobuf::Closure* done);
412
 private:
413
  ::google::protobuf::RpcChannel* channel_;
414
  bool owns_channel_;
415
  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TrackMeService_Stub);
416
};
417
418
419
// ===================================================================
420
421
422
// ===================================================================
423
424
#ifdef __GNUC__
425
  #pragma GCC diagnostic push
426
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
427
#endif  // __GNUC__
428
// TrackMeRequest
429
430
// optional int64 rpc_version = 1;
431
0
inline bool TrackMeRequest::has_rpc_version() const {
432
0
  return (_has_bits_[0] & 0x00000002u) != 0;
433
0
}
434
0
inline void TrackMeRequest::set_has_rpc_version() {
435
0
  _has_bits_[0] |= 0x00000002u;
436
0
}
437
0
inline void TrackMeRequest::clear_has_rpc_version() {
438
0
  _has_bits_[0] &= ~0x00000002u;
439
0
}
440
0
inline void TrackMeRequest::clear_rpc_version() {
441
0
  rpc_version_ = GOOGLE_LONGLONG(0);
442
0
  clear_has_rpc_version();
443
0
}
444
0
inline ::google::protobuf::int64 TrackMeRequest::rpc_version() const {
445
  // @@protoc_insertion_point(field_get:brpc.TrackMeRequest.rpc_version)
446
0
  return rpc_version_;
447
0
}
448
0
inline void TrackMeRequest::set_rpc_version(::google::protobuf::int64 value) {
449
0
  set_has_rpc_version();
450
0
  rpc_version_ = value;
451
  // @@protoc_insertion_point(field_set:brpc.TrackMeRequest.rpc_version)
452
0
}
453
454
// optional string server_addr = 2;
455
0
inline bool TrackMeRequest::has_server_addr() const {
456
0
  return (_has_bits_[0] & 0x00000001u) != 0;
457
0
}
458
0
inline void TrackMeRequest::set_has_server_addr() {
459
0
  _has_bits_[0] |= 0x00000001u;
460
0
}
461
0
inline void TrackMeRequest::clear_has_server_addr() {
462
0
  _has_bits_[0] &= ~0x00000001u;
463
0
}
464
0
inline void TrackMeRequest::clear_server_addr() {
465
0
  server_addr_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
466
0
  clear_has_server_addr();
467
0
}
468
0
inline const ::std::string& TrackMeRequest::server_addr() const {
469
  // @@protoc_insertion_point(field_get:brpc.TrackMeRequest.server_addr)
470
0
  return server_addr_.GetNoArena();
471
0
}
472
0
inline void TrackMeRequest::set_server_addr(const ::std::string& value) {
473
0
  set_has_server_addr();
474
0
  server_addr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
475
  // @@protoc_insertion_point(field_set:brpc.TrackMeRequest.server_addr)
476
0
}
477
#if LANG_CXX11
478
0
inline void TrackMeRequest::set_server_addr(::std::string&& value) {
479
0
  set_has_server_addr();
480
0
  server_addr_.SetNoArena(
481
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
482
0
  // @@protoc_insertion_point(field_set_rvalue:brpc.TrackMeRequest.server_addr)
483
0
}
484
#endif
485
0
inline void TrackMeRequest::set_server_addr(const char* value) {
486
0
  GOOGLE_DCHECK(value != NULL);
487
0
  set_has_server_addr();
488
0
  server_addr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
489
0
  // @@protoc_insertion_point(field_set_char:brpc.TrackMeRequest.server_addr)
490
0
}
491
0
inline void TrackMeRequest::set_server_addr(const char* value, size_t size) {
492
0
  set_has_server_addr();
493
0
  server_addr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
494
0
      ::std::string(reinterpret_cast<const char*>(value), size));
495
0
  // @@protoc_insertion_point(field_set_pointer:brpc.TrackMeRequest.server_addr)
496
0
}
497
0
inline ::std::string* TrackMeRequest::mutable_server_addr() {
498
0
  set_has_server_addr();
499
  // @@protoc_insertion_point(field_mutable:brpc.TrackMeRequest.server_addr)
500
0
  return server_addr_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
501
0
}
502
0
inline ::std::string* TrackMeRequest::release_server_addr() {
503
0
  // @@protoc_insertion_point(field_release:brpc.TrackMeRequest.server_addr)
504
0
  if (!has_server_addr()) {
505
0
    return NULL;
506
0
  }
507
0
  clear_has_server_addr();
508
0
  return server_addr_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
509
0
}
510
0
inline void TrackMeRequest::set_allocated_server_addr(::std::string* server_addr) {
511
0
  if (server_addr != NULL) {
512
0
    set_has_server_addr();
513
0
  } else {
514
0
    clear_has_server_addr();
515
0
  }
516
0
  server_addr_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), server_addr);
517
0
  // @@protoc_insertion_point(field_set_allocated:brpc.TrackMeRequest.server_addr)
518
0
}
519
520
// -------------------------------------------------------------------
521
522
// TrackMeResponse
523
524
// optional .brpc.TrackMeSeverity severity = 1;
525
0
inline bool TrackMeResponse::has_severity() const {
526
0
  return (_has_bits_[0] & 0x00000002u) != 0;
527
0
}
528
0
inline void TrackMeResponse::set_has_severity() {
529
0
  _has_bits_[0] |= 0x00000002u;
530
0
}
531
0
inline void TrackMeResponse::clear_has_severity() {
532
0
  _has_bits_[0] &= ~0x00000002u;
533
0
}
534
0
inline void TrackMeResponse::clear_severity() {
535
0
  severity_ = 0;
536
0
  clear_has_severity();
537
0
}
538
0
inline ::brpc::TrackMeSeverity TrackMeResponse::severity() const {
539
  // @@protoc_insertion_point(field_get:brpc.TrackMeResponse.severity)
540
0
  return static_cast< ::brpc::TrackMeSeverity >(severity_);
541
0
}
542
0
inline void TrackMeResponse::set_severity(::brpc::TrackMeSeverity value) {
543
0
  assert(::brpc::TrackMeSeverity_IsValid(value));
544
0
  set_has_severity();
545
0
  severity_ = value;
546
  // @@protoc_insertion_point(field_set:brpc.TrackMeResponse.severity)
547
0
}
548
549
// optional string error_text = 2;
550
0
inline bool TrackMeResponse::has_error_text() const {
551
0
  return (_has_bits_[0] & 0x00000001u) != 0;
552
0
}
553
0
inline void TrackMeResponse::set_has_error_text() {
554
0
  _has_bits_[0] |= 0x00000001u;
555
0
}
556
0
inline void TrackMeResponse::clear_has_error_text() {
557
0
  _has_bits_[0] &= ~0x00000001u;
558
0
}
559
0
inline void TrackMeResponse::clear_error_text() {
560
0
  error_text_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
561
0
  clear_has_error_text();
562
0
}
563
0
inline const ::std::string& TrackMeResponse::error_text() const {
564
  // @@protoc_insertion_point(field_get:brpc.TrackMeResponse.error_text)
565
0
  return error_text_.GetNoArena();
566
0
}
567
0
inline void TrackMeResponse::set_error_text(const ::std::string& value) {
568
0
  set_has_error_text();
569
0
  error_text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
570
0
  // @@protoc_insertion_point(field_set:brpc.TrackMeResponse.error_text)
571
0
}
572
#if LANG_CXX11
573
0
inline void TrackMeResponse::set_error_text(::std::string&& value) {
574
0
  set_has_error_text();
575
0
  error_text_.SetNoArena(
576
0
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
577
0
  // @@protoc_insertion_point(field_set_rvalue:brpc.TrackMeResponse.error_text)
578
0
}
579
#endif
580
0
inline void TrackMeResponse::set_error_text(const char* value) {
581
0
  GOOGLE_DCHECK(value != NULL);
582
0
  set_has_error_text();
583
0
  error_text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
584
0
  // @@protoc_insertion_point(field_set_char:brpc.TrackMeResponse.error_text)
585
0
}
586
0
inline void TrackMeResponse::set_error_text(const char* value, size_t size) {
587
0
  set_has_error_text();
588
0
  error_text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
589
0
      ::std::string(reinterpret_cast<const char*>(value), size));
590
0
  // @@protoc_insertion_point(field_set_pointer:brpc.TrackMeResponse.error_text)
591
0
}
592
0
inline ::std::string* TrackMeResponse::mutable_error_text() {
593
0
  set_has_error_text();
594
  // @@protoc_insertion_point(field_mutable:brpc.TrackMeResponse.error_text)
595
0
  return error_text_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
596
0
}
597
0
inline ::std::string* TrackMeResponse::release_error_text() {
598
0
  // @@protoc_insertion_point(field_release:brpc.TrackMeResponse.error_text)
599
0
  if (!has_error_text()) {
600
0
    return NULL;
601
0
  }
602
0
  clear_has_error_text();
603
0
  return error_text_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
604
0
}
605
0
inline void TrackMeResponse::set_allocated_error_text(::std::string* error_text) {
606
0
  if (error_text != NULL) {
607
0
    set_has_error_text();
608
0
  } else {
609
0
    clear_has_error_text();
610
0
  }
611
0
  error_text_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), error_text);
612
0
  // @@protoc_insertion_point(field_set_allocated:brpc.TrackMeResponse.error_text)
613
0
}
614
615
// optional int32 new_interval = 3;
616
0
inline bool TrackMeResponse::has_new_interval() const {
617
0
  return (_has_bits_[0] & 0x00000004u) != 0;
618
0
}
619
0
inline void TrackMeResponse::set_has_new_interval() {
620
0
  _has_bits_[0] |= 0x00000004u;
621
0
}
622
0
inline void TrackMeResponse::clear_has_new_interval() {
623
0
  _has_bits_[0] &= ~0x00000004u;
624
0
}
625
0
inline void TrackMeResponse::clear_new_interval() {
626
0
  new_interval_ = 0;
627
0
  clear_has_new_interval();
628
0
}
629
0
inline ::google::protobuf::int32 TrackMeResponse::new_interval() const {
630
  // @@protoc_insertion_point(field_get:brpc.TrackMeResponse.new_interval)
631
0
  return new_interval_;
632
0
}
633
0
inline void TrackMeResponse::set_new_interval(::google::protobuf::int32 value) {
634
0
  set_has_new_interval();
635
0
  new_interval_ = value;
636
0
  // @@protoc_insertion_point(field_set:brpc.TrackMeResponse.new_interval)
637
0
}
638
639
#ifdef __GNUC__
640
  #pragma GCC diagnostic pop
641
#endif  // __GNUC__
642
// -------------------------------------------------------------------
643
644
645
// @@protoc_insertion_point(namespace_scope)
646
647
}  // namespace brpc
648
649
namespace google {
650
namespace protobuf {
651
652
template <> struct is_proto_enum< ::brpc::TrackMeSeverity> : ::std::true_type {};
653
template <>
654
0
inline const EnumDescriptor* GetEnumDescriptor< ::brpc::TrackMeSeverity>() {
655
0
  return ::brpc::TrackMeSeverity_descriptor();
656
0
}
657
658
}  // namespace protobuf
659
}  // namespace google
660
661
// @@protoc_insertion_point(global_scope)
662
663
#endif  // PROTOBUF_INCLUDED_brpc_2ftrackme_2eproto