Coverage Report

Created: 2026-01-10 07:01

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/brpc/build/test/health_check.pb.h
Line
Count
Source
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: health_check.proto
3
4
#ifndef GOOGLE_PROTOBUF_INCLUDED_health_5fcheck_2eproto
5
#define GOOGLE_PROTOBUF_INCLUDED_health_5fcheck_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_bases.h>
27
#include <google/protobuf/generated_message_util.h>
28
#include <google/protobuf/metadata_lite.h>
29
#include <google/protobuf/generated_message_reflection.h>
30
#include <google/protobuf/message.h>
31
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
32
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
33
#include <google/protobuf/service.h>
34
#include <google/protobuf/unknown_field_set.h>
35
// @@protoc_insertion_point(includes)
36
#include <google/protobuf/port_def.inc>
37
#define PROTOBUF_INTERNAL_EXPORT_health_5fcheck_2eproto
38
PROTOBUF_NAMESPACE_OPEN
39
namespace internal {
40
class AnyMetadata;
41
}  // namespace internal
42
PROTOBUF_NAMESPACE_CLOSE
43
44
// Internal implementation detail -- do not use these members.
45
struct TableStruct_health_5fcheck_2eproto {
46
  static const uint32_t offsets[];
47
};
48
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_health_5fcheck_2eproto;
49
namespace test {
50
class HealthCheckRequest;
51
struct HealthCheckRequestDefaultTypeInternal;
52
extern HealthCheckRequestDefaultTypeInternal _HealthCheckRequest_default_instance_;
53
class HealthCheckResponse;
54
struct HealthCheckResponseDefaultTypeInternal;
55
extern HealthCheckResponseDefaultTypeInternal _HealthCheckResponse_default_instance_;
56
}  // namespace test
57
PROTOBUF_NAMESPACE_OPEN
58
template<> ::test::HealthCheckRequest* Arena::CreateMaybeMessage<::test::HealthCheckRequest>(Arena*);
59
template<> ::test::HealthCheckResponse* Arena::CreateMaybeMessage<::test::HealthCheckResponse>(Arena*);
60
PROTOBUF_NAMESPACE_CLOSE
61
namespace test {
62
63
// ===================================================================
64
65
class HealthCheckRequest final :
66
    public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:test.HealthCheckRequest) */ {
67
 public:
68
0
  inline HealthCheckRequest() : HealthCheckRequest(nullptr) {}
69
  explicit PROTOBUF_CONSTEXPR HealthCheckRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
70
71
  HealthCheckRequest(const HealthCheckRequest& from);
72
  HealthCheckRequest(HealthCheckRequest&& from) noexcept
73
0
    : HealthCheckRequest() {
74
0
    *this = ::std::move(from);
75
0
  }
76
77
0
  inline HealthCheckRequest& operator=(const HealthCheckRequest& from) {
78
0
    CopyFrom(from);
79
0
    return *this;
80
0
  }
81
0
  inline HealthCheckRequest& operator=(HealthCheckRequest&& from) noexcept {
82
0
    if (this == &from) return *this;
83
0
    if (GetOwningArena() == from.GetOwningArena()
84
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
85
0
        && GetOwningArena() != nullptr
86
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
87
0
    ) {
88
0
      InternalSwap(&from);
89
0
    } else {
90
0
      CopyFrom(from);
91
0
    }
92
0
    return *this;
93
0
  }
94
95
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
96
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
97
0
  }
98
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
99
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
100
0
  }
101
102
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
103
0
    return GetDescriptor();
104
0
  }
105
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
106
0
    return default_instance().GetMetadata().descriptor;
107
0
  }
108
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
109
0
    return default_instance().GetMetadata().reflection;
110
0
  }
111
0
  static const HealthCheckRequest& default_instance() {
112
0
    return *internal_default_instance();
113
0
  }
114
0
  static inline const HealthCheckRequest* internal_default_instance() {
115
0
    return reinterpret_cast<const HealthCheckRequest*>(
116
0
               &_HealthCheckRequest_default_instance_);
117
0
  }
118
  static constexpr int kIndexInFileMessages =
119
    0;
120
121
0
  friend void swap(HealthCheckRequest& a, HealthCheckRequest& b) {
122
0
    a.Swap(&b);
123
0
  }
124
0
  inline void Swap(HealthCheckRequest* other) {
125
0
    if (other == this) return;
126
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
127
0
    if (GetOwningArena() != nullptr &&
128
0
        GetOwningArena() == other->GetOwningArena()) {
129
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
130
0
    if (GetOwningArena() == other->GetOwningArena()) {
131
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
132
0
      InternalSwap(other);
133
0
    } else {
134
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
135
0
    }
136
0
  }
137
0
  void UnsafeArenaSwap(HealthCheckRequest* other) {
138
0
    if (other == this) return;
139
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
140
0
    InternalSwap(other);
141
0
  }
142
143
  // implements Message ----------------------------------------------
144
145
0
  HealthCheckRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
146
0
    return CreateMaybeMessage<HealthCheckRequest>(arena);
147
0
  }
148
  using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
149
0
  inline void CopyFrom(const HealthCheckRequest& from) {
150
0
    ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from);
151
0
  }
152
  using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
153
0
  void MergeFrom(const HealthCheckRequest& from) {
154
0
    ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from);
155
0
  }
156
  public:
157
158
  private:
159
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
160
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
161
0
    return "test.HealthCheckRequest";
162
0
  }
163
  protected:
164
  explicit HealthCheckRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
165
                       bool is_message_owned = false);
166
  public:
167
168
  static const ClassData _class_data_;
169
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
170
171
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
172
173
  // nested types ----------------------------------------------------
174
175
  // accessors -------------------------------------------------------
176
177
  // @@protoc_insertion_point(class_scope:test.HealthCheckRequest)
178
 private:
179
  class _Internal;
180
181
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
182
  typedef void InternalArenaConstructable_;
183
  typedef void DestructorSkippable_;
184
  struct Impl_ {
185
  };
186
  friend struct ::TableStruct_health_5fcheck_2eproto;
187
};
188
// -------------------------------------------------------------------
189
190
class HealthCheckResponse final :
191
    public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:test.HealthCheckResponse) */ {
192
 public:
193
0
  inline HealthCheckResponse() : HealthCheckResponse(nullptr) {}
194
  explicit PROTOBUF_CONSTEXPR HealthCheckResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
195
196
  HealthCheckResponse(const HealthCheckResponse& from);
197
  HealthCheckResponse(HealthCheckResponse&& from) noexcept
198
0
    : HealthCheckResponse() {
199
0
    *this = ::std::move(from);
200
0
  }
201
202
0
  inline HealthCheckResponse& operator=(const HealthCheckResponse& from) {
203
0
    CopyFrom(from);
204
0
    return *this;
205
0
  }
206
0
  inline HealthCheckResponse& operator=(HealthCheckResponse&& from) noexcept {
207
0
    if (this == &from) return *this;
208
0
    if (GetOwningArena() == from.GetOwningArena()
209
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
210
0
        && GetOwningArena() != nullptr
211
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
212
0
    ) {
213
0
      InternalSwap(&from);
214
0
    } else {
215
0
      CopyFrom(from);
216
0
    }
217
0
    return *this;
218
0
  }
219
220
0
  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
221
0
    return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
222
0
  }
223
0
  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
224
0
    return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
225
0
  }
226
227
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
228
0
    return GetDescriptor();
229
0
  }
230
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
231
0
    return default_instance().GetMetadata().descriptor;
232
0
  }
233
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
234
0
    return default_instance().GetMetadata().reflection;
235
0
  }
236
0
  static const HealthCheckResponse& default_instance() {
237
0
    return *internal_default_instance();
238
0
  }
239
0
  static inline const HealthCheckResponse* internal_default_instance() {
240
0
    return reinterpret_cast<const HealthCheckResponse*>(
241
0
               &_HealthCheckResponse_default_instance_);
242
0
  }
243
  static constexpr int kIndexInFileMessages =
244
    1;
245
246
0
  friend void swap(HealthCheckResponse& a, HealthCheckResponse& b) {
247
0
    a.Swap(&b);
248
0
  }
249
0
  inline void Swap(HealthCheckResponse* other) {
250
0
    if (other == this) return;
251
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
252
0
    if (GetOwningArena() != nullptr &&
253
0
        GetOwningArena() == other->GetOwningArena()) {
254
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
255
0
    if (GetOwningArena() == other->GetOwningArena()) {
256
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
257
0
      InternalSwap(other);
258
0
    } else {
259
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
260
0
    }
261
0
  }
262
0
  void UnsafeArenaSwap(HealthCheckResponse* other) {
263
0
    if (other == this) return;
264
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
265
0
    InternalSwap(other);
266
0
  }
267
268
  // implements Message ----------------------------------------------
269
270
0
  HealthCheckResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
271
0
    return CreateMaybeMessage<HealthCheckResponse>(arena);
272
0
  }
273
  using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
274
0
  inline void CopyFrom(const HealthCheckResponse& from) {
275
0
    ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from);
276
0
  }
277
  using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
278
0
  void MergeFrom(const HealthCheckResponse& from) {
279
0
    ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from);
280
0
  }
281
  public:
282
283
  private:
284
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
285
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
286
0
    return "test.HealthCheckResponse";
287
0
  }
288
  protected:
289
  explicit HealthCheckResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
290
                       bool is_message_owned = false);
291
  public:
292
293
  static const ClassData _class_data_;
294
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
295
296
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
297
298
  // nested types ----------------------------------------------------
299
300
  // accessors -------------------------------------------------------
301
302
  // @@protoc_insertion_point(class_scope:test.HealthCheckResponse)
303
 private:
304
  class _Internal;
305
306
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
307
  typedef void InternalArenaConstructable_;
308
  typedef void DestructorSkippable_;
309
  struct Impl_ {
310
  };
311
  friend struct ::TableStruct_health_5fcheck_2eproto;
312
};
313
// ===================================================================
314
315
class HealthCheckTestService_Stub;
316
317
class HealthCheckTestService : public ::PROTOBUF_NAMESPACE_ID::Service {
318
 protected:
319
  // This class should be treated as an abstract interface.
320
0
  inline HealthCheckTestService() {};
321
 public:
322
  virtual ~HealthCheckTestService();
323
324
  typedef HealthCheckTestService_Stub Stub;
325
326
  static const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* descriptor();
327
328
  virtual void default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller,
329
                       const ::test::HealthCheckRequest* request,
330
                       ::test::HealthCheckResponse* response,
331
                       ::google::protobuf::Closure* done);
332
333
  // implements Service ----------------------------------------------
334
335
  const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* GetDescriptor();
336
  void CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method,
337
                  ::PROTOBUF_NAMESPACE_ID::RpcController* controller,
338
                  const ::PROTOBUF_NAMESPACE_ID::Message* request,
339
                  ::PROTOBUF_NAMESPACE_ID::Message* response,
340
                  ::google::protobuf::Closure* done);
341
  const ::PROTOBUF_NAMESPACE_ID::Message& GetRequestPrototype(
342
    const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const;
343
  const ::PROTOBUF_NAMESPACE_ID::Message& GetResponsePrototype(
344
    const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const;
345
346
 private:
347
  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(HealthCheckTestService);
348
};
349
350
class HealthCheckTestService_Stub : public HealthCheckTestService {
351
 public:
352
  HealthCheckTestService_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel);
353
  HealthCheckTestService_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel,
354
                   ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership);
355
  ~HealthCheckTestService_Stub();
356
357
0
  inline ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel() { return channel_; }
358
359
  // implements HealthCheckTestService ------------------------------------------
360
361
  void default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller,
362
                       const ::test::HealthCheckRequest* request,
363
                       ::test::HealthCheckResponse* response,
364
                       ::google::protobuf::Closure* done);
365
 private:
366
  ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel_;
367
  bool owns_channel_;
368
  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(HealthCheckTestService_Stub);
369
};
370
371
372
// ===================================================================
373
374
375
// ===================================================================
376
377
#ifdef __GNUC__
378
  #pragma GCC diagnostic push
379
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
380
#endif  // __GNUC__
381
// HealthCheckRequest
382
383
// -------------------------------------------------------------------
384
385
// HealthCheckResponse
386
387
#ifdef __GNUC__
388
  #pragma GCC diagnostic pop
389
#endif  // __GNUC__
390
// -------------------------------------------------------------------
391
392
393
// @@protoc_insertion_point(namespace_scope)
394
395
}  // namespace test
396
397
// @@protoc_insertion_point(global_scope)
398
399
#include <google/protobuf/port_undef.inc>
400
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_health_5fcheck_2eproto