/src/brpc/build/test/health_check.pb.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: health_check.proto |
3 | | |
4 | | #ifndef PROTOBUF_INCLUDED_health_5fcheck_2eproto |
5 | | #define PROTOBUF_INCLUDED_health_5fcheck_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/service.h> |
33 | | #include <google/protobuf/unknown_field_set.h> |
34 | | // @@protoc_insertion_point(includes) |
35 | | #define PROTOBUF_INTERNAL_EXPORT_protobuf_health_5fcheck_2eproto |
36 | | |
37 | | namespace protobuf_health_5fcheck_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[2]; |
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_health_5fcheck_2eproto |
49 | | namespace test { |
50 | | class HealthCheckRequest; |
51 | | class HealthCheckRequestDefaultTypeInternal; |
52 | | extern HealthCheckRequestDefaultTypeInternal _HealthCheckRequest_default_instance_; |
53 | | class HealthCheckResponse; |
54 | | class HealthCheckResponseDefaultTypeInternal; |
55 | | extern HealthCheckResponseDefaultTypeInternal _HealthCheckResponse_default_instance_; |
56 | | } // namespace test |
57 | | namespace google { |
58 | | namespace protobuf { |
59 | | template<> ::test::HealthCheckRequest* Arena::CreateMaybeMessage<::test::HealthCheckRequest>(Arena*); |
60 | | template<> ::test::HealthCheckResponse* Arena::CreateMaybeMessage<::test::HealthCheckResponse>(Arena*); |
61 | | } // namespace protobuf |
62 | | } // namespace google |
63 | | namespace test { |
64 | | |
65 | | // =================================================================== |
66 | | |
67 | | class HealthCheckRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:test.HealthCheckRequest) */ { |
68 | | public: |
69 | | HealthCheckRequest(); |
70 | | virtual ~HealthCheckRequest(); |
71 | | |
72 | | HealthCheckRequest(const HealthCheckRequest& from); |
73 | | |
74 | 0 | inline HealthCheckRequest& operator=(const HealthCheckRequest& from) { |
75 | 0 | CopyFrom(from); |
76 | 0 | return *this; |
77 | 0 | } |
78 | | #if LANG_CXX11 |
79 | | HealthCheckRequest(HealthCheckRequest&& from) noexcept |
80 | 0 | : HealthCheckRequest() { |
81 | 0 | *this = ::std::move(from); |
82 | 0 | } |
83 | | |
84 | 0 | inline HealthCheckRequest& operator=(HealthCheckRequest&& from) noexcept { |
85 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
86 | 0 | if (this != &from) InternalSwap(&from); |
87 | 0 | } else { |
88 | 0 | CopyFrom(from); |
89 | 0 | } |
90 | 0 | return *this; |
91 | 0 | } |
92 | | #endif |
93 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
94 | 0 | return _internal_metadata_.unknown_fields(); |
95 | 0 | } |
96 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
97 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
98 | 0 | } |
99 | | |
100 | | static const ::google::protobuf::Descriptor* descriptor(); |
101 | | static const HealthCheckRequest& default_instance(); |
102 | | |
103 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
104 | 0 | static inline const HealthCheckRequest* internal_default_instance() { |
105 | 0 | return reinterpret_cast<const HealthCheckRequest*>( |
106 | 0 | &_HealthCheckRequest_default_instance_); |
107 | 0 | } |
108 | | static constexpr int kIndexInFileMessages = |
109 | | 0; |
110 | | |
111 | | void Swap(HealthCheckRequest* other); |
112 | 0 | friend void swap(HealthCheckRequest& a, HealthCheckRequest& b) { |
113 | 0 | a.Swap(&b); |
114 | 0 | } |
115 | | |
116 | | // implements Message ---------------------------------------------- |
117 | | |
118 | 0 | inline HealthCheckRequest* New() const final { |
119 | 0 | return CreateMaybeMessage<HealthCheckRequest>(NULL); |
120 | 0 | } |
121 | | |
122 | 0 | HealthCheckRequest* New(::google::protobuf::Arena* arena) const final { |
123 | 0 | return CreateMaybeMessage<HealthCheckRequest>(arena); |
124 | 0 | } |
125 | | void CopyFrom(const ::google::protobuf::Message& from) final; |
126 | | void MergeFrom(const ::google::protobuf::Message& from) final; |
127 | | void CopyFrom(const HealthCheckRequest& from); |
128 | | void MergeFrom(const HealthCheckRequest& from); |
129 | | void Clear() final; |
130 | | bool IsInitialized() const final; |
131 | | |
132 | | size_t ByteSizeLong() const final; |
133 | | bool MergePartialFromCodedStream( |
134 | | ::google::protobuf::io::CodedInputStream* input) final; |
135 | | void SerializeWithCachedSizes( |
136 | | ::google::protobuf::io::CodedOutputStream* output) const final; |
137 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
138 | | bool deterministic, ::google::protobuf::uint8* target) const final; |
139 | 0 | int GetCachedSize() const final { return _cached_size_.Get(); } |
140 | | |
141 | | private: |
142 | | void SharedCtor(); |
143 | | void SharedDtor(); |
144 | | void SetCachedSize(int size) const final; |
145 | | void InternalSwap(HealthCheckRequest* other); |
146 | | private: |
147 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
148 | 0 | return NULL; |
149 | 0 | } |
150 | 0 | inline void* MaybeArenaPtr() const { |
151 | 0 | return NULL; |
152 | 0 | } |
153 | | public: |
154 | | |
155 | | ::google::protobuf::Metadata GetMetadata() const final; |
156 | | |
157 | | // nested types ---------------------------------------------------- |
158 | | |
159 | | // accessors ------------------------------------------------------- |
160 | | |
161 | | // @@protoc_insertion_point(class_scope:test.HealthCheckRequest) |
162 | | private: |
163 | | |
164 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
165 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
166 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
167 | | friend struct ::protobuf_health_5fcheck_2eproto::TableStruct; |
168 | | }; |
169 | | // ------------------------------------------------------------------- |
170 | | |
171 | | class HealthCheckResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:test.HealthCheckResponse) */ { |
172 | | public: |
173 | | HealthCheckResponse(); |
174 | | virtual ~HealthCheckResponse(); |
175 | | |
176 | | HealthCheckResponse(const HealthCheckResponse& from); |
177 | | |
178 | 0 | inline HealthCheckResponse& operator=(const HealthCheckResponse& from) { |
179 | 0 | CopyFrom(from); |
180 | 0 | return *this; |
181 | 0 | } |
182 | | #if LANG_CXX11 |
183 | | HealthCheckResponse(HealthCheckResponse&& from) noexcept |
184 | 0 | : HealthCheckResponse() { |
185 | 0 | *this = ::std::move(from); |
186 | 0 | } |
187 | | |
188 | 0 | inline HealthCheckResponse& operator=(HealthCheckResponse&& from) noexcept { |
189 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
190 | 0 | if (this != &from) InternalSwap(&from); |
191 | 0 | } else { |
192 | 0 | CopyFrom(from); |
193 | 0 | } |
194 | 0 | return *this; |
195 | 0 | } |
196 | | #endif |
197 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
198 | 0 | return _internal_metadata_.unknown_fields(); |
199 | 0 | } |
200 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
201 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
202 | 0 | } |
203 | | |
204 | | static const ::google::protobuf::Descriptor* descriptor(); |
205 | | static const HealthCheckResponse& default_instance(); |
206 | | |
207 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
208 | 0 | static inline const HealthCheckResponse* internal_default_instance() { |
209 | 0 | return reinterpret_cast<const HealthCheckResponse*>( |
210 | 0 | &_HealthCheckResponse_default_instance_); |
211 | 0 | } |
212 | | static constexpr int kIndexInFileMessages = |
213 | | 1; |
214 | | |
215 | | void Swap(HealthCheckResponse* other); |
216 | 0 | friend void swap(HealthCheckResponse& a, HealthCheckResponse& b) { |
217 | 0 | a.Swap(&b); |
218 | 0 | } |
219 | | |
220 | | // implements Message ---------------------------------------------- |
221 | | |
222 | 0 | inline HealthCheckResponse* New() const final { |
223 | 0 | return CreateMaybeMessage<HealthCheckResponse>(NULL); |
224 | 0 | } |
225 | | |
226 | 0 | HealthCheckResponse* New(::google::protobuf::Arena* arena) const final { |
227 | 0 | return CreateMaybeMessage<HealthCheckResponse>(arena); |
228 | 0 | } |
229 | | void CopyFrom(const ::google::protobuf::Message& from) final; |
230 | | void MergeFrom(const ::google::protobuf::Message& from) final; |
231 | | void CopyFrom(const HealthCheckResponse& from); |
232 | | void MergeFrom(const HealthCheckResponse& from); |
233 | | void Clear() final; |
234 | | bool IsInitialized() const final; |
235 | | |
236 | | size_t ByteSizeLong() const final; |
237 | | bool MergePartialFromCodedStream( |
238 | | ::google::protobuf::io::CodedInputStream* input) final; |
239 | | void SerializeWithCachedSizes( |
240 | | ::google::protobuf::io::CodedOutputStream* output) const final; |
241 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
242 | | bool deterministic, ::google::protobuf::uint8* target) const final; |
243 | 0 | int GetCachedSize() const final { return _cached_size_.Get(); } |
244 | | |
245 | | private: |
246 | | void SharedCtor(); |
247 | | void SharedDtor(); |
248 | | void SetCachedSize(int size) const final; |
249 | | void InternalSwap(HealthCheckResponse* other); |
250 | | private: |
251 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
252 | 0 | return NULL; |
253 | 0 | } |
254 | 0 | inline void* MaybeArenaPtr() const { |
255 | 0 | return NULL; |
256 | 0 | } |
257 | | public: |
258 | | |
259 | | ::google::protobuf::Metadata GetMetadata() const final; |
260 | | |
261 | | // nested types ---------------------------------------------------- |
262 | | |
263 | | // accessors ------------------------------------------------------- |
264 | | |
265 | | // @@protoc_insertion_point(class_scope:test.HealthCheckResponse) |
266 | | private: |
267 | | |
268 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
269 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
270 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
271 | | friend struct ::protobuf_health_5fcheck_2eproto::TableStruct; |
272 | | }; |
273 | | // =================================================================== |
274 | | |
275 | | class HealthCheckTestService_Stub; |
276 | | |
277 | | class HealthCheckTestService : public ::google::protobuf::Service { |
278 | | protected: |
279 | | // This class should be treated as an abstract interface. |
280 | 0 | inline HealthCheckTestService() {}; |
281 | | public: |
282 | | virtual ~HealthCheckTestService(); |
283 | | |
284 | | typedef HealthCheckTestService_Stub Stub; |
285 | | |
286 | | static const ::google::protobuf::ServiceDescriptor* descriptor(); |
287 | | |
288 | | virtual void default_method(::google::protobuf::RpcController* controller, |
289 | | const ::test::HealthCheckRequest* request, |
290 | | ::test::HealthCheckResponse* response, |
291 | | ::google::protobuf::Closure* done); |
292 | | |
293 | | // implements Service ---------------------------------------------- |
294 | | |
295 | | const ::google::protobuf::ServiceDescriptor* GetDescriptor(); |
296 | | void CallMethod(const ::google::protobuf::MethodDescriptor* method, |
297 | | ::google::protobuf::RpcController* controller, |
298 | | const ::google::protobuf::Message* request, |
299 | | ::google::protobuf::Message* response, |
300 | | ::google::protobuf::Closure* done); |
301 | | const ::google::protobuf::Message& GetRequestPrototype( |
302 | | const ::google::protobuf::MethodDescriptor* method) const; |
303 | | const ::google::protobuf::Message& GetResponsePrototype( |
304 | | const ::google::protobuf::MethodDescriptor* method) const; |
305 | | |
306 | | private: |
307 | | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(HealthCheckTestService); |
308 | | }; |
309 | | |
310 | | class HealthCheckTestService_Stub : public HealthCheckTestService { |
311 | | public: |
312 | | HealthCheckTestService_Stub(::google::protobuf::RpcChannel* channel); |
313 | | HealthCheckTestService_Stub(::google::protobuf::RpcChannel* channel, |
314 | | ::google::protobuf::Service::ChannelOwnership ownership); |
315 | | ~HealthCheckTestService_Stub(); |
316 | | |
317 | 0 | inline ::google::protobuf::RpcChannel* channel() { return channel_; } |
318 | | |
319 | | // implements HealthCheckTestService ------------------------------------------ |
320 | | |
321 | | void default_method(::google::protobuf::RpcController* controller, |
322 | | const ::test::HealthCheckRequest* request, |
323 | | ::test::HealthCheckResponse* response, |
324 | | ::google::protobuf::Closure* done); |
325 | | private: |
326 | | ::google::protobuf::RpcChannel* channel_; |
327 | | bool owns_channel_; |
328 | | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(HealthCheckTestService_Stub); |
329 | | }; |
330 | | |
331 | | |
332 | | // =================================================================== |
333 | | |
334 | | |
335 | | // =================================================================== |
336 | | |
337 | | #ifdef __GNUC__ |
338 | | #pragma GCC diagnostic push |
339 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
340 | | #endif // __GNUC__ |
341 | | // HealthCheckRequest |
342 | | |
343 | | // ------------------------------------------------------------------- |
344 | | |
345 | | // HealthCheckResponse |
346 | | |
347 | | #ifdef __GNUC__ |
348 | | #pragma GCC diagnostic pop |
349 | | #endif // __GNUC__ |
350 | | // ------------------------------------------------------------------- |
351 | | |
352 | | |
353 | | // @@protoc_insertion_point(namespace_scope) |
354 | | |
355 | | } // namespace test |
356 | | |
357 | | // @@protoc_insertion_point(global_scope) |
358 | | |
359 | | #endif // PROTOBUF_INCLUDED_health_5fcheck_2eproto |