1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: brpc/builtin_service.proto |
3 | |
4 | #include "brpc/builtin_service.pb.h" |
5 | |
6 | #include <algorithm> |
7 | |
8 | #include <google/protobuf/io/coded_stream.h> |
9 | #include <google/protobuf/extension_set.h> |
10 | #include <google/protobuf/wire_format_lite.h> |
11 | #include <google/protobuf/descriptor.h> |
12 | #include <google/protobuf/generated_message_reflection.h> |
13 | #include <google/protobuf/reflection_ops.h> |
14 | #include <google/protobuf/wire_format.h> |
15 | // @@protoc_insertion_point(includes) |
16 | #include <google/protobuf/port_def.inc> |
17 | extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_ServiceDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto; |
18 | namespace brpc { |
19 | class IndexRequestDefaultTypeInternal { |
20 | public: |
21 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<IndexRequest> _instance; |
22 | } _IndexRequest_default_instance_; |
23 | class IndexResponseDefaultTypeInternal { |
24 | public: |
25 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<IndexResponse> _instance; |
26 | } _IndexResponse_default_instance_; |
27 | class FlagsRequestDefaultTypeInternal { |
28 | public: |
29 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FlagsRequest> _instance; |
30 | } _FlagsRequest_default_instance_; |
31 | class FlagsResponseDefaultTypeInternal { |
32 | public: |
33 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<FlagsResponse> _instance; |
34 | } _FlagsResponse_default_instance_; |
35 | class VersionRequestDefaultTypeInternal { |
36 | public: |
37 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VersionRequest> _instance; |
38 | } _VersionRequest_default_instance_; |
39 | class VersionResponseDefaultTypeInternal { |
40 | public: |
41 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VersionResponse> _instance; |
42 | } _VersionResponse_default_instance_; |
43 | class HealthRequestDefaultTypeInternal { |
44 | public: |
45 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<HealthRequest> _instance; |
46 | } _HealthRequest_default_instance_; |
47 | class HealthResponseDefaultTypeInternal { |
48 | public: |
49 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<HealthResponse> _instance; |
50 | } _HealthResponse_default_instance_; |
51 | class StatusRequestDefaultTypeInternal { |
52 | public: |
53 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<StatusRequest> _instance; |
54 | } _StatusRequest_default_instance_; |
55 | class StatusResponseDefaultTypeInternal { |
56 | public: |
57 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<StatusResponse> _instance; |
58 | } _StatusResponse_default_instance_; |
59 | class ProtobufsRequestDefaultTypeInternal { |
60 | public: |
61 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ProtobufsRequest> _instance; |
62 | } _ProtobufsRequest_default_instance_; |
63 | class ProtobufsResponseDefaultTypeInternal { |
64 | public: |
65 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ProtobufsResponse> _instance; |
66 | } _ProtobufsResponse_default_instance_; |
67 | class ConnectionsRequestDefaultTypeInternal { |
68 | public: |
69 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ConnectionsRequest> _instance; |
70 | } _ConnectionsRequest_default_instance_; |
71 | class ConnectionsResponseDefaultTypeInternal { |
72 | public: |
73 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ConnectionsResponse> _instance; |
74 | } _ConnectionsResponse_default_instance_; |
75 | class ListRequestDefaultTypeInternal { |
76 | public: |
77 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ListRequest> _instance; |
78 | } _ListRequest_default_instance_; |
79 | class ListResponseDefaultTypeInternal { |
80 | public: |
81 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ListResponse> _instance; |
82 | } _ListResponse_default_instance_; |
83 | class VarsRequestDefaultTypeInternal { |
84 | public: |
85 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VarsRequest> _instance; |
86 | } _VarsRequest_default_instance_; |
87 | class VarsResponseDefaultTypeInternal { |
88 | public: |
89 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VarsResponse> _instance; |
90 | } _VarsResponse_default_instance_; |
91 | class BthreadsRequestDefaultTypeInternal { |
92 | public: |
93 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<BthreadsRequest> _instance; |
94 | } _BthreadsRequest_default_instance_; |
95 | class BthreadsResponseDefaultTypeInternal { |
96 | public: |
97 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<BthreadsResponse> _instance; |
98 | } _BthreadsResponse_default_instance_; |
99 | class IdsRequestDefaultTypeInternal { |
100 | public: |
101 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<IdsRequest> _instance; |
102 | } _IdsRequest_default_instance_; |
103 | class IdsResponseDefaultTypeInternal { |
104 | public: |
105 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<IdsResponse> _instance; |
106 | } _IdsResponse_default_instance_; |
107 | class SocketsRequestDefaultTypeInternal { |
108 | public: |
109 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<SocketsRequest> _instance; |
110 | } _SocketsRequest_default_instance_; |
111 | class SocketsResponseDefaultTypeInternal { |
112 | public: |
113 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<SocketsResponse> _instance; |
114 | } _SocketsResponse_default_instance_; |
115 | class RpczRequestDefaultTypeInternal { |
116 | public: |
117 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<RpczRequest> _instance; |
118 | } _RpczRequest_default_instance_; |
119 | class RpczResponseDefaultTypeInternal { |
120 | public: |
121 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<RpczResponse> _instance; |
122 | } _RpczResponse_default_instance_; |
123 | class ThreadsRequestDefaultTypeInternal { |
124 | public: |
125 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ThreadsRequest> _instance; |
126 | } _ThreadsRequest_default_instance_; |
127 | class ThreadsResponseDefaultTypeInternal { |
128 | public: |
129 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ThreadsResponse> _instance; |
130 | } _ThreadsResponse_default_instance_; |
131 | class DirRequestDefaultTypeInternal { |
132 | public: |
133 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<DirRequest> _instance; |
134 | } _DirRequest_default_instance_; |
135 | class DirResponseDefaultTypeInternal { |
136 | public: |
137 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<DirResponse> _instance; |
138 | } _DirResponse_default_instance_; |
139 | class VLogRequestDefaultTypeInternal { |
140 | public: |
141 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VLogRequest> _instance; |
142 | } _VLogRequest_default_instance_; |
143 | class VLogResponseDefaultTypeInternal { |
144 | public: |
145 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VLogResponse> _instance; |
146 | } _VLogResponse_default_instance_; |
147 | class MetricsRequestDefaultTypeInternal { |
148 | public: |
149 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<MetricsRequest> _instance; |
150 | } _MetricsRequest_default_instance_; |
151 | class MetricsResponseDefaultTypeInternal { |
152 | public: |
153 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<MetricsResponse> _instance; |
154 | } _MetricsResponse_default_instance_; |
155 | class BadMethodRequestDefaultTypeInternal { |
156 | public: |
157 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<BadMethodRequest> _instance; |
158 | } _BadMethodRequest_default_instance_; |
159 | class BadMethodResponseDefaultTypeInternal { |
160 | public: |
161 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<BadMethodResponse> _instance; |
162 | } _BadMethodResponse_default_instance_; |
163 | class ProfileRequestDefaultTypeInternal { |
164 | public: |
165 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ProfileRequest> _instance; |
166 | } _ProfileRequest_default_instance_; |
167 | class ProfileResponseDefaultTypeInternal { |
168 | public: |
169 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ProfileResponse> _instance; |
170 | } _ProfileResponse_default_instance_; |
171 | class HotspotsRequestDefaultTypeInternal { |
172 | public: |
173 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<HotspotsRequest> _instance; |
174 | } _HotspotsRequest_default_instance_; |
175 | class HotspotsResponseDefaultTypeInternal { |
176 | public: |
177 | ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<HotspotsResponse> _instance; |
178 | } _HotspotsResponse_default_instance_; |
179 | } // namespace brpc |
180 | static void InitDefaultsscc_info_BadMethodRequest_brpc_2fbuiltin_5fservice_2eproto() { |
181 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
182 | |
183 | { |
184 | void* ptr = &::brpc::_BadMethodRequest_default_instance_; |
185 | new (ptr) ::brpc::BadMethodRequest(); |
186 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
187 | } |
188 | ::brpc::BadMethodRequest::InitAsDefaultInstance(); |
189 | } |
190 | |
191 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_BadMethodRequest_brpc_2fbuiltin_5fservice_2eproto = |
192 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_BadMethodRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
193 | |
194 | static void InitDefaultsscc_info_BadMethodResponse_brpc_2fbuiltin_5fservice_2eproto() { |
195 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
196 | |
197 | { |
198 | void* ptr = &::brpc::_BadMethodResponse_default_instance_; |
199 | new (ptr) ::brpc::BadMethodResponse(); |
200 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
201 | } |
202 | ::brpc::BadMethodResponse::InitAsDefaultInstance(); |
203 | } |
204 | |
205 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_BadMethodResponse_brpc_2fbuiltin_5fservice_2eproto = |
206 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_BadMethodResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
207 | |
208 | static void InitDefaultsscc_info_BthreadsRequest_brpc_2fbuiltin_5fservice_2eproto() { |
209 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
210 | |
211 | { |
212 | void* ptr = &::brpc::_BthreadsRequest_default_instance_; |
213 | new (ptr) ::brpc::BthreadsRequest(); |
214 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
215 | } |
216 | ::brpc::BthreadsRequest::InitAsDefaultInstance(); |
217 | } |
218 | |
219 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_BthreadsRequest_brpc_2fbuiltin_5fservice_2eproto = |
220 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_BthreadsRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
221 | |
222 | static void InitDefaultsscc_info_BthreadsResponse_brpc_2fbuiltin_5fservice_2eproto() { |
223 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
224 | |
225 | { |
226 | void* ptr = &::brpc::_BthreadsResponse_default_instance_; |
227 | new (ptr) ::brpc::BthreadsResponse(); |
228 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
229 | } |
230 | ::brpc::BthreadsResponse::InitAsDefaultInstance(); |
231 | } |
232 | |
233 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_BthreadsResponse_brpc_2fbuiltin_5fservice_2eproto = |
234 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_BthreadsResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
235 | |
236 | static void InitDefaultsscc_info_ConnectionsRequest_brpc_2fbuiltin_5fservice_2eproto() { |
237 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
238 | |
239 | { |
240 | void* ptr = &::brpc::_ConnectionsRequest_default_instance_; |
241 | new (ptr) ::brpc::ConnectionsRequest(); |
242 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
243 | } |
244 | ::brpc::ConnectionsRequest::InitAsDefaultInstance(); |
245 | } |
246 | |
247 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ConnectionsRequest_brpc_2fbuiltin_5fservice_2eproto = |
248 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ConnectionsRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
249 | |
250 | static void InitDefaultsscc_info_ConnectionsResponse_brpc_2fbuiltin_5fservice_2eproto() { |
251 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
252 | |
253 | { |
254 | void* ptr = &::brpc::_ConnectionsResponse_default_instance_; |
255 | new (ptr) ::brpc::ConnectionsResponse(); |
256 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
257 | } |
258 | ::brpc::ConnectionsResponse::InitAsDefaultInstance(); |
259 | } |
260 | |
261 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ConnectionsResponse_brpc_2fbuiltin_5fservice_2eproto = |
262 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ConnectionsResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
263 | |
264 | static void InitDefaultsscc_info_DirRequest_brpc_2fbuiltin_5fservice_2eproto() { |
265 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
266 | |
267 | { |
268 | void* ptr = &::brpc::_DirRequest_default_instance_; |
269 | new (ptr) ::brpc::DirRequest(); |
270 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
271 | } |
272 | ::brpc::DirRequest::InitAsDefaultInstance(); |
273 | } |
274 | |
275 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DirRequest_brpc_2fbuiltin_5fservice_2eproto = |
276 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_DirRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
277 | |
278 | static void InitDefaultsscc_info_DirResponse_brpc_2fbuiltin_5fservice_2eproto() { |
279 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
280 | |
281 | { |
282 | void* ptr = &::brpc::_DirResponse_default_instance_; |
283 | new (ptr) ::brpc::DirResponse(); |
284 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
285 | } |
286 | ::brpc::DirResponse::InitAsDefaultInstance(); |
287 | } |
288 | |
289 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DirResponse_brpc_2fbuiltin_5fservice_2eproto = |
290 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_DirResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
291 | |
292 | static void InitDefaultsscc_info_FlagsRequest_brpc_2fbuiltin_5fservice_2eproto() { |
293 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
294 | |
295 | { |
296 | void* ptr = &::brpc::_FlagsRequest_default_instance_; |
297 | new (ptr) ::brpc::FlagsRequest(); |
298 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
299 | } |
300 | ::brpc::FlagsRequest::InitAsDefaultInstance(); |
301 | } |
302 | |
303 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_FlagsRequest_brpc_2fbuiltin_5fservice_2eproto = |
304 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_FlagsRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
305 | |
306 | static void InitDefaultsscc_info_FlagsResponse_brpc_2fbuiltin_5fservice_2eproto() { |
307 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
308 | |
309 | { |
310 | void* ptr = &::brpc::_FlagsResponse_default_instance_; |
311 | new (ptr) ::brpc::FlagsResponse(); |
312 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
313 | } |
314 | ::brpc::FlagsResponse::InitAsDefaultInstance(); |
315 | } |
316 | |
317 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_FlagsResponse_brpc_2fbuiltin_5fservice_2eproto = |
318 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_FlagsResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
319 | |
320 | static void InitDefaultsscc_info_HealthRequest_brpc_2fbuiltin_5fservice_2eproto() { |
321 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
322 | |
323 | { |
324 | void* ptr = &::brpc::_HealthRequest_default_instance_; |
325 | new (ptr) ::brpc::HealthRequest(); |
326 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
327 | } |
328 | ::brpc::HealthRequest::InitAsDefaultInstance(); |
329 | } |
330 | |
331 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_HealthRequest_brpc_2fbuiltin_5fservice_2eproto = |
332 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_HealthRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
333 | |
334 | static void InitDefaultsscc_info_HealthResponse_brpc_2fbuiltin_5fservice_2eproto() { |
335 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
336 | |
337 | { |
338 | void* ptr = &::brpc::_HealthResponse_default_instance_; |
339 | new (ptr) ::brpc::HealthResponse(); |
340 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
341 | } |
342 | ::brpc::HealthResponse::InitAsDefaultInstance(); |
343 | } |
344 | |
345 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_HealthResponse_brpc_2fbuiltin_5fservice_2eproto = |
346 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_HealthResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
347 | |
348 | static void InitDefaultsscc_info_HotspotsRequest_brpc_2fbuiltin_5fservice_2eproto() { |
349 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
350 | |
351 | { |
352 | void* ptr = &::brpc::_HotspotsRequest_default_instance_; |
353 | new (ptr) ::brpc::HotspotsRequest(); |
354 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
355 | } |
356 | ::brpc::HotspotsRequest::InitAsDefaultInstance(); |
357 | } |
358 | |
359 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_HotspotsRequest_brpc_2fbuiltin_5fservice_2eproto = |
360 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_HotspotsRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
361 | |
362 | static void InitDefaultsscc_info_HotspotsResponse_brpc_2fbuiltin_5fservice_2eproto() { |
363 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
364 | |
365 | { |
366 | void* ptr = &::brpc::_HotspotsResponse_default_instance_; |
367 | new (ptr) ::brpc::HotspotsResponse(); |
368 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
369 | } |
370 | ::brpc::HotspotsResponse::InitAsDefaultInstance(); |
371 | } |
372 | |
373 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_HotspotsResponse_brpc_2fbuiltin_5fservice_2eproto = |
374 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_HotspotsResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
375 | |
376 | static void InitDefaultsscc_info_IdsRequest_brpc_2fbuiltin_5fservice_2eproto() { |
377 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
378 | |
379 | { |
380 | void* ptr = &::brpc::_IdsRequest_default_instance_; |
381 | new (ptr) ::brpc::IdsRequest(); |
382 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
383 | } |
384 | ::brpc::IdsRequest::InitAsDefaultInstance(); |
385 | } |
386 | |
387 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_IdsRequest_brpc_2fbuiltin_5fservice_2eproto = |
388 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_IdsRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
389 | |
390 | static void InitDefaultsscc_info_IdsResponse_brpc_2fbuiltin_5fservice_2eproto() { |
391 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
392 | |
393 | { |
394 | void* ptr = &::brpc::_IdsResponse_default_instance_; |
395 | new (ptr) ::brpc::IdsResponse(); |
396 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
397 | } |
398 | ::brpc::IdsResponse::InitAsDefaultInstance(); |
399 | } |
400 | |
401 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_IdsResponse_brpc_2fbuiltin_5fservice_2eproto = |
402 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_IdsResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
403 | |
404 | static void InitDefaultsscc_info_IndexRequest_brpc_2fbuiltin_5fservice_2eproto() { |
405 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
406 | |
407 | { |
408 | void* ptr = &::brpc::_IndexRequest_default_instance_; |
409 | new (ptr) ::brpc::IndexRequest(); |
410 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
411 | } |
412 | ::brpc::IndexRequest::InitAsDefaultInstance(); |
413 | } |
414 | |
415 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_IndexRequest_brpc_2fbuiltin_5fservice_2eproto = |
416 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_IndexRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
417 | |
418 | static void InitDefaultsscc_info_IndexResponse_brpc_2fbuiltin_5fservice_2eproto() { |
419 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
420 | |
421 | { |
422 | void* ptr = &::brpc::_IndexResponse_default_instance_; |
423 | new (ptr) ::brpc::IndexResponse(); |
424 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
425 | } |
426 | ::brpc::IndexResponse::InitAsDefaultInstance(); |
427 | } |
428 | |
429 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_IndexResponse_brpc_2fbuiltin_5fservice_2eproto = |
430 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_IndexResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
431 | |
432 | static void InitDefaultsscc_info_ListRequest_brpc_2fbuiltin_5fservice_2eproto() { |
433 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
434 | |
435 | { |
436 | void* ptr = &::brpc::_ListRequest_default_instance_; |
437 | new (ptr) ::brpc::ListRequest(); |
438 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
439 | } |
440 | ::brpc::ListRequest::InitAsDefaultInstance(); |
441 | } |
442 | |
443 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ListRequest_brpc_2fbuiltin_5fservice_2eproto = |
444 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ListRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
445 | |
446 | static void InitDefaultsscc_info_ListResponse_brpc_2fbuiltin_5fservice_2eproto() { |
447 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
448 | |
449 | { |
450 | void* ptr = &::brpc::_ListResponse_default_instance_; |
451 | new (ptr) ::brpc::ListResponse(); |
452 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
453 | } |
454 | ::brpc::ListResponse::InitAsDefaultInstance(); |
455 | } |
456 | |
457 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ListResponse_brpc_2fbuiltin_5fservice_2eproto = |
458 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_ListResponse_brpc_2fbuiltin_5fservice_2eproto}, { |
459 | &scc_info_ServiceDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto.base,}}; |
460 | |
461 | static void InitDefaultsscc_info_MetricsRequest_brpc_2fbuiltin_5fservice_2eproto() { |
462 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
463 | |
464 | { |
465 | void* ptr = &::brpc::_MetricsRequest_default_instance_; |
466 | new (ptr) ::brpc::MetricsRequest(); |
467 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
468 | } |
469 | ::brpc::MetricsRequest::InitAsDefaultInstance(); |
470 | } |
471 | |
472 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_MetricsRequest_brpc_2fbuiltin_5fservice_2eproto = |
473 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_MetricsRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
474 | |
475 | static void InitDefaultsscc_info_MetricsResponse_brpc_2fbuiltin_5fservice_2eproto() { |
476 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
477 | |
478 | { |
479 | void* ptr = &::brpc::_MetricsResponse_default_instance_; |
480 | new (ptr) ::brpc::MetricsResponse(); |
481 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
482 | } |
483 | ::brpc::MetricsResponse::InitAsDefaultInstance(); |
484 | } |
485 | |
486 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_MetricsResponse_brpc_2fbuiltin_5fservice_2eproto = |
487 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_MetricsResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
488 | |
489 | static void InitDefaultsscc_info_ProfileRequest_brpc_2fbuiltin_5fservice_2eproto() { |
490 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
491 | |
492 | { |
493 | void* ptr = &::brpc::_ProfileRequest_default_instance_; |
494 | new (ptr) ::brpc::ProfileRequest(); |
495 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
496 | } |
497 | ::brpc::ProfileRequest::InitAsDefaultInstance(); |
498 | } |
499 | |
500 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ProfileRequest_brpc_2fbuiltin_5fservice_2eproto = |
501 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ProfileRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
502 | |
503 | static void InitDefaultsscc_info_ProfileResponse_brpc_2fbuiltin_5fservice_2eproto() { |
504 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
505 | |
506 | { |
507 | void* ptr = &::brpc::_ProfileResponse_default_instance_; |
508 | new (ptr) ::brpc::ProfileResponse(); |
509 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
510 | } |
511 | ::brpc::ProfileResponse::InitAsDefaultInstance(); |
512 | } |
513 | |
514 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ProfileResponse_brpc_2fbuiltin_5fservice_2eproto = |
515 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ProfileResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
516 | |
517 | static void InitDefaultsscc_info_ProtobufsRequest_brpc_2fbuiltin_5fservice_2eproto() { |
518 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
519 | |
520 | { |
521 | void* ptr = &::brpc::_ProtobufsRequest_default_instance_; |
522 | new (ptr) ::brpc::ProtobufsRequest(); |
523 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
524 | } |
525 | ::brpc::ProtobufsRequest::InitAsDefaultInstance(); |
526 | } |
527 | |
528 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ProtobufsRequest_brpc_2fbuiltin_5fservice_2eproto = |
529 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ProtobufsRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
530 | |
531 | static void InitDefaultsscc_info_ProtobufsResponse_brpc_2fbuiltin_5fservice_2eproto() { |
532 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
533 | |
534 | { |
535 | void* ptr = &::brpc::_ProtobufsResponse_default_instance_; |
536 | new (ptr) ::brpc::ProtobufsResponse(); |
537 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
538 | } |
539 | ::brpc::ProtobufsResponse::InitAsDefaultInstance(); |
540 | } |
541 | |
542 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ProtobufsResponse_brpc_2fbuiltin_5fservice_2eproto = |
543 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ProtobufsResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
544 | |
545 | static void InitDefaultsscc_info_RpczRequest_brpc_2fbuiltin_5fservice_2eproto() { |
546 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
547 | |
548 | { |
549 | void* ptr = &::brpc::_RpczRequest_default_instance_; |
550 | new (ptr) ::brpc::RpczRequest(); |
551 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
552 | } |
553 | ::brpc::RpczRequest::InitAsDefaultInstance(); |
554 | } |
555 | |
556 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_RpczRequest_brpc_2fbuiltin_5fservice_2eproto = |
557 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_RpczRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
558 | |
559 | static void InitDefaultsscc_info_RpczResponse_brpc_2fbuiltin_5fservice_2eproto() { |
560 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
561 | |
562 | { |
563 | void* ptr = &::brpc::_RpczResponse_default_instance_; |
564 | new (ptr) ::brpc::RpczResponse(); |
565 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
566 | } |
567 | ::brpc::RpczResponse::InitAsDefaultInstance(); |
568 | } |
569 | |
570 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_RpczResponse_brpc_2fbuiltin_5fservice_2eproto = |
571 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_RpczResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
572 | |
573 | static void InitDefaultsscc_info_SocketsRequest_brpc_2fbuiltin_5fservice_2eproto() { |
574 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
575 | |
576 | { |
577 | void* ptr = &::brpc::_SocketsRequest_default_instance_; |
578 | new (ptr) ::brpc::SocketsRequest(); |
579 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
580 | } |
581 | ::brpc::SocketsRequest::InitAsDefaultInstance(); |
582 | } |
583 | |
584 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_SocketsRequest_brpc_2fbuiltin_5fservice_2eproto = |
585 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_SocketsRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
586 | |
587 | static void InitDefaultsscc_info_SocketsResponse_brpc_2fbuiltin_5fservice_2eproto() { |
588 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
589 | |
590 | { |
591 | void* ptr = &::brpc::_SocketsResponse_default_instance_; |
592 | new (ptr) ::brpc::SocketsResponse(); |
593 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
594 | } |
595 | ::brpc::SocketsResponse::InitAsDefaultInstance(); |
596 | } |
597 | |
598 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_SocketsResponse_brpc_2fbuiltin_5fservice_2eproto = |
599 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_SocketsResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
600 | |
601 | static void InitDefaultsscc_info_StatusRequest_brpc_2fbuiltin_5fservice_2eproto() { |
602 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
603 | |
604 | { |
605 | void* ptr = &::brpc::_StatusRequest_default_instance_; |
606 | new (ptr) ::brpc::StatusRequest(); |
607 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
608 | } |
609 | ::brpc::StatusRequest::InitAsDefaultInstance(); |
610 | } |
611 | |
612 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StatusRequest_brpc_2fbuiltin_5fservice_2eproto = |
613 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_StatusRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
614 | |
615 | static void InitDefaultsscc_info_StatusResponse_brpc_2fbuiltin_5fservice_2eproto() { |
616 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
617 | |
618 | { |
619 | void* ptr = &::brpc::_StatusResponse_default_instance_; |
620 | new (ptr) ::brpc::StatusResponse(); |
621 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
622 | } |
623 | ::brpc::StatusResponse::InitAsDefaultInstance(); |
624 | } |
625 | |
626 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StatusResponse_brpc_2fbuiltin_5fservice_2eproto = |
627 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_StatusResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
628 | |
629 | static void InitDefaultsscc_info_ThreadsRequest_brpc_2fbuiltin_5fservice_2eproto() { |
630 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
631 | |
632 | { |
633 | void* ptr = &::brpc::_ThreadsRequest_default_instance_; |
634 | new (ptr) ::brpc::ThreadsRequest(); |
635 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
636 | } |
637 | ::brpc::ThreadsRequest::InitAsDefaultInstance(); |
638 | } |
639 | |
640 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ThreadsRequest_brpc_2fbuiltin_5fservice_2eproto = |
641 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ThreadsRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
642 | |
643 | static void InitDefaultsscc_info_ThreadsResponse_brpc_2fbuiltin_5fservice_2eproto() { |
644 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
645 | |
646 | { |
647 | void* ptr = &::brpc::_ThreadsResponse_default_instance_; |
648 | new (ptr) ::brpc::ThreadsResponse(); |
649 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
650 | } |
651 | ::brpc::ThreadsResponse::InitAsDefaultInstance(); |
652 | } |
653 | |
654 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ThreadsResponse_brpc_2fbuiltin_5fservice_2eproto = |
655 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ThreadsResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
656 | |
657 | static void InitDefaultsscc_info_VLogRequest_brpc_2fbuiltin_5fservice_2eproto() { |
658 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
659 | |
660 | { |
661 | void* ptr = &::brpc::_VLogRequest_default_instance_; |
662 | new (ptr) ::brpc::VLogRequest(); |
663 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
664 | } |
665 | ::brpc::VLogRequest::InitAsDefaultInstance(); |
666 | } |
667 | |
668 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VLogRequest_brpc_2fbuiltin_5fservice_2eproto = |
669 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VLogRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
670 | |
671 | static void InitDefaultsscc_info_VLogResponse_brpc_2fbuiltin_5fservice_2eproto() { |
672 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
673 | |
674 | { |
675 | void* ptr = &::brpc::_VLogResponse_default_instance_; |
676 | new (ptr) ::brpc::VLogResponse(); |
677 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
678 | } |
679 | ::brpc::VLogResponse::InitAsDefaultInstance(); |
680 | } |
681 | |
682 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VLogResponse_brpc_2fbuiltin_5fservice_2eproto = |
683 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VLogResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
684 | |
685 | static void InitDefaultsscc_info_VarsRequest_brpc_2fbuiltin_5fservice_2eproto() { |
686 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
687 | |
688 | { |
689 | void* ptr = &::brpc::_VarsRequest_default_instance_; |
690 | new (ptr) ::brpc::VarsRequest(); |
691 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
692 | } |
693 | ::brpc::VarsRequest::InitAsDefaultInstance(); |
694 | } |
695 | |
696 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VarsRequest_brpc_2fbuiltin_5fservice_2eproto = |
697 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VarsRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
698 | |
699 | static void InitDefaultsscc_info_VarsResponse_brpc_2fbuiltin_5fservice_2eproto() { |
700 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
701 | |
702 | { |
703 | void* ptr = &::brpc::_VarsResponse_default_instance_; |
704 | new (ptr) ::brpc::VarsResponse(); |
705 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
706 | } |
707 | ::brpc::VarsResponse::InitAsDefaultInstance(); |
708 | } |
709 | |
710 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VarsResponse_brpc_2fbuiltin_5fservice_2eproto = |
711 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VarsResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
712 | |
713 | static void InitDefaultsscc_info_VersionRequest_brpc_2fbuiltin_5fservice_2eproto() { |
714 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
715 | |
716 | { |
717 | void* ptr = &::brpc::_VersionRequest_default_instance_; |
718 | new (ptr) ::brpc::VersionRequest(); |
719 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
720 | } |
721 | ::brpc::VersionRequest::InitAsDefaultInstance(); |
722 | } |
723 | |
724 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VersionRequest_brpc_2fbuiltin_5fservice_2eproto = |
725 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VersionRequest_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
726 | |
727 | static void InitDefaultsscc_info_VersionResponse_brpc_2fbuiltin_5fservice_2eproto() { |
728 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
729 | |
730 | { |
731 | void* ptr = &::brpc::_VersionResponse_default_instance_; |
732 | new (ptr) ::brpc::VersionResponse(); |
733 | ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); |
734 | } |
735 | ::brpc::VersionResponse::InitAsDefaultInstance(); |
736 | } |
737 | |
738 | ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VersionResponse_brpc_2fbuiltin_5fservice_2eproto = |
739 | {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VersionResponse_brpc_2fbuiltin_5fservice_2eproto}, {}}; |
740 | |
741 | static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_brpc_2fbuiltin_5fservice_2eproto[40]; |
742 | static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_brpc_2fbuiltin_5fservice_2eproto = nullptr; |
743 | static const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[20]; |
744 | |
745 | const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_brpc_2fbuiltin_5fservice_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { |
746 | PROTOBUF_FIELD_OFFSET(::brpc::IndexRequest, _has_bits_), |
747 | PROTOBUF_FIELD_OFFSET(::brpc::IndexRequest, _internal_metadata_), |
748 | ~0u, // no _extensions_ |
749 | ~0u, // no _oneof_case_ |
750 | ~0u, // no _weak_field_map_ |
751 | PROTOBUF_FIELD_OFFSET(::brpc::IndexResponse, _has_bits_), |
752 | PROTOBUF_FIELD_OFFSET(::brpc::IndexResponse, _internal_metadata_), |
753 | ~0u, // no _extensions_ |
754 | ~0u, // no _oneof_case_ |
755 | ~0u, // no _weak_field_map_ |
756 | PROTOBUF_FIELD_OFFSET(::brpc::FlagsRequest, _has_bits_), |
757 | PROTOBUF_FIELD_OFFSET(::brpc::FlagsRequest, _internal_metadata_), |
758 | ~0u, // no _extensions_ |
759 | ~0u, // no _oneof_case_ |
760 | ~0u, // no _weak_field_map_ |
761 | PROTOBUF_FIELD_OFFSET(::brpc::FlagsResponse, _has_bits_), |
762 | PROTOBUF_FIELD_OFFSET(::brpc::FlagsResponse, _internal_metadata_), |
763 | ~0u, // no _extensions_ |
764 | ~0u, // no _oneof_case_ |
765 | ~0u, // no _weak_field_map_ |
766 | PROTOBUF_FIELD_OFFSET(::brpc::VersionRequest, _has_bits_), |
767 | PROTOBUF_FIELD_OFFSET(::brpc::VersionRequest, _internal_metadata_), |
768 | ~0u, // no _extensions_ |
769 | ~0u, // no _oneof_case_ |
770 | ~0u, // no _weak_field_map_ |
771 | PROTOBUF_FIELD_OFFSET(::brpc::VersionResponse, _has_bits_), |
772 | PROTOBUF_FIELD_OFFSET(::brpc::VersionResponse, _internal_metadata_), |
773 | ~0u, // no _extensions_ |
774 | ~0u, // no _oneof_case_ |
775 | ~0u, // no _weak_field_map_ |
776 | PROTOBUF_FIELD_OFFSET(::brpc::HealthRequest, _has_bits_), |
777 | PROTOBUF_FIELD_OFFSET(::brpc::HealthRequest, _internal_metadata_), |
778 | ~0u, // no _extensions_ |
779 | ~0u, // no _oneof_case_ |
780 | ~0u, // no _weak_field_map_ |
781 | PROTOBUF_FIELD_OFFSET(::brpc::HealthResponse, _has_bits_), |
782 | PROTOBUF_FIELD_OFFSET(::brpc::HealthResponse, _internal_metadata_), |
783 | ~0u, // no _extensions_ |
784 | ~0u, // no _oneof_case_ |
785 | ~0u, // no _weak_field_map_ |
786 | PROTOBUF_FIELD_OFFSET(::brpc::StatusRequest, _has_bits_), |
787 | PROTOBUF_FIELD_OFFSET(::brpc::StatusRequest, _internal_metadata_), |
788 | ~0u, // no _extensions_ |
789 | ~0u, // no _oneof_case_ |
790 | ~0u, // no _weak_field_map_ |
791 | PROTOBUF_FIELD_OFFSET(::brpc::StatusResponse, _has_bits_), |
792 | PROTOBUF_FIELD_OFFSET(::brpc::StatusResponse, _internal_metadata_), |
793 | ~0u, // no _extensions_ |
794 | ~0u, // no _oneof_case_ |
795 | ~0u, // no _weak_field_map_ |
796 | PROTOBUF_FIELD_OFFSET(::brpc::ProtobufsRequest, _has_bits_), |
797 | PROTOBUF_FIELD_OFFSET(::brpc::ProtobufsRequest, _internal_metadata_), |
798 | ~0u, // no _extensions_ |
799 | ~0u, // no _oneof_case_ |
800 | ~0u, // no _weak_field_map_ |
801 | PROTOBUF_FIELD_OFFSET(::brpc::ProtobufsResponse, _has_bits_), |
802 | PROTOBUF_FIELD_OFFSET(::brpc::ProtobufsResponse, _internal_metadata_), |
803 | ~0u, // no _extensions_ |
804 | ~0u, // no _oneof_case_ |
805 | ~0u, // no _weak_field_map_ |
806 | PROTOBUF_FIELD_OFFSET(::brpc::ConnectionsRequest, _has_bits_), |
807 | PROTOBUF_FIELD_OFFSET(::brpc::ConnectionsRequest, _internal_metadata_), |
808 | ~0u, // no _extensions_ |
809 | ~0u, // no _oneof_case_ |
810 | ~0u, // no _weak_field_map_ |
811 | PROTOBUF_FIELD_OFFSET(::brpc::ConnectionsResponse, _has_bits_), |
812 | PROTOBUF_FIELD_OFFSET(::brpc::ConnectionsResponse, _internal_metadata_), |
813 | ~0u, // no _extensions_ |
814 | ~0u, // no _oneof_case_ |
815 | ~0u, // no _weak_field_map_ |
816 | PROTOBUF_FIELD_OFFSET(::brpc::ListRequest, _has_bits_), |
817 | PROTOBUF_FIELD_OFFSET(::brpc::ListRequest, _internal_metadata_), |
818 | ~0u, // no _extensions_ |
819 | ~0u, // no _oneof_case_ |
820 | ~0u, // no _weak_field_map_ |
821 | PROTOBUF_FIELD_OFFSET(::brpc::ListResponse, _has_bits_), |
822 | PROTOBUF_FIELD_OFFSET(::brpc::ListResponse, _internal_metadata_), |
823 | ~0u, // no _extensions_ |
824 | ~0u, // no _oneof_case_ |
825 | ~0u, // no _weak_field_map_ |
826 | PROTOBUF_FIELD_OFFSET(::brpc::ListResponse, service_), |
827 | ~0u, |
828 | PROTOBUF_FIELD_OFFSET(::brpc::VarsRequest, _has_bits_), |
829 | PROTOBUF_FIELD_OFFSET(::brpc::VarsRequest, _internal_metadata_), |
830 | ~0u, // no _extensions_ |
831 | ~0u, // no _oneof_case_ |
832 | ~0u, // no _weak_field_map_ |
833 | PROTOBUF_FIELD_OFFSET(::brpc::VarsResponse, _has_bits_), |
834 | PROTOBUF_FIELD_OFFSET(::brpc::VarsResponse, _internal_metadata_), |
835 | ~0u, // no _extensions_ |
836 | ~0u, // no _oneof_case_ |
837 | ~0u, // no _weak_field_map_ |
838 | PROTOBUF_FIELD_OFFSET(::brpc::BthreadsRequest, _has_bits_), |
839 | PROTOBUF_FIELD_OFFSET(::brpc::BthreadsRequest, _internal_metadata_), |
840 | ~0u, // no _extensions_ |
841 | ~0u, // no _oneof_case_ |
842 | ~0u, // no _weak_field_map_ |
843 | PROTOBUF_FIELD_OFFSET(::brpc::BthreadsResponse, _has_bits_), |
844 | PROTOBUF_FIELD_OFFSET(::brpc::BthreadsResponse, _internal_metadata_), |
845 | ~0u, // no _extensions_ |
846 | ~0u, // no _oneof_case_ |
847 | ~0u, // no _weak_field_map_ |
848 | PROTOBUF_FIELD_OFFSET(::brpc::IdsRequest, _has_bits_), |
849 | PROTOBUF_FIELD_OFFSET(::brpc::IdsRequest, _internal_metadata_), |
850 | ~0u, // no _extensions_ |
851 | ~0u, // no _oneof_case_ |
852 | ~0u, // no _weak_field_map_ |
853 | PROTOBUF_FIELD_OFFSET(::brpc::IdsResponse, _has_bits_), |
854 | PROTOBUF_FIELD_OFFSET(::brpc::IdsResponse, _internal_metadata_), |
855 | ~0u, // no _extensions_ |
856 | ~0u, // no _oneof_case_ |
857 | ~0u, // no _weak_field_map_ |
858 | PROTOBUF_FIELD_OFFSET(::brpc::SocketsRequest, _has_bits_), |
859 | PROTOBUF_FIELD_OFFSET(::brpc::SocketsRequest, _internal_metadata_), |
860 | ~0u, // no _extensions_ |
861 | ~0u, // no _oneof_case_ |
862 | ~0u, // no _weak_field_map_ |
863 | PROTOBUF_FIELD_OFFSET(::brpc::SocketsResponse, _has_bits_), |
864 | PROTOBUF_FIELD_OFFSET(::brpc::SocketsResponse, _internal_metadata_), |
865 | ~0u, // no _extensions_ |
866 | ~0u, // no _oneof_case_ |
867 | ~0u, // no _weak_field_map_ |
868 | PROTOBUF_FIELD_OFFSET(::brpc::RpczRequest, _has_bits_), |
869 | PROTOBUF_FIELD_OFFSET(::brpc::RpczRequest, _internal_metadata_), |
870 | ~0u, // no _extensions_ |
871 | ~0u, // no _oneof_case_ |
872 | ~0u, // no _weak_field_map_ |
873 | PROTOBUF_FIELD_OFFSET(::brpc::RpczResponse, _has_bits_), |
874 | PROTOBUF_FIELD_OFFSET(::brpc::RpczResponse, _internal_metadata_), |
875 | ~0u, // no _extensions_ |
876 | ~0u, // no _oneof_case_ |
877 | ~0u, // no _weak_field_map_ |
878 | PROTOBUF_FIELD_OFFSET(::brpc::ThreadsRequest, _has_bits_), |
879 | PROTOBUF_FIELD_OFFSET(::brpc::ThreadsRequest, _internal_metadata_), |
880 | ~0u, // no _extensions_ |
881 | ~0u, // no _oneof_case_ |
882 | ~0u, // no _weak_field_map_ |
883 | PROTOBUF_FIELD_OFFSET(::brpc::ThreadsResponse, _has_bits_), |
884 | PROTOBUF_FIELD_OFFSET(::brpc::ThreadsResponse, _internal_metadata_), |
885 | ~0u, // no _extensions_ |
886 | ~0u, // no _oneof_case_ |
887 | ~0u, // no _weak_field_map_ |
888 | PROTOBUF_FIELD_OFFSET(::brpc::DirRequest, _has_bits_), |
889 | PROTOBUF_FIELD_OFFSET(::brpc::DirRequest, _internal_metadata_), |
890 | ~0u, // no _extensions_ |
891 | ~0u, // no _oneof_case_ |
892 | ~0u, // no _weak_field_map_ |
893 | PROTOBUF_FIELD_OFFSET(::brpc::DirResponse, _has_bits_), |
894 | PROTOBUF_FIELD_OFFSET(::brpc::DirResponse, _internal_metadata_), |
895 | ~0u, // no _extensions_ |
896 | ~0u, // no _oneof_case_ |
897 | ~0u, // no _weak_field_map_ |
898 | PROTOBUF_FIELD_OFFSET(::brpc::VLogRequest, _has_bits_), |
899 | PROTOBUF_FIELD_OFFSET(::brpc::VLogRequest, _internal_metadata_), |
900 | ~0u, // no _extensions_ |
901 | ~0u, // no _oneof_case_ |
902 | ~0u, // no _weak_field_map_ |
903 | PROTOBUF_FIELD_OFFSET(::brpc::VLogResponse, _has_bits_), |
904 | PROTOBUF_FIELD_OFFSET(::brpc::VLogResponse, _internal_metadata_), |
905 | ~0u, // no _extensions_ |
906 | ~0u, // no _oneof_case_ |
907 | ~0u, // no _weak_field_map_ |
908 | PROTOBUF_FIELD_OFFSET(::brpc::MetricsRequest, _has_bits_), |
909 | PROTOBUF_FIELD_OFFSET(::brpc::MetricsRequest, _internal_metadata_), |
910 | ~0u, // no _extensions_ |
911 | ~0u, // no _oneof_case_ |
912 | ~0u, // no _weak_field_map_ |
913 | PROTOBUF_FIELD_OFFSET(::brpc::MetricsResponse, _has_bits_), |
914 | PROTOBUF_FIELD_OFFSET(::brpc::MetricsResponse, _internal_metadata_), |
915 | ~0u, // no _extensions_ |
916 | ~0u, // no _oneof_case_ |
917 | ~0u, // no _weak_field_map_ |
918 | PROTOBUF_FIELD_OFFSET(::brpc::BadMethodRequest, _has_bits_), |
919 | PROTOBUF_FIELD_OFFSET(::brpc::BadMethodRequest, _internal_metadata_), |
920 | ~0u, // no _extensions_ |
921 | ~0u, // no _oneof_case_ |
922 | ~0u, // no _weak_field_map_ |
923 | PROTOBUF_FIELD_OFFSET(::brpc::BadMethodRequest, service_name_), |
924 | 0, |
925 | PROTOBUF_FIELD_OFFSET(::brpc::BadMethodResponse, _has_bits_), |
926 | PROTOBUF_FIELD_OFFSET(::brpc::BadMethodResponse, _internal_metadata_), |
927 | ~0u, // no _extensions_ |
928 | ~0u, // no _oneof_case_ |
929 | ~0u, // no _weak_field_map_ |
930 | PROTOBUF_FIELD_OFFSET(::brpc::ProfileRequest, _has_bits_), |
931 | PROTOBUF_FIELD_OFFSET(::brpc::ProfileRequest, _internal_metadata_), |
932 | ~0u, // no _extensions_ |
933 | ~0u, // no _oneof_case_ |
934 | ~0u, // no _weak_field_map_ |
935 | PROTOBUF_FIELD_OFFSET(::brpc::ProfileResponse, _has_bits_), |
936 | PROTOBUF_FIELD_OFFSET(::brpc::ProfileResponse, _internal_metadata_), |
937 | ~0u, // no _extensions_ |
938 | ~0u, // no _oneof_case_ |
939 | ~0u, // no _weak_field_map_ |
940 | PROTOBUF_FIELD_OFFSET(::brpc::HotspotsRequest, _has_bits_), |
941 | PROTOBUF_FIELD_OFFSET(::brpc::HotspotsRequest, _internal_metadata_), |
942 | ~0u, // no _extensions_ |
943 | ~0u, // no _oneof_case_ |
944 | ~0u, // no _weak_field_map_ |
945 | PROTOBUF_FIELD_OFFSET(::brpc::HotspotsResponse, _has_bits_), |
946 | PROTOBUF_FIELD_OFFSET(::brpc::HotspotsResponse, _internal_metadata_), |
947 | ~0u, // no _extensions_ |
948 | ~0u, // no _oneof_case_ |
949 | ~0u, // no _weak_field_map_ |
950 | }; |
951 | static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { |
952 | { 0, 5, sizeof(::brpc::IndexRequest)}, |
953 | { 5, 10, sizeof(::brpc::IndexResponse)}, |
954 | { 10, 15, sizeof(::brpc::FlagsRequest)}, |
955 | { 15, 20, sizeof(::brpc::FlagsResponse)}, |
956 | { 20, 25, sizeof(::brpc::VersionRequest)}, |
957 | { 25, 30, sizeof(::brpc::VersionResponse)}, |
958 | { 30, 35, sizeof(::brpc::HealthRequest)}, |
959 | { 35, 40, sizeof(::brpc::HealthResponse)}, |
960 | { 40, 45, sizeof(::brpc::StatusRequest)}, |
961 | { 45, 50, sizeof(::brpc::StatusResponse)}, |
962 | { 50, 55, sizeof(::brpc::ProtobufsRequest)}, |
963 | { 55, 60, sizeof(::brpc::ProtobufsResponse)}, |
964 | { 60, 65, sizeof(::brpc::ConnectionsRequest)}, |
965 | { 65, 70, sizeof(::brpc::ConnectionsResponse)}, |
966 | { 70, 75, sizeof(::brpc::ListRequest)}, |
967 | { 75, 81, sizeof(::brpc::ListResponse)}, |
968 | { 82, 87, sizeof(::brpc::VarsRequest)}, |
969 | { 87, 92, sizeof(::brpc::VarsResponse)}, |
970 | { 92, 97, sizeof(::brpc::BthreadsRequest)}, |
971 | { 97, 102, sizeof(::brpc::BthreadsResponse)}, |
972 | { 102, 107, sizeof(::brpc::IdsRequest)}, |
973 | { 107, 112, sizeof(::brpc::IdsResponse)}, |
974 | { 112, 117, sizeof(::brpc::SocketsRequest)}, |
975 | { 117, 122, sizeof(::brpc::SocketsResponse)}, |
976 | { 122, 127, sizeof(::brpc::RpczRequest)}, |
977 | { 127, 132, sizeof(::brpc::RpczResponse)}, |
978 | { 132, 137, sizeof(::brpc::ThreadsRequest)}, |
979 | { 137, 142, sizeof(::brpc::ThreadsResponse)}, |
980 | { 142, 147, sizeof(::brpc::DirRequest)}, |
981 | { 147, 152, sizeof(::brpc::DirResponse)}, |
982 | { 152, 157, sizeof(::brpc::VLogRequest)}, |
983 | { 157, 162, sizeof(::brpc::VLogResponse)}, |
984 | { 162, 167, sizeof(::brpc::MetricsRequest)}, |
985 | { 167, 172, sizeof(::brpc::MetricsResponse)}, |
986 | { 172, 178, sizeof(::brpc::BadMethodRequest)}, |
987 | { 179, 184, sizeof(::brpc::BadMethodResponse)}, |
988 | { 184, 189, sizeof(::brpc::ProfileRequest)}, |
989 | { 189, 194, sizeof(::brpc::ProfileResponse)}, |
990 | { 194, 199, sizeof(::brpc::HotspotsRequest)}, |
991 | { 199, 204, sizeof(::brpc::HotspotsResponse)}, |
992 | }; |
993 | |
994 | static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { |
995 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_IndexRequest_default_instance_), |
996 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_IndexResponse_default_instance_), |
997 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_FlagsRequest_default_instance_), |
998 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_FlagsResponse_default_instance_), |
999 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_VersionRequest_default_instance_), |
1000 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_VersionResponse_default_instance_), |
1001 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_HealthRequest_default_instance_), |
1002 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_HealthResponse_default_instance_), |
1003 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_StatusRequest_default_instance_), |
1004 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_StatusResponse_default_instance_), |
1005 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_ProtobufsRequest_default_instance_), |
1006 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_ProtobufsResponse_default_instance_), |
1007 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_ConnectionsRequest_default_instance_), |
1008 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_ConnectionsResponse_default_instance_), |
1009 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_ListRequest_default_instance_), |
1010 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_ListResponse_default_instance_), |
1011 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_VarsRequest_default_instance_), |
1012 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_VarsResponse_default_instance_), |
1013 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_BthreadsRequest_default_instance_), |
1014 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_BthreadsResponse_default_instance_), |
1015 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_IdsRequest_default_instance_), |
1016 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_IdsResponse_default_instance_), |
1017 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_SocketsRequest_default_instance_), |
1018 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_SocketsResponse_default_instance_), |
1019 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_RpczRequest_default_instance_), |
1020 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_RpczResponse_default_instance_), |
1021 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_ThreadsRequest_default_instance_), |
1022 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_ThreadsResponse_default_instance_), |
1023 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_DirRequest_default_instance_), |
1024 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_DirResponse_default_instance_), |
1025 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_VLogRequest_default_instance_), |
1026 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_VLogResponse_default_instance_), |
1027 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_MetricsRequest_default_instance_), |
1028 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_MetricsResponse_default_instance_), |
1029 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_BadMethodRequest_default_instance_), |
1030 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_BadMethodResponse_default_instance_), |
1031 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_ProfileRequest_default_instance_), |
1032 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_ProfileResponse_default_instance_), |
1033 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_HotspotsRequest_default_instance_), |
1034 | reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::brpc::_HotspotsResponse_default_instance_), |
1035 | }; |
1036 | |
1037 | const char descriptor_table_protodef_brpc_2fbuiltin_5fservice_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = |
1038 | "\n\032brpc/builtin_service.proto\022\004brpc\032 goog" |
1039 | "le/protobuf/descriptor.proto\"\016\n\014IndexReq" |
1040 | "uest\"\017\n\rIndexResponse\"\016\n\014FlagsRequest\"\017\n" |
1041 | "\rFlagsResponse\"\020\n\016VersionRequest\"\021\n\017Vers" |
1042 | "ionResponse\"\017\n\rHealthRequest\"\020\n\016HealthRe" |
1043 | "sponse\"\017\n\rStatusRequest\"\020\n\016StatusRespons" |
1044 | "e\"\022\n\020ProtobufsRequest\"\023\n\021ProtobufsRespon" |
1045 | "se\"\024\n\022ConnectionsRequest\"\025\n\023ConnectionsR" |
1046 | "esponse\"\r\n\013ListRequest\"H\n\014ListResponse\0228" |
1047 | "\n\007service\030\001 \003(\0132\'.google.protobuf.Servic" |
1048 | "eDescriptorProto\"\r\n\013VarsRequest\"\016\n\014VarsR" |
1049 | "esponse\"\021\n\017BthreadsRequest\"\022\n\020BthreadsRe" |
1050 | "sponse\"\014\n\nIdsRequest\"\r\n\013IdsResponse\"\020\n\016S" |
1051 | "ocketsRequest\"\021\n\017SocketsResponse\"\r\n\013Rpcz" |
1052 | "Request\"\016\n\014RpczResponse\"\020\n\016ThreadsReques" |
1053 | "t\"\021\n\017ThreadsResponse\"\014\n\nDirRequest\"\r\n\013Di" |
1054 | "rResponse\"\r\n\013VLogRequest\"\016\n\014VLogResponse" |
1055 | "\"\020\n\016MetricsRequest\"\021\n\017MetricsResponse\"(\n" |
1056 | "\020BadMethodRequest\022\024\n\014service_name\030\001 \002(\t\"" |
1057 | "\023\n\021BadMethodResponse\"\020\n\016ProfileRequest\"\021" |
1058 | "\n\017ProfileResponse\"\021\n\017HotspotsRequest\"\022\n\020" |
1059 | "HotspotsResponse2B\n\005index\0229\n\016default_met" |
1060 | "hod\022\022.brpc.IndexRequest\032\023.brpc.IndexResp" |
1061 | "onse2H\n\007version\022=\n\016default_method\022\024.brpc" |
1062 | ".VersionRequest\032\025.brpc.VersionResponse2E" |
1063 | "\n\006health\022;\n\016default_method\022\023.brpc.Health" |
1064 | "Request\032\024.brpc.HealthResponse2E\n\006status\022" |
1065 | ";\n\016default_method\022\023.brpc.StatusRequest\032\024" |
1066 | ".brpc.StatusResponse2N\n\tprotobufs\022A\n\016def" |
1067 | "ault_method\022\026.brpc.ProtobufsRequest\032\027.br" |
1068 | "pc.ProtobufsResponse2T\n\013connections\022E\n\016d" |
1069 | "efault_method\022\030.brpc.ConnectionsRequest\032" |
1070 | "\031.brpc.ConnectionsResponse2\?\n\004list\0227\n\016de" |
1071 | "fault_method\022\021.brpc.ListRequest\032\022.brpc.L" |
1072 | "istResponse2H\n\007threads\022=\n\016default_method" |
1073 | "\022\024.brpc.ThreadsRequest\032\025.brpc.ThreadsRes" |
1074 | "ponse2\?\n\004vlog\0227\n\016default_method\022\021.brpc.V" |
1075 | "LogRequest\032\022.brpc.VLogResponse2K\n\010bthrea" |
1076 | "ds\022\?\n\016default_method\022\025.brpc.BthreadsRequ" |
1077 | "est\032\026.brpc.BthreadsResponse2<\n\003ids\0225\n\016de" |
1078 | "fault_method\022\020.brpc.IdsRequest\032\021.brpc.Id" |
1079 | "sResponse2H\n\007sockets\022=\n\016default_method\022\024" |
1080 | ".brpc.SocketsRequest\032\025.brpc.SocketsRespo" |
1081 | "nse2M\n\014brpc_metrics\022=\n\016default_method\022\024." |
1082 | "brpc.MetricsRequest\032\025.brpc.MetricsRespon" |
1083 | "se2I\n\tbadmethod\022<\n\tno_method\022\026.brpc.BadM" |
1084 | "ethodRequest\032\027.brpc.BadMethodResponse2\325\002" |
1085 | "\n\005pprof\0226\n\007profile\022\024.brpc.ProfileRequest" |
1086 | "\032\025.brpc.ProfileResponse\0229\n\ncontention\022\024." |
1087 | "brpc.ProfileRequest\032\025.brpc.ProfileRespon" |
1088 | "se\0223\n\004heap\022\024.brpc.ProfileRequest\032\025.brpc." |
1089 | "ProfileResponse\0225\n\006symbol\022\024.brpc.Profile" |
1090 | "Request\032\025.brpc.ProfileResponse\0226\n\007cmdlin" |
1091 | "e\022\024.brpc.ProfileRequest\032\025.brpc.ProfileRe" |
1092 | "sponse\0225\n\006growth\022\024.brpc.ProfileRequest\032\025" |
1093 | ".brpc.ProfileResponse2\214\004\n\010hotspots\0224\n\003cp" |
1094 | "u\022\025.brpc.HotspotsRequest\032\026.brpc.Hotspots" |
1095 | "Response\022C\n\022cpu_non_responsive\022\025.brpc.Ho" |
1096 | "tspotsRequest\032\026.brpc.HotspotsResponse\0225\n" |
1097 | "\004heap\022\025.brpc.HotspotsRequest\032\026.brpc.Hots" |
1098 | "potsResponse\022D\n\023heap_non_responsive\022\025.br" |
1099 | "pc.HotspotsRequest\032\026.brpc.HotspotsRespon" |
1100 | "se\0227\n\006growth\022\025.brpc.HotspotsRequest\032\026.br" |
1101 | "pc.HotspotsResponse\022F\n\025growth_non_respon" |
1102 | "sive\022\025.brpc.HotspotsRequest\032\026.brpc.Hotsp" |
1103 | "otsResponse\022;\n\ncontention\022\025.brpc.Hotspot" |
1104 | "sRequest\032\026.brpc.HotspotsResponse\022J\n\031cont" |
1105 | "ention_non_responsive\022\025.brpc.HotspotsReq" |
1106 | "uest\032\026.brpc.HotspotsResponse2B\n\005flags\0229\n" |
1107 | "\016default_method\022\022.brpc.FlagsRequest\032\023.br" |
1108 | "pc.FlagsResponse2\?\n\004vars\0227\n\016default_meth" |
1109 | "od\022\021.brpc.VarsRequest\032\022.brpc.VarsRespons" |
1110 | "e2\274\002\n\004rpcz\022/\n\006enable\022\021.brpc.RpczRequest\032" |
1111 | "\022.brpc.RpczResponse\0220\n\007disable\022\021.brpc.Rp" |
1112 | "czRequest\032\022.brpc.RpczResponse\022.\n\005stats\022\021" |
1113 | ".brpc.RpczRequest\032\022.brpc.RpczResponse\0223\n" |
1114 | "\nhex_log_id\022\021.brpc.RpczRequest\032\022.brpc.Rp" |
1115 | "czResponse\0223\n\ndec_log_id\022\021.brpc.RpczRequ" |
1116 | "est\032\022.brpc.RpczResponse\0227\n\016default_metho" |
1117 | "d\022\021.brpc.RpczRequest\032\022.brpc.RpczResponse" |
1118 | "2<\n\003dir\0225\n\016default_method\022\020.brpc.DirRequ" |
1119 | "est\032\021.brpc.DirResponseB \n\010com.brpcB\016Buil" |
1120 | "tinService\200\001\001\210\001\001" |
1121 | ; |
1122 | static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_brpc_2fbuiltin_5fservice_2eproto_deps[1] = { |
1123 | &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, |
1124 | }; |
1125 | static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_brpc_2fbuiltin_5fservice_2eproto_sccs[40] = { |
1126 | &scc_info_BadMethodRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1127 | &scc_info_BadMethodResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1128 | &scc_info_BthreadsRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1129 | &scc_info_BthreadsResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1130 | &scc_info_ConnectionsRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1131 | &scc_info_ConnectionsResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1132 | &scc_info_DirRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1133 | &scc_info_DirResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1134 | &scc_info_FlagsRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1135 | &scc_info_FlagsResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1136 | &scc_info_HealthRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1137 | &scc_info_HealthResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1138 | &scc_info_HotspotsRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1139 | &scc_info_HotspotsResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1140 | &scc_info_IdsRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1141 | &scc_info_IdsResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1142 | &scc_info_IndexRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1143 | &scc_info_IndexResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1144 | &scc_info_ListRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1145 | &scc_info_ListResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1146 | &scc_info_MetricsRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1147 | &scc_info_MetricsResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1148 | &scc_info_ProfileRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1149 | &scc_info_ProfileResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1150 | &scc_info_ProtobufsRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1151 | &scc_info_ProtobufsResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1152 | &scc_info_RpczRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1153 | &scc_info_RpczResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1154 | &scc_info_SocketsRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1155 | &scc_info_SocketsResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1156 | &scc_info_StatusRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1157 | &scc_info_StatusResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1158 | &scc_info_ThreadsRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1159 | &scc_info_ThreadsResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1160 | &scc_info_VLogRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1161 | &scc_info_VLogResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1162 | &scc_info_VarsRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1163 | &scc_info_VarsResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1164 | &scc_info_VersionRequest_brpc_2fbuiltin_5fservice_2eproto.base, |
1165 | &scc_info_VersionResponse_brpc_2fbuiltin_5fservice_2eproto.base, |
1166 | }; |
1167 | static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_brpc_2fbuiltin_5fservice_2eproto_once; |
1168 | static bool descriptor_table_brpc_2fbuiltin_5fservice_2eproto_initialized = false; |
1169 | const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_brpc_2fbuiltin_5fservice_2eproto = { |
1170 | &descriptor_table_brpc_2fbuiltin_5fservice_2eproto_initialized, descriptor_table_protodef_brpc_2fbuiltin_5fservice_2eproto, "brpc/builtin_service.proto" , 3296, |
1171 | &descriptor_table_brpc_2fbuiltin_5fservice_2eproto_once, descriptor_table_brpc_2fbuiltin_5fservice_2eproto_sccs, descriptor_table_brpc_2fbuiltin_5fservice_2eproto_deps, 40, 1, |
1172 | schemas, file_default_instances, TableStruct_brpc_2fbuiltin_5fservice_2eproto::offsets, |
1173 | file_level_metadata_brpc_2fbuiltin_5fservice_2eproto, 40, file_level_enum_descriptors_brpc_2fbuiltin_5fservice_2eproto, file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto, |
1174 | }; |
1175 | |
1176 | // Force running AddDescriptors() at dynamic initialization time. |
1177 | static bool dynamic_init_dummy_brpc_2fbuiltin_5fservice_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto), true); |
1178 | namespace brpc { |
1179 | |
1180 | // =================================================================== |
1181 | |
1182 | void IndexRequest::InitAsDefaultInstance() { |
1183 | } |
1184 | class IndexRequest::_Internal { |
1185 | public: |
1186 | using HasBits = decltype(std::declval<IndexRequest>()._has_bits_); |
1187 | }; |
1188 | |
1189 | IndexRequest::IndexRequest() |
1190 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
1191 | SharedCtor(); |
1192 | // @@protoc_insertion_point(constructor:brpc.IndexRequest) |
1193 | } |
1194 | IndexRequest::IndexRequest(const IndexRequest& from) |
1195 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
1196 | _internal_metadata_(nullptr), |
1197 | _has_bits_(from._has_bits_) { |
1198 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1199 | // @@protoc_insertion_point(copy_constructor:brpc.IndexRequest) |
1200 | } |
1201 | |
1202 | void IndexRequest::SharedCtor() { |
1203 | } |
1204 | |
1205 | IndexRequest::~IndexRequest() { |
1206 | // @@protoc_insertion_point(destructor:brpc.IndexRequest) |
1207 | SharedDtor(); |
1208 | } |
1209 | |
1210 | void IndexRequest::SharedDtor() { |
1211 | } |
1212 | |
1213 | void IndexRequest::SetCachedSize(int size) const { |
1214 | _cached_size_.Set(size); |
1215 | } |
1216 | const IndexRequest& IndexRequest::default_instance() { |
1217 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_IndexRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
1218 | return *internal_default_instance(); |
1219 | } |
1220 | |
1221 | |
1222 | void IndexRequest::Clear() { |
1223 | // @@protoc_insertion_point(message_clear_start:brpc.IndexRequest) |
1224 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1225 | // Prevent compiler warnings about cached_has_bits being unused |
1226 | (void) cached_has_bits; |
1227 | |
1228 | _has_bits_.Clear(); |
1229 | _internal_metadata_.Clear(); |
1230 | } |
1231 | |
1232 | const char* IndexRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
1233 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
1234 | while (!ctx->Done(&ptr)) { |
1235 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
1236 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
1237 | CHK_(ptr); |
1238 | if ((tag & 7) == 4 || tag == 0) { |
1239 | ctx->SetLastTag(tag); |
1240 | goto success; |
1241 | } |
1242 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
1243 | CHK_(ptr != nullptr); |
1244 | continue; |
1245 | } // while |
1246 | success: |
1247 | return ptr; |
1248 | failure: |
1249 | ptr = nullptr; |
1250 | goto success; |
1251 | #undef CHK_ |
1252 | } |
1253 | |
1254 | ::PROTOBUF_NAMESPACE_ID::uint8* IndexRequest::_InternalSerialize( |
1255 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
1256 | // @@protoc_insertion_point(serialize_to_array_start:brpc.IndexRequest) |
1257 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1258 | (void) cached_has_bits; |
1259 | |
1260 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1261 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
1262 | _internal_metadata_.unknown_fields(), target, stream); |
1263 | } |
1264 | // @@protoc_insertion_point(serialize_to_array_end:brpc.IndexRequest) |
1265 | return target; |
1266 | } |
1267 | |
1268 | size_t IndexRequest::ByteSizeLong() const { |
1269 | // @@protoc_insertion_point(message_byte_size_start:brpc.IndexRequest) |
1270 | size_t total_size = 0; |
1271 | |
1272 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1273 | // Prevent compiler warnings about cached_has_bits being unused |
1274 | (void) cached_has_bits; |
1275 | |
1276 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1277 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
1278 | _internal_metadata_, total_size, &_cached_size_); |
1279 | } |
1280 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
1281 | SetCachedSize(cached_size); |
1282 | return total_size; |
1283 | } |
1284 | |
1285 | void IndexRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1286 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.IndexRequest) |
1287 | GOOGLE_DCHECK_NE(&from, this); |
1288 | const IndexRequest* source = |
1289 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<IndexRequest>( |
1290 | &from); |
1291 | if (source == nullptr) { |
1292 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.IndexRequest) |
1293 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
1294 | } else { |
1295 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.IndexRequest) |
1296 | MergeFrom(*source); |
1297 | } |
1298 | } |
1299 | |
1300 | void IndexRequest::MergeFrom(const IndexRequest& from) { |
1301 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.IndexRequest) |
1302 | GOOGLE_DCHECK_NE(&from, this); |
1303 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1304 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1305 | (void) cached_has_bits; |
1306 | |
1307 | } |
1308 | |
1309 | void IndexRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1310 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.IndexRequest) |
1311 | if (&from == this) return; |
1312 | Clear(); |
1313 | MergeFrom(from); |
1314 | } |
1315 | |
1316 | void IndexRequest::CopyFrom(const IndexRequest& from) { |
1317 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.IndexRequest) |
1318 | if (&from == this) return; |
1319 | Clear(); |
1320 | MergeFrom(from); |
1321 | } |
1322 | |
1323 | bool IndexRequest::IsInitialized() const { |
1324 | return true; |
1325 | } |
1326 | |
1327 | void IndexRequest::InternalSwap(IndexRequest* other) { |
1328 | using std::swap; |
1329 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1330 | swap(_has_bits_[0], other->_has_bits_[0]); |
1331 | } |
1332 | |
1333 | ::PROTOBUF_NAMESPACE_ID::Metadata IndexRequest::GetMetadata() const { |
1334 | return GetMetadataStatic(); |
1335 | } |
1336 | |
1337 | |
1338 | // =================================================================== |
1339 | |
1340 | void IndexResponse::InitAsDefaultInstance() { |
1341 | } |
1342 | class IndexResponse::_Internal { |
1343 | public: |
1344 | using HasBits = decltype(std::declval<IndexResponse>()._has_bits_); |
1345 | }; |
1346 | |
1347 | IndexResponse::IndexResponse() |
1348 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
1349 | SharedCtor(); |
1350 | // @@protoc_insertion_point(constructor:brpc.IndexResponse) |
1351 | } |
1352 | IndexResponse::IndexResponse(const IndexResponse& from) |
1353 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
1354 | _internal_metadata_(nullptr), |
1355 | _has_bits_(from._has_bits_) { |
1356 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1357 | // @@protoc_insertion_point(copy_constructor:brpc.IndexResponse) |
1358 | } |
1359 | |
1360 | void IndexResponse::SharedCtor() { |
1361 | } |
1362 | |
1363 | IndexResponse::~IndexResponse() { |
1364 | // @@protoc_insertion_point(destructor:brpc.IndexResponse) |
1365 | SharedDtor(); |
1366 | } |
1367 | |
1368 | void IndexResponse::SharedDtor() { |
1369 | } |
1370 | |
1371 | void IndexResponse::SetCachedSize(int size) const { |
1372 | _cached_size_.Set(size); |
1373 | } |
1374 | const IndexResponse& IndexResponse::default_instance() { |
1375 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_IndexResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
1376 | return *internal_default_instance(); |
1377 | } |
1378 | |
1379 | |
1380 | void IndexResponse::Clear() { |
1381 | // @@protoc_insertion_point(message_clear_start:brpc.IndexResponse) |
1382 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1383 | // Prevent compiler warnings about cached_has_bits being unused |
1384 | (void) cached_has_bits; |
1385 | |
1386 | _has_bits_.Clear(); |
1387 | _internal_metadata_.Clear(); |
1388 | } |
1389 | |
1390 | const char* IndexResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
1391 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
1392 | while (!ctx->Done(&ptr)) { |
1393 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
1394 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
1395 | CHK_(ptr); |
1396 | if ((tag & 7) == 4 || tag == 0) { |
1397 | ctx->SetLastTag(tag); |
1398 | goto success; |
1399 | } |
1400 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
1401 | CHK_(ptr != nullptr); |
1402 | continue; |
1403 | } // while |
1404 | success: |
1405 | return ptr; |
1406 | failure: |
1407 | ptr = nullptr; |
1408 | goto success; |
1409 | #undef CHK_ |
1410 | } |
1411 | |
1412 | ::PROTOBUF_NAMESPACE_ID::uint8* IndexResponse::_InternalSerialize( |
1413 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
1414 | // @@protoc_insertion_point(serialize_to_array_start:brpc.IndexResponse) |
1415 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1416 | (void) cached_has_bits; |
1417 | |
1418 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1419 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
1420 | _internal_metadata_.unknown_fields(), target, stream); |
1421 | } |
1422 | // @@protoc_insertion_point(serialize_to_array_end:brpc.IndexResponse) |
1423 | return target; |
1424 | } |
1425 | |
1426 | size_t IndexResponse::ByteSizeLong() const { |
1427 | // @@protoc_insertion_point(message_byte_size_start:brpc.IndexResponse) |
1428 | size_t total_size = 0; |
1429 | |
1430 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1431 | // Prevent compiler warnings about cached_has_bits being unused |
1432 | (void) cached_has_bits; |
1433 | |
1434 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1435 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
1436 | _internal_metadata_, total_size, &_cached_size_); |
1437 | } |
1438 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
1439 | SetCachedSize(cached_size); |
1440 | return total_size; |
1441 | } |
1442 | |
1443 | void IndexResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1444 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.IndexResponse) |
1445 | GOOGLE_DCHECK_NE(&from, this); |
1446 | const IndexResponse* source = |
1447 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<IndexResponse>( |
1448 | &from); |
1449 | if (source == nullptr) { |
1450 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.IndexResponse) |
1451 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
1452 | } else { |
1453 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.IndexResponse) |
1454 | MergeFrom(*source); |
1455 | } |
1456 | } |
1457 | |
1458 | void IndexResponse::MergeFrom(const IndexResponse& from) { |
1459 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.IndexResponse) |
1460 | GOOGLE_DCHECK_NE(&from, this); |
1461 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1462 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1463 | (void) cached_has_bits; |
1464 | |
1465 | } |
1466 | |
1467 | void IndexResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1468 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.IndexResponse) |
1469 | if (&from == this) return; |
1470 | Clear(); |
1471 | MergeFrom(from); |
1472 | } |
1473 | |
1474 | void IndexResponse::CopyFrom(const IndexResponse& from) { |
1475 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.IndexResponse) |
1476 | if (&from == this) return; |
1477 | Clear(); |
1478 | MergeFrom(from); |
1479 | } |
1480 | |
1481 | bool IndexResponse::IsInitialized() const { |
1482 | return true; |
1483 | } |
1484 | |
1485 | void IndexResponse::InternalSwap(IndexResponse* other) { |
1486 | using std::swap; |
1487 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1488 | swap(_has_bits_[0], other->_has_bits_[0]); |
1489 | } |
1490 | |
1491 | ::PROTOBUF_NAMESPACE_ID::Metadata IndexResponse::GetMetadata() const { |
1492 | return GetMetadataStatic(); |
1493 | } |
1494 | |
1495 | |
1496 | // =================================================================== |
1497 | |
1498 | void FlagsRequest::InitAsDefaultInstance() { |
1499 | } |
1500 | class FlagsRequest::_Internal { |
1501 | public: |
1502 | using HasBits = decltype(std::declval<FlagsRequest>()._has_bits_); |
1503 | }; |
1504 | |
1505 | FlagsRequest::FlagsRequest() |
1506 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
1507 | SharedCtor(); |
1508 | // @@protoc_insertion_point(constructor:brpc.FlagsRequest) |
1509 | } |
1510 | FlagsRequest::FlagsRequest(const FlagsRequest& from) |
1511 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
1512 | _internal_metadata_(nullptr), |
1513 | _has_bits_(from._has_bits_) { |
1514 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1515 | // @@protoc_insertion_point(copy_constructor:brpc.FlagsRequest) |
1516 | } |
1517 | |
1518 | void FlagsRequest::SharedCtor() { |
1519 | } |
1520 | |
1521 | FlagsRequest::~FlagsRequest() { |
1522 | // @@protoc_insertion_point(destructor:brpc.FlagsRequest) |
1523 | SharedDtor(); |
1524 | } |
1525 | |
1526 | void FlagsRequest::SharedDtor() { |
1527 | } |
1528 | |
1529 | void FlagsRequest::SetCachedSize(int size) const { |
1530 | _cached_size_.Set(size); |
1531 | } |
1532 | const FlagsRequest& FlagsRequest::default_instance() { |
1533 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_FlagsRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
1534 | return *internal_default_instance(); |
1535 | } |
1536 | |
1537 | |
1538 | void FlagsRequest::Clear() { |
1539 | // @@protoc_insertion_point(message_clear_start:brpc.FlagsRequest) |
1540 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1541 | // Prevent compiler warnings about cached_has_bits being unused |
1542 | (void) cached_has_bits; |
1543 | |
1544 | _has_bits_.Clear(); |
1545 | _internal_metadata_.Clear(); |
1546 | } |
1547 | |
1548 | const char* FlagsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
1549 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
1550 | while (!ctx->Done(&ptr)) { |
1551 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
1552 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
1553 | CHK_(ptr); |
1554 | if ((tag & 7) == 4 || tag == 0) { |
1555 | ctx->SetLastTag(tag); |
1556 | goto success; |
1557 | } |
1558 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
1559 | CHK_(ptr != nullptr); |
1560 | continue; |
1561 | } // while |
1562 | success: |
1563 | return ptr; |
1564 | failure: |
1565 | ptr = nullptr; |
1566 | goto success; |
1567 | #undef CHK_ |
1568 | } |
1569 | |
1570 | ::PROTOBUF_NAMESPACE_ID::uint8* FlagsRequest::_InternalSerialize( |
1571 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
1572 | // @@protoc_insertion_point(serialize_to_array_start:brpc.FlagsRequest) |
1573 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1574 | (void) cached_has_bits; |
1575 | |
1576 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1577 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
1578 | _internal_metadata_.unknown_fields(), target, stream); |
1579 | } |
1580 | // @@protoc_insertion_point(serialize_to_array_end:brpc.FlagsRequest) |
1581 | return target; |
1582 | } |
1583 | |
1584 | size_t FlagsRequest::ByteSizeLong() const { |
1585 | // @@protoc_insertion_point(message_byte_size_start:brpc.FlagsRequest) |
1586 | size_t total_size = 0; |
1587 | |
1588 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1589 | // Prevent compiler warnings about cached_has_bits being unused |
1590 | (void) cached_has_bits; |
1591 | |
1592 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1593 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
1594 | _internal_metadata_, total_size, &_cached_size_); |
1595 | } |
1596 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
1597 | SetCachedSize(cached_size); |
1598 | return total_size; |
1599 | } |
1600 | |
1601 | void FlagsRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1602 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.FlagsRequest) |
1603 | GOOGLE_DCHECK_NE(&from, this); |
1604 | const FlagsRequest* source = |
1605 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<FlagsRequest>( |
1606 | &from); |
1607 | if (source == nullptr) { |
1608 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.FlagsRequest) |
1609 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
1610 | } else { |
1611 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.FlagsRequest) |
1612 | MergeFrom(*source); |
1613 | } |
1614 | } |
1615 | |
1616 | void FlagsRequest::MergeFrom(const FlagsRequest& from) { |
1617 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.FlagsRequest) |
1618 | GOOGLE_DCHECK_NE(&from, this); |
1619 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1620 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1621 | (void) cached_has_bits; |
1622 | |
1623 | } |
1624 | |
1625 | void FlagsRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1626 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.FlagsRequest) |
1627 | if (&from == this) return; |
1628 | Clear(); |
1629 | MergeFrom(from); |
1630 | } |
1631 | |
1632 | void FlagsRequest::CopyFrom(const FlagsRequest& from) { |
1633 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.FlagsRequest) |
1634 | if (&from == this) return; |
1635 | Clear(); |
1636 | MergeFrom(from); |
1637 | } |
1638 | |
1639 | bool FlagsRequest::IsInitialized() const { |
1640 | return true; |
1641 | } |
1642 | |
1643 | void FlagsRequest::InternalSwap(FlagsRequest* other) { |
1644 | using std::swap; |
1645 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1646 | swap(_has_bits_[0], other->_has_bits_[0]); |
1647 | } |
1648 | |
1649 | ::PROTOBUF_NAMESPACE_ID::Metadata FlagsRequest::GetMetadata() const { |
1650 | return GetMetadataStatic(); |
1651 | } |
1652 | |
1653 | |
1654 | // =================================================================== |
1655 | |
1656 | void FlagsResponse::InitAsDefaultInstance() { |
1657 | } |
1658 | class FlagsResponse::_Internal { |
1659 | public: |
1660 | using HasBits = decltype(std::declval<FlagsResponse>()._has_bits_); |
1661 | }; |
1662 | |
1663 | FlagsResponse::FlagsResponse() |
1664 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
1665 | SharedCtor(); |
1666 | // @@protoc_insertion_point(constructor:brpc.FlagsResponse) |
1667 | } |
1668 | FlagsResponse::FlagsResponse(const FlagsResponse& from) |
1669 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
1670 | _internal_metadata_(nullptr), |
1671 | _has_bits_(from._has_bits_) { |
1672 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1673 | // @@protoc_insertion_point(copy_constructor:brpc.FlagsResponse) |
1674 | } |
1675 | |
1676 | void FlagsResponse::SharedCtor() { |
1677 | } |
1678 | |
1679 | FlagsResponse::~FlagsResponse() { |
1680 | // @@protoc_insertion_point(destructor:brpc.FlagsResponse) |
1681 | SharedDtor(); |
1682 | } |
1683 | |
1684 | void FlagsResponse::SharedDtor() { |
1685 | } |
1686 | |
1687 | void FlagsResponse::SetCachedSize(int size) const { |
1688 | _cached_size_.Set(size); |
1689 | } |
1690 | const FlagsResponse& FlagsResponse::default_instance() { |
1691 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_FlagsResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
1692 | return *internal_default_instance(); |
1693 | } |
1694 | |
1695 | |
1696 | void FlagsResponse::Clear() { |
1697 | // @@protoc_insertion_point(message_clear_start:brpc.FlagsResponse) |
1698 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1699 | // Prevent compiler warnings about cached_has_bits being unused |
1700 | (void) cached_has_bits; |
1701 | |
1702 | _has_bits_.Clear(); |
1703 | _internal_metadata_.Clear(); |
1704 | } |
1705 | |
1706 | const char* FlagsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
1707 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
1708 | while (!ctx->Done(&ptr)) { |
1709 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
1710 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
1711 | CHK_(ptr); |
1712 | if ((tag & 7) == 4 || tag == 0) { |
1713 | ctx->SetLastTag(tag); |
1714 | goto success; |
1715 | } |
1716 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
1717 | CHK_(ptr != nullptr); |
1718 | continue; |
1719 | } // while |
1720 | success: |
1721 | return ptr; |
1722 | failure: |
1723 | ptr = nullptr; |
1724 | goto success; |
1725 | #undef CHK_ |
1726 | } |
1727 | |
1728 | ::PROTOBUF_NAMESPACE_ID::uint8* FlagsResponse::_InternalSerialize( |
1729 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
1730 | // @@protoc_insertion_point(serialize_to_array_start:brpc.FlagsResponse) |
1731 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1732 | (void) cached_has_bits; |
1733 | |
1734 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1735 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
1736 | _internal_metadata_.unknown_fields(), target, stream); |
1737 | } |
1738 | // @@protoc_insertion_point(serialize_to_array_end:brpc.FlagsResponse) |
1739 | return target; |
1740 | } |
1741 | |
1742 | size_t FlagsResponse::ByteSizeLong() const { |
1743 | // @@protoc_insertion_point(message_byte_size_start:brpc.FlagsResponse) |
1744 | size_t total_size = 0; |
1745 | |
1746 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1747 | // Prevent compiler warnings about cached_has_bits being unused |
1748 | (void) cached_has_bits; |
1749 | |
1750 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1751 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
1752 | _internal_metadata_, total_size, &_cached_size_); |
1753 | } |
1754 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
1755 | SetCachedSize(cached_size); |
1756 | return total_size; |
1757 | } |
1758 | |
1759 | void FlagsResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1760 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.FlagsResponse) |
1761 | GOOGLE_DCHECK_NE(&from, this); |
1762 | const FlagsResponse* source = |
1763 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<FlagsResponse>( |
1764 | &from); |
1765 | if (source == nullptr) { |
1766 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.FlagsResponse) |
1767 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
1768 | } else { |
1769 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.FlagsResponse) |
1770 | MergeFrom(*source); |
1771 | } |
1772 | } |
1773 | |
1774 | void FlagsResponse::MergeFrom(const FlagsResponse& from) { |
1775 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.FlagsResponse) |
1776 | GOOGLE_DCHECK_NE(&from, this); |
1777 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1778 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1779 | (void) cached_has_bits; |
1780 | |
1781 | } |
1782 | |
1783 | void FlagsResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1784 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.FlagsResponse) |
1785 | if (&from == this) return; |
1786 | Clear(); |
1787 | MergeFrom(from); |
1788 | } |
1789 | |
1790 | void FlagsResponse::CopyFrom(const FlagsResponse& from) { |
1791 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.FlagsResponse) |
1792 | if (&from == this) return; |
1793 | Clear(); |
1794 | MergeFrom(from); |
1795 | } |
1796 | |
1797 | bool FlagsResponse::IsInitialized() const { |
1798 | return true; |
1799 | } |
1800 | |
1801 | void FlagsResponse::InternalSwap(FlagsResponse* other) { |
1802 | using std::swap; |
1803 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1804 | swap(_has_bits_[0], other->_has_bits_[0]); |
1805 | } |
1806 | |
1807 | ::PROTOBUF_NAMESPACE_ID::Metadata FlagsResponse::GetMetadata() const { |
1808 | return GetMetadataStatic(); |
1809 | } |
1810 | |
1811 | |
1812 | // =================================================================== |
1813 | |
1814 | void VersionRequest::InitAsDefaultInstance() { |
1815 | } |
1816 | class VersionRequest::_Internal { |
1817 | public: |
1818 | using HasBits = decltype(std::declval<VersionRequest>()._has_bits_); |
1819 | }; |
1820 | |
1821 | VersionRequest::VersionRequest() |
1822 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
1823 | SharedCtor(); |
1824 | // @@protoc_insertion_point(constructor:brpc.VersionRequest) |
1825 | } |
1826 | VersionRequest::VersionRequest(const VersionRequest& from) |
1827 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
1828 | _internal_metadata_(nullptr), |
1829 | _has_bits_(from._has_bits_) { |
1830 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1831 | // @@protoc_insertion_point(copy_constructor:brpc.VersionRequest) |
1832 | } |
1833 | |
1834 | void VersionRequest::SharedCtor() { |
1835 | } |
1836 | |
1837 | VersionRequest::~VersionRequest() { |
1838 | // @@protoc_insertion_point(destructor:brpc.VersionRequest) |
1839 | SharedDtor(); |
1840 | } |
1841 | |
1842 | void VersionRequest::SharedDtor() { |
1843 | } |
1844 | |
1845 | void VersionRequest::SetCachedSize(int size) const { |
1846 | _cached_size_.Set(size); |
1847 | } |
1848 | const VersionRequest& VersionRequest::default_instance() { |
1849 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VersionRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
1850 | return *internal_default_instance(); |
1851 | } |
1852 | |
1853 | |
1854 | void VersionRequest::Clear() { |
1855 | // @@protoc_insertion_point(message_clear_start:brpc.VersionRequest) |
1856 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1857 | // Prevent compiler warnings about cached_has_bits being unused |
1858 | (void) cached_has_bits; |
1859 | |
1860 | _has_bits_.Clear(); |
1861 | _internal_metadata_.Clear(); |
1862 | } |
1863 | |
1864 | const char* VersionRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
1865 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
1866 | while (!ctx->Done(&ptr)) { |
1867 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
1868 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
1869 | CHK_(ptr); |
1870 | if ((tag & 7) == 4 || tag == 0) { |
1871 | ctx->SetLastTag(tag); |
1872 | goto success; |
1873 | } |
1874 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
1875 | CHK_(ptr != nullptr); |
1876 | continue; |
1877 | } // while |
1878 | success: |
1879 | return ptr; |
1880 | failure: |
1881 | ptr = nullptr; |
1882 | goto success; |
1883 | #undef CHK_ |
1884 | } |
1885 | |
1886 | ::PROTOBUF_NAMESPACE_ID::uint8* VersionRequest::_InternalSerialize( |
1887 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
1888 | // @@protoc_insertion_point(serialize_to_array_start:brpc.VersionRequest) |
1889 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1890 | (void) cached_has_bits; |
1891 | |
1892 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1893 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
1894 | _internal_metadata_.unknown_fields(), target, stream); |
1895 | } |
1896 | // @@protoc_insertion_point(serialize_to_array_end:brpc.VersionRequest) |
1897 | return target; |
1898 | } |
1899 | |
1900 | size_t VersionRequest::ByteSizeLong() const { |
1901 | // @@protoc_insertion_point(message_byte_size_start:brpc.VersionRequest) |
1902 | size_t total_size = 0; |
1903 | |
1904 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1905 | // Prevent compiler warnings about cached_has_bits being unused |
1906 | (void) cached_has_bits; |
1907 | |
1908 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
1909 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
1910 | _internal_metadata_, total_size, &_cached_size_); |
1911 | } |
1912 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
1913 | SetCachedSize(cached_size); |
1914 | return total_size; |
1915 | } |
1916 | |
1917 | void VersionRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1918 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.VersionRequest) |
1919 | GOOGLE_DCHECK_NE(&from, this); |
1920 | const VersionRequest* source = |
1921 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VersionRequest>( |
1922 | &from); |
1923 | if (source == nullptr) { |
1924 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.VersionRequest) |
1925 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
1926 | } else { |
1927 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.VersionRequest) |
1928 | MergeFrom(*source); |
1929 | } |
1930 | } |
1931 | |
1932 | void VersionRequest::MergeFrom(const VersionRequest& from) { |
1933 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.VersionRequest) |
1934 | GOOGLE_DCHECK_NE(&from, this); |
1935 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1936 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
1937 | (void) cached_has_bits; |
1938 | |
1939 | } |
1940 | |
1941 | void VersionRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
1942 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.VersionRequest) |
1943 | if (&from == this) return; |
1944 | Clear(); |
1945 | MergeFrom(from); |
1946 | } |
1947 | |
1948 | void VersionRequest::CopyFrom(const VersionRequest& from) { |
1949 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.VersionRequest) |
1950 | if (&from == this) return; |
1951 | Clear(); |
1952 | MergeFrom(from); |
1953 | } |
1954 | |
1955 | bool VersionRequest::IsInitialized() const { |
1956 | return true; |
1957 | } |
1958 | |
1959 | void VersionRequest::InternalSwap(VersionRequest* other) { |
1960 | using std::swap; |
1961 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1962 | swap(_has_bits_[0], other->_has_bits_[0]); |
1963 | } |
1964 | |
1965 | ::PROTOBUF_NAMESPACE_ID::Metadata VersionRequest::GetMetadata() const { |
1966 | return GetMetadataStatic(); |
1967 | } |
1968 | |
1969 | |
1970 | // =================================================================== |
1971 | |
1972 | void VersionResponse::InitAsDefaultInstance() { |
1973 | } |
1974 | class VersionResponse::_Internal { |
1975 | public: |
1976 | using HasBits = decltype(std::declval<VersionResponse>()._has_bits_); |
1977 | }; |
1978 | |
1979 | VersionResponse::VersionResponse() |
1980 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
1981 | SharedCtor(); |
1982 | // @@protoc_insertion_point(constructor:brpc.VersionResponse) |
1983 | } |
1984 | VersionResponse::VersionResponse(const VersionResponse& from) |
1985 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
1986 | _internal_metadata_(nullptr), |
1987 | _has_bits_(from._has_bits_) { |
1988 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1989 | // @@protoc_insertion_point(copy_constructor:brpc.VersionResponse) |
1990 | } |
1991 | |
1992 | void VersionResponse::SharedCtor() { |
1993 | } |
1994 | |
1995 | VersionResponse::~VersionResponse() { |
1996 | // @@protoc_insertion_point(destructor:brpc.VersionResponse) |
1997 | SharedDtor(); |
1998 | } |
1999 | |
2000 | void VersionResponse::SharedDtor() { |
2001 | } |
2002 | |
2003 | void VersionResponse::SetCachedSize(int size) const { |
2004 | _cached_size_.Set(size); |
2005 | } |
2006 | const VersionResponse& VersionResponse::default_instance() { |
2007 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VersionResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
2008 | return *internal_default_instance(); |
2009 | } |
2010 | |
2011 | |
2012 | void VersionResponse::Clear() { |
2013 | // @@protoc_insertion_point(message_clear_start:brpc.VersionResponse) |
2014 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2015 | // Prevent compiler warnings about cached_has_bits being unused |
2016 | (void) cached_has_bits; |
2017 | |
2018 | _has_bits_.Clear(); |
2019 | _internal_metadata_.Clear(); |
2020 | } |
2021 | |
2022 | const char* VersionResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
2023 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2024 | while (!ctx->Done(&ptr)) { |
2025 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
2026 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
2027 | CHK_(ptr); |
2028 | if ((tag & 7) == 4 || tag == 0) { |
2029 | ctx->SetLastTag(tag); |
2030 | goto success; |
2031 | } |
2032 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
2033 | CHK_(ptr != nullptr); |
2034 | continue; |
2035 | } // while |
2036 | success: |
2037 | return ptr; |
2038 | failure: |
2039 | ptr = nullptr; |
2040 | goto success; |
2041 | #undef CHK_ |
2042 | } |
2043 | |
2044 | ::PROTOBUF_NAMESPACE_ID::uint8* VersionResponse::_InternalSerialize( |
2045 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2046 | // @@protoc_insertion_point(serialize_to_array_start:brpc.VersionResponse) |
2047 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2048 | (void) cached_has_bits; |
2049 | |
2050 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2051 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
2052 | _internal_metadata_.unknown_fields(), target, stream); |
2053 | } |
2054 | // @@protoc_insertion_point(serialize_to_array_end:brpc.VersionResponse) |
2055 | return target; |
2056 | } |
2057 | |
2058 | size_t VersionResponse::ByteSizeLong() const { |
2059 | // @@protoc_insertion_point(message_byte_size_start:brpc.VersionResponse) |
2060 | size_t total_size = 0; |
2061 | |
2062 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2063 | // Prevent compiler warnings about cached_has_bits being unused |
2064 | (void) cached_has_bits; |
2065 | |
2066 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2067 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
2068 | _internal_metadata_, total_size, &_cached_size_); |
2069 | } |
2070 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
2071 | SetCachedSize(cached_size); |
2072 | return total_size; |
2073 | } |
2074 | |
2075 | void VersionResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2076 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.VersionResponse) |
2077 | GOOGLE_DCHECK_NE(&from, this); |
2078 | const VersionResponse* source = |
2079 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VersionResponse>( |
2080 | &from); |
2081 | if (source == nullptr) { |
2082 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.VersionResponse) |
2083 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
2084 | } else { |
2085 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.VersionResponse) |
2086 | MergeFrom(*source); |
2087 | } |
2088 | } |
2089 | |
2090 | void VersionResponse::MergeFrom(const VersionResponse& from) { |
2091 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.VersionResponse) |
2092 | GOOGLE_DCHECK_NE(&from, this); |
2093 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2094 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2095 | (void) cached_has_bits; |
2096 | |
2097 | } |
2098 | |
2099 | void VersionResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2100 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.VersionResponse) |
2101 | if (&from == this) return; |
2102 | Clear(); |
2103 | MergeFrom(from); |
2104 | } |
2105 | |
2106 | void VersionResponse::CopyFrom(const VersionResponse& from) { |
2107 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.VersionResponse) |
2108 | if (&from == this) return; |
2109 | Clear(); |
2110 | MergeFrom(from); |
2111 | } |
2112 | |
2113 | bool VersionResponse::IsInitialized() const { |
2114 | return true; |
2115 | } |
2116 | |
2117 | void VersionResponse::InternalSwap(VersionResponse* other) { |
2118 | using std::swap; |
2119 | _internal_metadata_.Swap(&other->_internal_metadata_); |
2120 | swap(_has_bits_[0], other->_has_bits_[0]); |
2121 | } |
2122 | |
2123 | ::PROTOBUF_NAMESPACE_ID::Metadata VersionResponse::GetMetadata() const { |
2124 | return GetMetadataStatic(); |
2125 | } |
2126 | |
2127 | |
2128 | // =================================================================== |
2129 | |
2130 | void HealthRequest::InitAsDefaultInstance() { |
2131 | } |
2132 | class HealthRequest::_Internal { |
2133 | public: |
2134 | using HasBits = decltype(std::declval<HealthRequest>()._has_bits_); |
2135 | }; |
2136 | |
2137 | HealthRequest::HealthRequest() |
2138 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
2139 | SharedCtor(); |
2140 | // @@protoc_insertion_point(constructor:brpc.HealthRequest) |
2141 | } |
2142 | HealthRequest::HealthRequest(const HealthRequest& from) |
2143 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
2144 | _internal_metadata_(nullptr), |
2145 | _has_bits_(from._has_bits_) { |
2146 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2147 | // @@protoc_insertion_point(copy_constructor:brpc.HealthRequest) |
2148 | } |
2149 | |
2150 | void HealthRequest::SharedCtor() { |
2151 | } |
2152 | |
2153 | HealthRequest::~HealthRequest() { |
2154 | // @@protoc_insertion_point(destructor:brpc.HealthRequest) |
2155 | SharedDtor(); |
2156 | } |
2157 | |
2158 | void HealthRequest::SharedDtor() { |
2159 | } |
2160 | |
2161 | void HealthRequest::SetCachedSize(int size) const { |
2162 | _cached_size_.Set(size); |
2163 | } |
2164 | const HealthRequest& HealthRequest::default_instance() { |
2165 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_HealthRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
2166 | return *internal_default_instance(); |
2167 | } |
2168 | |
2169 | |
2170 | void HealthRequest::Clear() { |
2171 | // @@protoc_insertion_point(message_clear_start:brpc.HealthRequest) |
2172 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2173 | // Prevent compiler warnings about cached_has_bits being unused |
2174 | (void) cached_has_bits; |
2175 | |
2176 | _has_bits_.Clear(); |
2177 | _internal_metadata_.Clear(); |
2178 | } |
2179 | |
2180 | const char* HealthRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
2181 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2182 | while (!ctx->Done(&ptr)) { |
2183 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
2184 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
2185 | CHK_(ptr); |
2186 | if ((tag & 7) == 4 || tag == 0) { |
2187 | ctx->SetLastTag(tag); |
2188 | goto success; |
2189 | } |
2190 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
2191 | CHK_(ptr != nullptr); |
2192 | continue; |
2193 | } // while |
2194 | success: |
2195 | return ptr; |
2196 | failure: |
2197 | ptr = nullptr; |
2198 | goto success; |
2199 | #undef CHK_ |
2200 | } |
2201 | |
2202 | ::PROTOBUF_NAMESPACE_ID::uint8* HealthRequest::_InternalSerialize( |
2203 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2204 | // @@protoc_insertion_point(serialize_to_array_start:brpc.HealthRequest) |
2205 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2206 | (void) cached_has_bits; |
2207 | |
2208 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2209 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
2210 | _internal_metadata_.unknown_fields(), target, stream); |
2211 | } |
2212 | // @@protoc_insertion_point(serialize_to_array_end:brpc.HealthRequest) |
2213 | return target; |
2214 | } |
2215 | |
2216 | size_t HealthRequest::ByteSizeLong() const { |
2217 | // @@protoc_insertion_point(message_byte_size_start:brpc.HealthRequest) |
2218 | size_t total_size = 0; |
2219 | |
2220 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2221 | // Prevent compiler warnings about cached_has_bits being unused |
2222 | (void) cached_has_bits; |
2223 | |
2224 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2225 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
2226 | _internal_metadata_, total_size, &_cached_size_); |
2227 | } |
2228 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
2229 | SetCachedSize(cached_size); |
2230 | return total_size; |
2231 | } |
2232 | |
2233 | void HealthRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2234 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.HealthRequest) |
2235 | GOOGLE_DCHECK_NE(&from, this); |
2236 | const HealthRequest* source = |
2237 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<HealthRequest>( |
2238 | &from); |
2239 | if (source == nullptr) { |
2240 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.HealthRequest) |
2241 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
2242 | } else { |
2243 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.HealthRequest) |
2244 | MergeFrom(*source); |
2245 | } |
2246 | } |
2247 | |
2248 | void HealthRequest::MergeFrom(const HealthRequest& from) { |
2249 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.HealthRequest) |
2250 | GOOGLE_DCHECK_NE(&from, this); |
2251 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2252 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2253 | (void) cached_has_bits; |
2254 | |
2255 | } |
2256 | |
2257 | void HealthRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2258 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.HealthRequest) |
2259 | if (&from == this) return; |
2260 | Clear(); |
2261 | MergeFrom(from); |
2262 | } |
2263 | |
2264 | void HealthRequest::CopyFrom(const HealthRequest& from) { |
2265 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.HealthRequest) |
2266 | if (&from == this) return; |
2267 | Clear(); |
2268 | MergeFrom(from); |
2269 | } |
2270 | |
2271 | bool HealthRequest::IsInitialized() const { |
2272 | return true; |
2273 | } |
2274 | |
2275 | void HealthRequest::InternalSwap(HealthRequest* other) { |
2276 | using std::swap; |
2277 | _internal_metadata_.Swap(&other->_internal_metadata_); |
2278 | swap(_has_bits_[0], other->_has_bits_[0]); |
2279 | } |
2280 | |
2281 | ::PROTOBUF_NAMESPACE_ID::Metadata HealthRequest::GetMetadata() const { |
2282 | return GetMetadataStatic(); |
2283 | } |
2284 | |
2285 | |
2286 | // =================================================================== |
2287 | |
2288 | void HealthResponse::InitAsDefaultInstance() { |
2289 | } |
2290 | class HealthResponse::_Internal { |
2291 | public: |
2292 | using HasBits = decltype(std::declval<HealthResponse>()._has_bits_); |
2293 | }; |
2294 | |
2295 | HealthResponse::HealthResponse() |
2296 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
2297 | SharedCtor(); |
2298 | // @@protoc_insertion_point(constructor:brpc.HealthResponse) |
2299 | } |
2300 | HealthResponse::HealthResponse(const HealthResponse& from) |
2301 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
2302 | _internal_metadata_(nullptr), |
2303 | _has_bits_(from._has_bits_) { |
2304 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2305 | // @@protoc_insertion_point(copy_constructor:brpc.HealthResponse) |
2306 | } |
2307 | |
2308 | void HealthResponse::SharedCtor() { |
2309 | } |
2310 | |
2311 | HealthResponse::~HealthResponse() { |
2312 | // @@protoc_insertion_point(destructor:brpc.HealthResponse) |
2313 | SharedDtor(); |
2314 | } |
2315 | |
2316 | void HealthResponse::SharedDtor() { |
2317 | } |
2318 | |
2319 | void HealthResponse::SetCachedSize(int size) const { |
2320 | _cached_size_.Set(size); |
2321 | } |
2322 | const HealthResponse& HealthResponse::default_instance() { |
2323 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_HealthResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
2324 | return *internal_default_instance(); |
2325 | } |
2326 | |
2327 | |
2328 | void HealthResponse::Clear() { |
2329 | // @@protoc_insertion_point(message_clear_start:brpc.HealthResponse) |
2330 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2331 | // Prevent compiler warnings about cached_has_bits being unused |
2332 | (void) cached_has_bits; |
2333 | |
2334 | _has_bits_.Clear(); |
2335 | _internal_metadata_.Clear(); |
2336 | } |
2337 | |
2338 | const char* HealthResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
2339 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2340 | while (!ctx->Done(&ptr)) { |
2341 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
2342 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
2343 | CHK_(ptr); |
2344 | if ((tag & 7) == 4 || tag == 0) { |
2345 | ctx->SetLastTag(tag); |
2346 | goto success; |
2347 | } |
2348 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
2349 | CHK_(ptr != nullptr); |
2350 | continue; |
2351 | } // while |
2352 | success: |
2353 | return ptr; |
2354 | failure: |
2355 | ptr = nullptr; |
2356 | goto success; |
2357 | #undef CHK_ |
2358 | } |
2359 | |
2360 | ::PROTOBUF_NAMESPACE_ID::uint8* HealthResponse::_InternalSerialize( |
2361 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2362 | // @@protoc_insertion_point(serialize_to_array_start:brpc.HealthResponse) |
2363 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2364 | (void) cached_has_bits; |
2365 | |
2366 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2367 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
2368 | _internal_metadata_.unknown_fields(), target, stream); |
2369 | } |
2370 | // @@protoc_insertion_point(serialize_to_array_end:brpc.HealthResponse) |
2371 | return target; |
2372 | } |
2373 | |
2374 | size_t HealthResponse::ByteSizeLong() const { |
2375 | // @@protoc_insertion_point(message_byte_size_start:brpc.HealthResponse) |
2376 | size_t total_size = 0; |
2377 | |
2378 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2379 | // Prevent compiler warnings about cached_has_bits being unused |
2380 | (void) cached_has_bits; |
2381 | |
2382 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2383 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
2384 | _internal_metadata_, total_size, &_cached_size_); |
2385 | } |
2386 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
2387 | SetCachedSize(cached_size); |
2388 | return total_size; |
2389 | } |
2390 | |
2391 | void HealthResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2392 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.HealthResponse) |
2393 | GOOGLE_DCHECK_NE(&from, this); |
2394 | const HealthResponse* source = |
2395 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<HealthResponse>( |
2396 | &from); |
2397 | if (source == nullptr) { |
2398 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.HealthResponse) |
2399 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
2400 | } else { |
2401 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.HealthResponse) |
2402 | MergeFrom(*source); |
2403 | } |
2404 | } |
2405 | |
2406 | void HealthResponse::MergeFrom(const HealthResponse& from) { |
2407 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.HealthResponse) |
2408 | GOOGLE_DCHECK_NE(&from, this); |
2409 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2410 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2411 | (void) cached_has_bits; |
2412 | |
2413 | } |
2414 | |
2415 | void HealthResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2416 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.HealthResponse) |
2417 | if (&from == this) return; |
2418 | Clear(); |
2419 | MergeFrom(from); |
2420 | } |
2421 | |
2422 | void HealthResponse::CopyFrom(const HealthResponse& from) { |
2423 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.HealthResponse) |
2424 | if (&from == this) return; |
2425 | Clear(); |
2426 | MergeFrom(from); |
2427 | } |
2428 | |
2429 | bool HealthResponse::IsInitialized() const { |
2430 | return true; |
2431 | } |
2432 | |
2433 | void HealthResponse::InternalSwap(HealthResponse* other) { |
2434 | using std::swap; |
2435 | _internal_metadata_.Swap(&other->_internal_metadata_); |
2436 | swap(_has_bits_[0], other->_has_bits_[0]); |
2437 | } |
2438 | |
2439 | ::PROTOBUF_NAMESPACE_ID::Metadata HealthResponse::GetMetadata() const { |
2440 | return GetMetadataStatic(); |
2441 | } |
2442 | |
2443 | |
2444 | // =================================================================== |
2445 | |
2446 | void StatusRequest::InitAsDefaultInstance() { |
2447 | } |
2448 | class StatusRequest::_Internal { |
2449 | public: |
2450 | using HasBits = decltype(std::declval<StatusRequest>()._has_bits_); |
2451 | }; |
2452 | |
2453 | StatusRequest::StatusRequest() |
2454 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
2455 | SharedCtor(); |
2456 | // @@protoc_insertion_point(constructor:brpc.StatusRequest) |
2457 | } |
2458 | StatusRequest::StatusRequest(const StatusRequest& from) |
2459 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
2460 | _internal_metadata_(nullptr), |
2461 | _has_bits_(from._has_bits_) { |
2462 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2463 | // @@protoc_insertion_point(copy_constructor:brpc.StatusRequest) |
2464 | } |
2465 | |
2466 | void StatusRequest::SharedCtor() { |
2467 | } |
2468 | |
2469 | StatusRequest::~StatusRequest() { |
2470 | // @@protoc_insertion_point(destructor:brpc.StatusRequest) |
2471 | SharedDtor(); |
2472 | } |
2473 | |
2474 | void StatusRequest::SharedDtor() { |
2475 | } |
2476 | |
2477 | void StatusRequest::SetCachedSize(int size) const { |
2478 | _cached_size_.Set(size); |
2479 | } |
2480 | const StatusRequest& StatusRequest::default_instance() { |
2481 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_StatusRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
2482 | return *internal_default_instance(); |
2483 | } |
2484 | |
2485 | |
2486 | void StatusRequest::Clear() { |
2487 | // @@protoc_insertion_point(message_clear_start:brpc.StatusRequest) |
2488 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2489 | // Prevent compiler warnings about cached_has_bits being unused |
2490 | (void) cached_has_bits; |
2491 | |
2492 | _has_bits_.Clear(); |
2493 | _internal_metadata_.Clear(); |
2494 | } |
2495 | |
2496 | const char* StatusRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
2497 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2498 | while (!ctx->Done(&ptr)) { |
2499 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
2500 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
2501 | CHK_(ptr); |
2502 | if ((tag & 7) == 4 || tag == 0) { |
2503 | ctx->SetLastTag(tag); |
2504 | goto success; |
2505 | } |
2506 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
2507 | CHK_(ptr != nullptr); |
2508 | continue; |
2509 | } // while |
2510 | success: |
2511 | return ptr; |
2512 | failure: |
2513 | ptr = nullptr; |
2514 | goto success; |
2515 | #undef CHK_ |
2516 | } |
2517 | |
2518 | ::PROTOBUF_NAMESPACE_ID::uint8* StatusRequest::_InternalSerialize( |
2519 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2520 | // @@protoc_insertion_point(serialize_to_array_start:brpc.StatusRequest) |
2521 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2522 | (void) cached_has_bits; |
2523 | |
2524 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2525 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
2526 | _internal_metadata_.unknown_fields(), target, stream); |
2527 | } |
2528 | // @@protoc_insertion_point(serialize_to_array_end:brpc.StatusRequest) |
2529 | return target; |
2530 | } |
2531 | |
2532 | size_t StatusRequest::ByteSizeLong() const { |
2533 | // @@protoc_insertion_point(message_byte_size_start:brpc.StatusRequest) |
2534 | size_t total_size = 0; |
2535 | |
2536 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2537 | // Prevent compiler warnings about cached_has_bits being unused |
2538 | (void) cached_has_bits; |
2539 | |
2540 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2541 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
2542 | _internal_metadata_, total_size, &_cached_size_); |
2543 | } |
2544 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
2545 | SetCachedSize(cached_size); |
2546 | return total_size; |
2547 | } |
2548 | |
2549 | void StatusRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2550 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.StatusRequest) |
2551 | GOOGLE_DCHECK_NE(&from, this); |
2552 | const StatusRequest* source = |
2553 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<StatusRequest>( |
2554 | &from); |
2555 | if (source == nullptr) { |
2556 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.StatusRequest) |
2557 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
2558 | } else { |
2559 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.StatusRequest) |
2560 | MergeFrom(*source); |
2561 | } |
2562 | } |
2563 | |
2564 | void StatusRequest::MergeFrom(const StatusRequest& from) { |
2565 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.StatusRequest) |
2566 | GOOGLE_DCHECK_NE(&from, this); |
2567 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2568 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2569 | (void) cached_has_bits; |
2570 | |
2571 | } |
2572 | |
2573 | void StatusRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2574 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.StatusRequest) |
2575 | if (&from == this) return; |
2576 | Clear(); |
2577 | MergeFrom(from); |
2578 | } |
2579 | |
2580 | void StatusRequest::CopyFrom(const StatusRequest& from) { |
2581 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.StatusRequest) |
2582 | if (&from == this) return; |
2583 | Clear(); |
2584 | MergeFrom(from); |
2585 | } |
2586 | |
2587 | bool StatusRequest::IsInitialized() const { |
2588 | return true; |
2589 | } |
2590 | |
2591 | void StatusRequest::InternalSwap(StatusRequest* other) { |
2592 | using std::swap; |
2593 | _internal_metadata_.Swap(&other->_internal_metadata_); |
2594 | swap(_has_bits_[0], other->_has_bits_[0]); |
2595 | } |
2596 | |
2597 | ::PROTOBUF_NAMESPACE_ID::Metadata StatusRequest::GetMetadata() const { |
2598 | return GetMetadataStatic(); |
2599 | } |
2600 | |
2601 | |
2602 | // =================================================================== |
2603 | |
2604 | void StatusResponse::InitAsDefaultInstance() { |
2605 | } |
2606 | class StatusResponse::_Internal { |
2607 | public: |
2608 | using HasBits = decltype(std::declval<StatusResponse>()._has_bits_); |
2609 | }; |
2610 | |
2611 | StatusResponse::StatusResponse() |
2612 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
2613 | SharedCtor(); |
2614 | // @@protoc_insertion_point(constructor:brpc.StatusResponse) |
2615 | } |
2616 | StatusResponse::StatusResponse(const StatusResponse& from) |
2617 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
2618 | _internal_metadata_(nullptr), |
2619 | _has_bits_(from._has_bits_) { |
2620 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2621 | // @@protoc_insertion_point(copy_constructor:brpc.StatusResponse) |
2622 | } |
2623 | |
2624 | void StatusResponse::SharedCtor() { |
2625 | } |
2626 | |
2627 | StatusResponse::~StatusResponse() { |
2628 | // @@protoc_insertion_point(destructor:brpc.StatusResponse) |
2629 | SharedDtor(); |
2630 | } |
2631 | |
2632 | void StatusResponse::SharedDtor() { |
2633 | } |
2634 | |
2635 | void StatusResponse::SetCachedSize(int size) const { |
2636 | _cached_size_.Set(size); |
2637 | } |
2638 | const StatusResponse& StatusResponse::default_instance() { |
2639 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_StatusResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
2640 | return *internal_default_instance(); |
2641 | } |
2642 | |
2643 | |
2644 | void StatusResponse::Clear() { |
2645 | // @@protoc_insertion_point(message_clear_start:brpc.StatusResponse) |
2646 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2647 | // Prevent compiler warnings about cached_has_bits being unused |
2648 | (void) cached_has_bits; |
2649 | |
2650 | _has_bits_.Clear(); |
2651 | _internal_metadata_.Clear(); |
2652 | } |
2653 | |
2654 | const char* StatusResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
2655 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2656 | while (!ctx->Done(&ptr)) { |
2657 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
2658 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
2659 | CHK_(ptr); |
2660 | if ((tag & 7) == 4 || tag == 0) { |
2661 | ctx->SetLastTag(tag); |
2662 | goto success; |
2663 | } |
2664 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
2665 | CHK_(ptr != nullptr); |
2666 | continue; |
2667 | } // while |
2668 | success: |
2669 | return ptr; |
2670 | failure: |
2671 | ptr = nullptr; |
2672 | goto success; |
2673 | #undef CHK_ |
2674 | } |
2675 | |
2676 | ::PROTOBUF_NAMESPACE_ID::uint8* StatusResponse::_InternalSerialize( |
2677 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2678 | // @@protoc_insertion_point(serialize_to_array_start:brpc.StatusResponse) |
2679 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2680 | (void) cached_has_bits; |
2681 | |
2682 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2683 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
2684 | _internal_metadata_.unknown_fields(), target, stream); |
2685 | } |
2686 | // @@protoc_insertion_point(serialize_to_array_end:brpc.StatusResponse) |
2687 | return target; |
2688 | } |
2689 | |
2690 | size_t StatusResponse::ByteSizeLong() const { |
2691 | // @@protoc_insertion_point(message_byte_size_start:brpc.StatusResponse) |
2692 | size_t total_size = 0; |
2693 | |
2694 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2695 | // Prevent compiler warnings about cached_has_bits being unused |
2696 | (void) cached_has_bits; |
2697 | |
2698 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2699 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
2700 | _internal_metadata_, total_size, &_cached_size_); |
2701 | } |
2702 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
2703 | SetCachedSize(cached_size); |
2704 | return total_size; |
2705 | } |
2706 | |
2707 | void StatusResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2708 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.StatusResponse) |
2709 | GOOGLE_DCHECK_NE(&from, this); |
2710 | const StatusResponse* source = |
2711 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<StatusResponse>( |
2712 | &from); |
2713 | if (source == nullptr) { |
2714 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.StatusResponse) |
2715 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
2716 | } else { |
2717 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.StatusResponse) |
2718 | MergeFrom(*source); |
2719 | } |
2720 | } |
2721 | |
2722 | void StatusResponse::MergeFrom(const StatusResponse& from) { |
2723 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.StatusResponse) |
2724 | GOOGLE_DCHECK_NE(&from, this); |
2725 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2726 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2727 | (void) cached_has_bits; |
2728 | |
2729 | } |
2730 | |
2731 | void StatusResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2732 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.StatusResponse) |
2733 | if (&from == this) return; |
2734 | Clear(); |
2735 | MergeFrom(from); |
2736 | } |
2737 | |
2738 | void StatusResponse::CopyFrom(const StatusResponse& from) { |
2739 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.StatusResponse) |
2740 | if (&from == this) return; |
2741 | Clear(); |
2742 | MergeFrom(from); |
2743 | } |
2744 | |
2745 | bool StatusResponse::IsInitialized() const { |
2746 | return true; |
2747 | } |
2748 | |
2749 | void StatusResponse::InternalSwap(StatusResponse* other) { |
2750 | using std::swap; |
2751 | _internal_metadata_.Swap(&other->_internal_metadata_); |
2752 | swap(_has_bits_[0], other->_has_bits_[0]); |
2753 | } |
2754 | |
2755 | ::PROTOBUF_NAMESPACE_ID::Metadata StatusResponse::GetMetadata() const { |
2756 | return GetMetadataStatic(); |
2757 | } |
2758 | |
2759 | |
2760 | // =================================================================== |
2761 | |
2762 | void ProtobufsRequest::InitAsDefaultInstance() { |
2763 | } |
2764 | class ProtobufsRequest::_Internal { |
2765 | public: |
2766 | using HasBits = decltype(std::declval<ProtobufsRequest>()._has_bits_); |
2767 | }; |
2768 | |
2769 | ProtobufsRequest::ProtobufsRequest() |
2770 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
2771 | SharedCtor(); |
2772 | // @@protoc_insertion_point(constructor:brpc.ProtobufsRequest) |
2773 | } |
2774 | ProtobufsRequest::ProtobufsRequest(const ProtobufsRequest& from) |
2775 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
2776 | _internal_metadata_(nullptr), |
2777 | _has_bits_(from._has_bits_) { |
2778 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2779 | // @@protoc_insertion_point(copy_constructor:brpc.ProtobufsRequest) |
2780 | } |
2781 | |
2782 | void ProtobufsRequest::SharedCtor() { |
2783 | } |
2784 | |
2785 | ProtobufsRequest::~ProtobufsRequest() { |
2786 | // @@protoc_insertion_point(destructor:brpc.ProtobufsRequest) |
2787 | SharedDtor(); |
2788 | } |
2789 | |
2790 | void ProtobufsRequest::SharedDtor() { |
2791 | } |
2792 | |
2793 | void ProtobufsRequest::SetCachedSize(int size) const { |
2794 | _cached_size_.Set(size); |
2795 | } |
2796 | const ProtobufsRequest& ProtobufsRequest::default_instance() { |
2797 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ProtobufsRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
2798 | return *internal_default_instance(); |
2799 | } |
2800 | |
2801 | |
2802 | void ProtobufsRequest::Clear() { |
2803 | // @@protoc_insertion_point(message_clear_start:brpc.ProtobufsRequest) |
2804 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2805 | // Prevent compiler warnings about cached_has_bits being unused |
2806 | (void) cached_has_bits; |
2807 | |
2808 | _has_bits_.Clear(); |
2809 | _internal_metadata_.Clear(); |
2810 | } |
2811 | |
2812 | const char* ProtobufsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
2813 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2814 | while (!ctx->Done(&ptr)) { |
2815 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
2816 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
2817 | CHK_(ptr); |
2818 | if ((tag & 7) == 4 || tag == 0) { |
2819 | ctx->SetLastTag(tag); |
2820 | goto success; |
2821 | } |
2822 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
2823 | CHK_(ptr != nullptr); |
2824 | continue; |
2825 | } // while |
2826 | success: |
2827 | return ptr; |
2828 | failure: |
2829 | ptr = nullptr; |
2830 | goto success; |
2831 | #undef CHK_ |
2832 | } |
2833 | |
2834 | ::PROTOBUF_NAMESPACE_ID::uint8* ProtobufsRequest::_InternalSerialize( |
2835 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2836 | // @@protoc_insertion_point(serialize_to_array_start:brpc.ProtobufsRequest) |
2837 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2838 | (void) cached_has_bits; |
2839 | |
2840 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2841 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
2842 | _internal_metadata_.unknown_fields(), target, stream); |
2843 | } |
2844 | // @@protoc_insertion_point(serialize_to_array_end:brpc.ProtobufsRequest) |
2845 | return target; |
2846 | } |
2847 | |
2848 | size_t ProtobufsRequest::ByteSizeLong() const { |
2849 | // @@protoc_insertion_point(message_byte_size_start:brpc.ProtobufsRequest) |
2850 | size_t total_size = 0; |
2851 | |
2852 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2853 | // Prevent compiler warnings about cached_has_bits being unused |
2854 | (void) cached_has_bits; |
2855 | |
2856 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2857 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
2858 | _internal_metadata_, total_size, &_cached_size_); |
2859 | } |
2860 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
2861 | SetCachedSize(cached_size); |
2862 | return total_size; |
2863 | } |
2864 | |
2865 | void ProtobufsRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2866 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.ProtobufsRequest) |
2867 | GOOGLE_DCHECK_NE(&from, this); |
2868 | const ProtobufsRequest* source = |
2869 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ProtobufsRequest>( |
2870 | &from); |
2871 | if (source == nullptr) { |
2872 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.ProtobufsRequest) |
2873 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
2874 | } else { |
2875 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.ProtobufsRequest) |
2876 | MergeFrom(*source); |
2877 | } |
2878 | } |
2879 | |
2880 | void ProtobufsRequest::MergeFrom(const ProtobufsRequest& from) { |
2881 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.ProtobufsRequest) |
2882 | GOOGLE_DCHECK_NE(&from, this); |
2883 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2884 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2885 | (void) cached_has_bits; |
2886 | |
2887 | } |
2888 | |
2889 | void ProtobufsRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
2890 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.ProtobufsRequest) |
2891 | if (&from == this) return; |
2892 | Clear(); |
2893 | MergeFrom(from); |
2894 | } |
2895 | |
2896 | void ProtobufsRequest::CopyFrom(const ProtobufsRequest& from) { |
2897 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.ProtobufsRequest) |
2898 | if (&from == this) return; |
2899 | Clear(); |
2900 | MergeFrom(from); |
2901 | } |
2902 | |
2903 | bool ProtobufsRequest::IsInitialized() const { |
2904 | return true; |
2905 | } |
2906 | |
2907 | void ProtobufsRequest::InternalSwap(ProtobufsRequest* other) { |
2908 | using std::swap; |
2909 | _internal_metadata_.Swap(&other->_internal_metadata_); |
2910 | swap(_has_bits_[0], other->_has_bits_[0]); |
2911 | } |
2912 | |
2913 | ::PROTOBUF_NAMESPACE_ID::Metadata ProtobufsRequest::GetMetadata() const { |
2914 | return GetMetadataStatic(); |
2915 | } |
2916 | |
2917 | |
2918 | // =================================================================== |
2919 | |
2920 | void ProtobufsResponse::InitAsDefaultInstance() { |
2921 | } |
2922 | class ProtobufsResponse::_Internal { |
2923 | public: |
2924 | using HasBits = decltype(std::declval<ProtobufsResponse>()._has_bits_); |
2925 | }; |
2926 | |
2927 | ProtobufsResponse::ProtobufsResponse() |
2928 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
2929 | SharedCtor(); |
2930 | // @@protoc_insertion_point(constructor:brpc.ProtobufsResponse) |
2931 | } |
2932 | ProtobufsResponse::ProtobufsResponse(const ProtobufsResponse& from) |
2933 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
2934 | _internal_metadata_(nullptr), |
2935 | _has_bits_(from._has_bits_) { |
2936 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2937 | // @@protoc_insertion_point(copy_constructor:brpc.ProtobufsResponse) |
2938 | } |
2939 | |
2940 | void ProtobufsResponse::SharedCtor() { |
2941 | } |
2942 | |
2943 | ProtobufsResponse::~ProtobufsResponse() { |
2944 | // @@protoc_insertion_point(destructor:brpc.ProtobufsResponse) |
2945 | SharedDtor(); |
2946 | } |
2947 | |
2948 | void ProtobufsResponse::SharedDtor() { |
2949 | } |
2950 | |
2951 | void ProtobufsResponse::SetCachedSize(int size) const { |
2952 | _cached_size_.Set(size); |
2953 | } |
2954 | const ProtobufsResponse& ProtobufsResponse::default_instance() { |
2955 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ProtobufsResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
2956 | return *internal_default_instance(); |
2957 | } |
2958 | |
2959 | |
2960 | void ProtobufsResponse::Clear() { |
2961 | // @@protoc_insertion_point(message_clear_start:brpc.ProtobufsResponse) |
2962 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2963 | // Prevent compiler warnings about cached_has_bits being unused |
2964 | (void) cached_has_bits; |
2965 | |
2966 | _has_bits_.Clear(); |
2967 | _internal_metadata_.Clear(); |
2968 | } |
2969 | |
2970 | const char* ProtobufsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
2971 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
2972 | while (!ctx->Done(&ptr)) { |
2973 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
2974 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
2975 | CHK_(ptr); |
2976 | if ((tag & 7) == 4 || tag == 0) { |
2977 | ctx->SetLastTag(tag); |
2978 | goto success; |
2979 | } |
2980 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
2981 | CHK_(ptr != nullptr); |
2982 | continue; |
2983 | } // while |
2984 | success: |
2985 | return ptr; |
2986 | failure: |
2987 | ptr = nullptr; |
2988 | goto success; |
2989 | #undef CHK_ |
2990 | } |
2991 | |
2992 | ::PROTOBUF_NAMESPACE_ID::uint8* ProtobufsResponse::_InternalSerialize( |
2993 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
2994 | // @@protoc_insertion_point(serialize_to_array_start:brpc.ProtobufsResponse) |
2995 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
2996 | (void) cached_has_bits; |
2997 | |
2998 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
2999 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
3000 | _internal_metadata_.unknown_fields(), target, stream); |
3001 | } |
3002 | // @@protoc_insertion_point(serialize_to_array_end:brpc.ProtobufsResponse) |
3003 | return target; |
3004 | } |
3005 | |
3006 | size_t ProtobufsResponse::ByteSizeLong() const { |
3007 | // @@protoc_insertion_point(message_byte_size_start:brpc.ProtobufsResponse) |
3008 | size_t total_size = 0; |
3009 | |
3010 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3011 | // Prevent compiler warnings about cached_has_bits being unused |
3012 | (void) cached_has_bits; |
3013 | |
3014 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3015 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
3016 | _internal_metadata_, total_size, &_cached_size_); |
3017 | } |
3018 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
3019 | SetCachedSize(cached_size); |
3020 | return total_size; |
3021 | } |
3022 | |
3023 | void ProtobufsResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
3024 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.ProtobufsResponse) |
3025 | GOOGLE_DCHECK_NE(&from, this); |
3026 | const ProtobufsResponse* source = |
3027 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ProtobufsResponse>( |
3028 | &from); |
3029 | if (source == nullptr) { |
3030 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.ProtobufsResponse) |
3031 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
3032 | } else { |
3033 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.ProtobufsResponse) |
3034 | MergeFrom(*source); |
3035 | } |
3036 | } |
3037 | |
3038 | void ProtobufsResponse::MergeFrom(const ProtobufsResponse& from) { |
3039 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.ProtobufsResponse) |
3040 | GOOGLE_DCHECK_NE(&from, this); |
3041 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
3042 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3043 | (void) cached_has_bits; |
3044 | |
3045 | } |
3046 | |
3047 | void ProtobufsResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
3048 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.ProtobufsResponse) |
3049 | if (&from == this) return; |
3050 | Clear(); |
3051 | MergeFrom(from); |
3052 | } |
3053 | |
3054 | void ProtobufsResponse::CopyFrom(const ProtobufsResponse& from) { |
3055 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.ProtobufsResponse) |
3056 | if (&from == this) return; |
3057 | Clear(); |
3058 | MergeFrom(from); |
3059 | } |
3060 | |
3061 | bool ProtobufsResponse::IsInitialized() const { |
3062 | return true; |
3063 | } |
3064 | |
3065 | void ProtobufsResponse::InternalSwap(ProtobufsResponse* other) { |
3066 | using std::swap; |
3067 | _internal_metadata_.Swap(&other->_internal_metadata_); |
3068 | swap(_has_bits_[0], other->_has_bits_[0]); |
3069 | } |
3070 | |
3071 | ::PROTOBUF_NAMESPACE_ID::Metadata ProtobufsResponse::GetMetadata() const { |
3072 | return GetMetadataStatic(); |
3073 | } |
3074 | |
3075 | |
3076 | // =================================================================== |
3077 | |
3078 | void ConnectionsRequest::InitAsDefaultInstance() { |
3079 | } |
3080 | class ConnectionsRequest::_Internal { |
3081 | public: |
3082 | using HasBits = decltype(std::declval<ConnectionsRequest>()._has_bits_); |
3083 | }; |
3084 | |
3085 | ConnectionsRequest::ConnectionsRequest() |
3086 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
3087 | SharedCtor(); |
3088 | // @@protoc_insertion_point(constructor:brpc.ConnectionsRequest) |
3089 | } |
3090 | ConnectionsRequest::ConnectionsRequest(const ConnectionsRequest& from) |
3091 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
3092 | _internal_metadata_(nullptr), |
3093 | _has_bits_(from._has_bits_) { |
3094 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
3095 | // @@protoc_insertion_point(copy_constructor:brpc.ConnectionsRequest) |
3096 | } |
3097 | |
3098 | void ConnectionsRequest::SharedCtor() { |
3099 | } |
3100 | |
3101 | ConnectionsRequest::~ConnectionsRequest() { |
3102 | // @@protoc_insertion_point(destructor:brpc.ConnectionsRequest) |
3103 | SharedDtor(); |
3104 | } |
3105 | |
3106 | void ConnectionsRequest::SharedDtor() { |
3107 | } |
3108 | |
3109 | void ConnectionsRequest::SetCachedSize(int size) const { |
3110 | _cached_size_.Set(size); |
3111 | } |
3112 | const ConnectionsRequest& ConnectionsRequest::default_instance() { |
3113 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ConnectionsRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
3114 | return *internal_default_instance(); |
3115 | } |
3116 | |
3117 | |
3118 | void ConnectionsRequest::Clear() { |
3119 | // @@protoc_insertion_point(message_clear_start:brpc.ConnectionsRequest) |
3120 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3121 | // Prevent compiler warnings about cached_has_bits being unused |
3122 | (void) cached_has_bits; |
3123 | |
3124 | _has_bits_.Clear(); |
3125 | _internal_metadata_.Clear(); |
3126 | } |
3127 | |
3128 | const char* ConnectionsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
3129 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
3130 | while (!ctx->Done(&ptr)) { |
3131 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
3132 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
3133 | CHK_(ptr); |
3134 | if ((tag & 7) == 4 || tag == 0) { |
3135 | ctx->SetLastTag(tag); |
3136 | goto success; |
3137 | } |
3138 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
3139 | CHK_(ptr != nullptr); |
3140 | continue; |
3141 | } // while |
3142 | success: |
3143 | return ptr; |
3144 | failure: |
3145 | ptr = nullptr; |
3146 | goto success; |
3147 | #undef CHK_ |
3148 | } |
3149 | |
3150 | ::PROTOBUF_NAMESPACE_ID::uint8* ConnectionsRequest::_InternalSerialize( |
3151 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
3152 | // @@protoc_insertion_point(serialize_to_array_start:brpc.ConnectionsRequest) |
3153 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3154 | (void) cached_has_bits; |
3155 | |
3156 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3157 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
3158 | _internal_metadata_.unknown_fields(), target, stream); |
3159 | } |
3160 | // @@protoc_insertion_point(serialize_to_array_end:brpc.ConnectionsRequest) |
3161 | return target; |
3162 | } |
3163 | |
3164 | size_t ConnectionsRequest::ByteSizeLong() const { |
3165 | // @@protoc_insertion_point(message_byte_size_start:brpc.ConnectionsRequest) |
3166 | size_t total_size = 0; |
3167 | |
3168 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3169 | // Prevent compiler warnings about cached_has_bits being unused |
3170 | (void) cached_has_bits; |
3171 | |
3172 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3173 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
3174 | _internal_metadata_, total_size, &_cached_size_); |
3175 | } |
3176 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
3177 | SetCachedSize(cached_size); |
3178 | return total_size; |
3179 | } |
3180 | |
3181 | void ConnectionsRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
3182 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.ConnectionsRequest) |
3183 | GOOGLE_DCHECK_NE(&from, this); |
3184 | const ConnectionsRequest* source = |
3185 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ConnectionsRequest>( |
3186 | &from); |
3187 | if (source == nullptr) { |
3188 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.ConnectionsRequest) |
3189 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
3190 | } else { |
3191 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.ConnectionsRequest) |
3192 | MergeFrom(*source); |
3193 | } |
3194 | } |
3195 | |
3196 | void ConnectionsRequest::MergeFrom(const ConnectionsRequest& from) { |
3197 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.ConnectionsRequest) |
3198 | GOOGLE_DCHECK_NE(&from, this); |
3199 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
3200 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3201 | (void) cached_has_bits; |
3202 | |
3203 | } |
3204 | |
3205 | void ConnectionsRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
3206 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.ConnectionsRequest) |
3207 | if (&from == this) return; |
3208 | Clear(); |
3209 | MergeFrom(from); |
3210 | } |
3211 | |
3212 | void ConnectionsRequest::CopyFrom(const ConnectionsRequest& from) { |
3213 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.ConnectionsRequest) |
3214 | if (&from == this) return; |
3215 | Clear(); |
3216 | MergeFrom(from); |
3217 | } |
3218 | |
3219 | bool ConnectionsRequest::IsInitialized() const { |
3220 | return true; |
3221 | } |
3222 | |
3223 | void ConnectionsRequest::InternalSwap(ConnectionsRequest* other) { |
3224 | using std::swap; |
3225 | _internal_metadata_.Swap(&other->_internal_metadata_); |
3226 | swap(_has_bits_[0], other->_has_bits_[0]); |
3227 | } |
3228 | |
3229 | ::PROTOBUF_NAMESPACE_ID::Metadata ConnectionsRequest::GetMetadata() const { |
3230 | return GetMetadataStatic(); |
3231 | } |
3232 | |
3233 | |
3234 | // =================================================================== |
3235 | |
3236 | void ConnectionsResponse::InitAsDefaultInstance() { |
3237 | } |
3238 | class ConnectionsResponse::_Internal { |
3239 | public: |
3240 | using HasBits = decltype(std::declval<ConnectionsResponse>()._has_bits_); |
3241 | }; |
3242 | |
3243 | ConnectionsResponse::ConnectionsResponse() |
3244 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
3245 | SharedCtor(); |
3246 | // @@protoc_insertion_point(constructor:brpc.ConnectionsResponse) |
3247 | } |
3248 | ConnectionsResponse::ConnectionsResponse(const ConnectionsResponse& from) |
3249 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
3250 | _internal_metadata_(nullptr), |
3251 | _has_bits_(from._has_bits_) { |
3252 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
3253 | // @@protoc_insertion_point(copy_constructor:brpc.ConnectionsResponse) |
3254 | } |
3255 | |
3256 | void ConnectionsResponse::SharedCtor() { |
3257 | } |
3258 | |
3259 | ConnectionsResponse::~ConnectionsResponse() { |
3260 | // @@protoc_insertion_point(destructor:brpc.ConnectionsResponse) |
3261 | SharedDtor(); |
3262 | } |
3263 | |
3264 | void ConnectionsResponse::SharedDtor() { |
3265 | } |
3266 | |
3267 | void ConnectionsResponse::SetCachedSize(int size) const { |
3268 | _cached_size_.Set(size); |
3269 | } |
3270 | const ConnectionsResponse& ConnectionsResponse::default_instance() { |
3271 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ConnectionsResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
3272 | return *internal_default_instance(); |
3273 | } |
3274 | |
3275 | |
3276 | void ConnectionsResponse::Clear() { |
3277 | // @@protoc_insertion_point(message_clear_start:brpc.ConnectionsResponse) |
3278 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3279 | // Prevent compiler warnings about cached_has_bits being unused |
3280 | (void) cached_has_bits; |
3281 | |
3282 | _has_bits_.Clear(); |
3283 | _internal_metadata_.Clear(); |
3284 | } |
3285 | |
3286 | const char* ConnectionsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
3287 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
3288 | while (!ctx->Done(&ptr)) { |
3289 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
3290 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
3291 | CHK_(ptr); |
3292 | if ((tag & 7) == 4 || tag == 0) { |
3293 | ctx->SetLastTag(tag); |
3294 | goto success; |
3295 | } |
3296 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
3297 | CHK_(ptr != nullptr); |
3298 | continue; |
3299 | } // while |
3300 | success: |
3301 | return ptr; |
3302 | failure: |
3303 | ptr = nullptr; |
3304 | goto success; |
3305 | #undef CHK_ |
3306 | } |
3307 | |
3308 | ::PROTOBUF_NAMESPACE_ID::uint8* ConnectionsResponse::_InternalSerialize( |
3309 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
3310 | // @@protoc_insertion_point(serialize_to_array_start:brpc.ConnectionsResponse) |
3311 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3312 | (void) cached_has_bits; |
3313 | |
3314 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3315 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
3316 | _internal_metadata_.unknown_fields(), target, stream); |
3317 | } |
3318 | // @@protoc_insertion_point(serialize_to_array_end:brpc.ConnectionsResponse) |
3319 | return target; |
3320 | } |
3321 | |
3322 | size_t ConnectionsResponse::ByteSizeLong() const { |
3323 | // @@protoc_insertion_point(message_byte_size_start:brpc.ConnectionsResponse) |
3324 | size_t total_size = 0; |
3325 | |
3326 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3327 | // Prevent compiler warnings about cached_has_bits being unused |
3328 | (void) cached_has_bits; |
3329 | |
3330 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3331 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
3332 | _internal_metadata_, total_size, &_cached_size_); |
3333 | } |
3334 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
3335 | SetCachedSize(cached_size); |
3336 | return total_size; |
3337 | } |
3338 | |
3339 | void ConnectionsResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
3340 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.ConnectionsResponse) |
3341 | GOOGLE_DCHECK_NE(&from, this); |
3342 | const ConnectionsResponse* source = |
3343 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ConnectionsResponse>( |
3344 | &from); |
3345 | if (source == nullptr) { |
3346 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.ConnectionsResponse) |
3347 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
3348 | } else { |
3349 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.ConnectionsResponse) |
3350 | MergeFrom(*source); |
3351 | } |
3352 | } |
3353 | |
3354 | void ConnectionsResponse::MergeFrom(const ConnectionsResponse& from) { |
3355 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.ConnectionsResponse) |
3356 | GOOGLE_DCHECK_NE(&from, this); |
3357 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
3358 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3359 | (void) cached_has_bits; |
3360 | |
3361 | } |
3362 | |
3363 | void ConnectionsResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
3364 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.ConnectionsResponse) |
3365 | if (&from == this) return; |
3366 | Clear(); |
3367 | MergeFrom(from); |
3368 | } |
3369 | |
3370 | void ConnectionsResponse::CopyFrom(const ConnectionsResponse& from) { |
3371 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.ConnectionsResponse) |
3372 | if (&from == this) return; |
3373 | Clear(); |
3374 | MergeFrom(from); |
3375 | } |
3376 | |
3377 | bool ConnectionsResponse::IsInitialized() const { |
3378 | return true; |
3379 | } |
3380 | |
3381 | void ConnectionsResponse::InternalSwap(ConnectionsResponse* other) { |
3382 | using std::swap; |
3383 | _internal_metadata_.Swap(&other->_internal_metadata_); |
3384 | swap(_has_bits_[0], other->_has_bits_[0]); |
3385 | } |
3386 | |
3387 | ::PROTOBUF_NAMESPACE_ID::Metadata ConnectionsResponse::GetMetadata() const { |
3388 | return GetMetadataStatic(); |
3389 | } |
3390 | |
3391 | |
3392 | // =================================================================== |
3393 | |
3394 | void ListRequest::InitAsDefaultInstance() { |
3395 | } |
3396 | class ListRequest::_Internal { |
3397 | public: |
3398 | using HasBits = decltype(std::declval<ListRequest>()._has_bits_); |
3399 | }; |
3400 | |
3401 | ListRequest::ListRequest() |
3402 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
3403 | SharedCtor(); |
3404 | // @@protoc_insertion_point(constructor:brpc.ListRequest) |
3405 | } |
3406 | ListRequest::ListRequest(const ListRequest& from) |
3407 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
3408 | _internal_metadata_(nullptr), |
3409 | _has_bits_(from._has_bits_) { |
3410 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
3411 | // @@protoc_insertion_point(copy_constructor:brpc.ListRequest) |
3412 | } |
3413 | |
3414 | void ListRequest::SharedCtor() { |
3415 | } |
3416 | |
3417 | ListRequest::~ListRequest() { |
3418 | // @@protoc_insertion_point(destructor:brpc.ListRequest) |
3419 | SharedDtor(); |
3420 | } |
3421 | |
3422 | void ListRequest::SharedDtor() { |
3423 | } |
3424 | |
3425 | void ListRequest::SetCachedSize(int size) const { |
3426 | _cached_size_.Set(size); |
3427 | } |
3428 | const ListRequest& ListRequest::default_instance() { |
3429 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ListRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
3430 | return *internal_default_instance(); |
3431 | } |
3432 | |
3433 | |
3434 | void ListRequest::Clear() { |
3435 | // @@protoc_insertion_point(message_clear_start:brpc.ListRequest) |
3436 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3437 | // Prevent compiler warnings about cached_has_bits being unused |
3438 | (void) cached_has_bits; |
3439 | |
3440 | _has_bits_.Clear(); |
3441 | _internal_metadata_.Clear(); |
3442 | } |
3443 | |
3444 | const char* ListRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
3445 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
3446 | while (!ctx->Done(&ptr)) { |
3447 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
3448 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
3449 | CHK_(ptr); |
3450 | if ((tag & 7) == 4 || tag == 0) { |
3451 | ctx->SetLastTag(tag); |
3452 | goto success; |
3453 | } |
3454 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
3455 | CHK_(ptr != nullptr); |
3456 | continue; |
3457 | } // while |
3458 | success: |
3459 | return ptr; |
3460 | failure: |
3461 | ptr = nullptr; |
3462 | goto success; |
3463 | #undef CHK_ |
3464 | } |
3465 | |
3466 | ::PROTOBUF_NAMESPACE_ID::uint8* ListRequest::_InternalSerialize( |
3467 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
3468 | // @@protoc_insertion_point(serialize_to_array_start:brpc.ListRequest) |
3469 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3470 | (void) cached_has_bits; |
3471 | |
3472 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3473 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
3474 | _internal_metadata_.unknown_fields(), target, stream); |
3475 | } |
3476 | // @@protoc_insertion_point(serialize_to_array_end:brpc.ListRequest) |
3477 | return target; |
3478 | } |
3479 | |
3480 | size_t ListRequest::ByteSizeLong() const { |
3481 | // @@protoc_insertion_point(message_byte_size_start:brpc.ListRequest) |
3482 | size_t total_size = 0; |
3483 | |
3484 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3485 | // Prevent compiler warnings about cached_has_bits being unused |
3486 | (void) cached_has_bits; |
3487 | |
3488 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3489 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
3490 | _internal_metadata_, total_size, &_cached_size_); |
3491 | } |
3492 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
3493 | SetCachedSize(cached_size); |
3494 | return total_size; |
3495 | } |
3496 | |
3497 | void ListRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
3498 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.ListRequest) |
3499 | GOOGLE_DCHECK_NE(&from, this); |
3500 | const ListRequest* source = |
3501 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ListRequest>( |
3502 | &from); |
3503 | if (source == nullptr) { |
3504 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.ListRequest) |
3505 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
3506 | } else { |
3507 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.ListRequest) |
3508 | MergeFrom(*source); |
3509 | } |
3510 | } |
3511 | |
3512 | void ListRequest::MergeFrom(const ListRequest& from) { |
3513 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.ListRequest) |
3514 | GOOGLE_DCHECK_NE(&from, this); |
3515 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
3516 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3517 | (void) cached_has_bits; |
3518 | |
3519 | } |
3520 | |
3521 | void ListRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
3522 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.ListRequest) |
3523 | if (&from == this) return; |
3524 | Clear(); |
3525 | MergeFrom(from); |
3526 | } |
3527 | |
3528 | void ListRequest::CopyFrom(const ListRequest& from) { |
3529 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.ListRequest) |
3530 | if (&from == this) return; |
3531 | Clear(); |
3532 | MergeFrom(from); |
3533 | } |
3534 | |
3535 | bool ListRequest::IsInitialized() const { |
3536 | return true; |
3537 | } |
3538 | |
3539 | void ListRequest::InternalSwap(ListRequest* other) { |
3540 | using std::swap; |
3541 | _internal_metadata_.Swap(&other->_internal_metadata_); |
3542 | swap(_has_bits_[0], other->_has_bits_[0]); |
3543 | } |
3544 | |
3545 | ::PROTOBUF_NAMESPACE_ID::Metadata ListRequest::GetMetadata() const { |
3546 | return GetMetadataStatic(); |
3547 | } |
3548 | |
3549 | |
3550 | // =================================================================== |
3551 | |
3552 | void ListResponse::InitAsDefaultInstance() { |
3553 | } |
3554 | class ListResponse::_Internal { |
3555 | public: |
3556 | using HasBits = decltype(std::declval<ListResponse>()._has_bits_); |
3557 | }; |
3558 | |
3559 | void ListResponse::clear_service() { |
3560 | service_.Clear(); |
3561 | } |
3562 | ListResponse::ListResponse() |
3563 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
3564 | SharedCtor(); |
3565 | // @@protoc_insertion_point(constructor:brpc.ListResponse) |
3566 | } |
3567 | ListResponse::ListResponse(const ListResponse& from) |
3568 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
3569 | _internal_metadata_(nullptr), |
3570 | _has_bits_(from._has_bits_), |
3571 | service_(from.service_) { |
3572 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
3573 | // @@protoc_insertion_point(copy_constructor:brpc.ListResponse) |
3574 | } |
3575 | |
3576 | void ListResponse::SharedCtor() { |
3577 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ListResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
3578 | } |
3579 | |
3580 | ListResponse::~ListResponse() { |
3581 | // @@protoc_insertion_point(destructor:brpc.ListResponse) |
3582 | SharedDtor(); |
3583 | } |
3584 | |
3585 | void ListResponse::SharedDtor() { |
3586 | } |
3587 | |
3588 | void ListResponse::SetCachedSize(int size) const { |
3589 | _cached_size_.Set(size); |
3590 | } |
3591 | const ListResponse& ListResponse::default_instance() { |
3592 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ListResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
3593 | return *internal_default_instance(); |
3594 | } |
3595 | |
3596 | |
3597 | void ListResponse::Clear() { |
3598 | // @@protoc_insertion_point(message_clear_start:brpc.ListResponse) |
3599 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3600 | // Prevent compiler warnings about cached_has_bits being unused |
3601 | (void) cached_has_bits; |
3602 | |
3603 | service_.Clear(); |
3604 | _has_bits_.Clear(); |
3605 | _internal_metadata_.Clear(); |
3606 | } |
3607 | |
3608 | const char* ListResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
3609 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
3610 | while (!ctx->Done(&ptr)) { |
3611 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
3612 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
3613 | CHK_(ptr); |
3614 | switch (tag >> 3) { |
3615 | // repeated .google.protobuf.ServiceDescriptorProto service = 1; |
3616 | case 1: |
3617 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
3618 | ptr -= 1; |
3619 | do { |
3620 | ptr += 1; |
3621 | ptr = ctx->ParseMessage(_internal_add_service(), ptr); |
3622 | CHK_(ptr); |
3623 | if (!ctx->DataAvailable(ptr)) break; |
3624 | } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); |
3625 | } else goto handle_unusual; |
3626 | continue; |
3627 | default: { |
3628 | handle_unusual: |
3629 | if ((tag & 7) == 4 || tag == 0) { |
3630 | ctx->SetLastTag(tag); |
3631 | goto success; |
3632 | } |
3633 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
3634 | CHK_(ptr != nullptr); |
3635 | continue; |
3636 | } |
3637 | } // switch |
3638 | } // while |
3639 | success: |
3640 | return ptr; |
3641 | failure: |
3642 | ptr = nullptr; |
3643 | goto success; |
3644 | #undef CHK_ |
3645 | } |
3646 | |
3647 | ::PROTOBUF_NAMESPACE_ID::uint8* ListResponse::_InternalSerialize( |
3648 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
3649 | // @@protoc_insertion_point(serialize_to_array_start:brpc.ListResponse) |
3650 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3651 | (void) cached_has_bits; |
3652 | |
3653 | // repeated .google.protobuf.ServiceDescriptorProto service = 1; |
3654 | for (unsigned int i = 0, |
3655 | n = static_cast<unsigned int>(this->_internal_service_size()); i < n; i++) { |
3656 | target = stream->EnsureSpace(target); |
3657 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: |
3658 | InternalWriteMessage(1, this->_internal_service(i), target, stream); |
3659 | } |
3660 | |
3661 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3662 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
3663 | _internal_metadata_.unknown_fields(), target, stream); |
3664 | } |
3665 | // @@protoc_insertion_point(serialize_to_array_end:brpc.ListResponse) |
3666 | return target; |
3667 | } |
3668 | |
3669 | size_t ListResponse::ByteSizeLong() const { |
3670 | // @@protoc_insertion_point(message_byte_size_start:brpc.ListResponse) |
3671 | size_t total_size = 0; |
3672 | |
3673 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3674 | // Prevent compiler warnings about cached_has_bits being unused |
3675 | (void) cached_has_bits; |
3676 | |
3677 | // repeated .google.protobuf.ServiceDescriptorProto service = 1; |
3678 | total_size += 1UL * this->_internal_service_size(); |
3679 | for (const auto& msg : this->service_) { |
3680 | total_size += |
3681 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); |
3682 | } |
3683 | |
3684 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3685 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
3686 | _internal_metadata_, total_size, &_cached_size_); |
3687 | } |
3688 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
3689 | SetCachedSize(cached_size); |
3690 | return total_size; |
3691 | } |
3692 | |
3693 | void ListResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
3694 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.ListResponse) |
3695 | GOOGLE_DCHECK_NE(&from, this); |
3696 | const ListResponse* source = |
3697 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ListResponse>( |
3698 | &from); |
3699 | if (source == nullptr) { |
3700 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.ListResponse) |
3701 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
3702 | } else { |
3703 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.ListResponse) |
3704 | MergeFrom(*source); |
3705 | } |
3706 | } |
3707 | |
3708 | void ListResponse::MergeFrom(const ListResponse& from) { |
3709 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.ListResponse) |
3710 | GOOGLE_DCHECK_NE(&from, this); |
3711 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
3712 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3713 | (void) cached_has_bits; |
3714 | |
3715 | service_.MergeFrom(from.service_); |
3716 | } |
3717 | |
3718 | void ListResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
3719 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.ListResponse) |
3720 | if (&from == this) return; |
3721 | Clear(); |
3722 | MergeFrom(from); |
3723 | } |
3724 | |
3725 | void ListResponse::CopyFrom(const ListResponse& from) { |
3726 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.ListResponse) |
3727 | if (&from == this) return; |
3728 | Clear(); |
3729 | MergeFrom(from); |
3730 | } |
3731 | |
3732 | bool ListResponse::IsInitialized() const { |
3733 | if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(service_)) return false; |
3734 | return true; |
3735 | } |
3736 | |
3737 | void ListResponse::InternalSwap(ListResponse* other) { |
3738 | using std::swap; |
3739 | _internal_metadata_.Swap(&other->_internal_metadata_); |
3740 | swap(_has_bits_[0], other->_has_bits_[0]); |
3741 | service_.InternalSwap(&other->service_); |
3742 | } |
3743 | |
3744 | ::PROTOBUF_NAMESPACE_ID::Metadata ListResponse::GetMetadata() const { |
3745 | return GetMetadataStatic(); |
3746 | } |
3747 | |
3748 | |
3749 | // =================================================================== |
3750 | |
3751 | void VarsRequest::InitAsDefaultInstance() { |
3752 | } |
3753 | class VarsRequest::_Internal { |
3754 | public: |
3755 | using HasBits = decltype(std::declval<VarsRequest>()._has_bits_); |
3756 | }; |
3757 | |
3758 | VarsRequest::VarsRequest() |
3759 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
3760 | SharedCtor(); |
3761 | // @@protoc_insertion_point(constructor:brpc.VarsRequest) |
3762 | } |
3763 | VarsRequest::VarsRequest(const VarsRequest& from) |
3764 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
3765 | _internal_metadata_(nullptr), |
3766 | _has_bits_(from._has_bits_) { |
3767 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
3768 | // @@protoc_insertion_point(copy_constructor:brpc.VarsRequest) |
3769 | } |
3770 | |
3771 | void VarsRequest::SharedCtor() { |
3772 | } |
3773 | |
3774 | VarsRequest::~VarsRequest() { |
3775 | // @@protoc_insertion_point(destructor:brpc.VarsRequest) |
3776 | SharedDtor(); |
3777 | } |
3778 | |
3779 | void VarsRequest::SharedDtor() { |
3780 | } |
3781 | |
3782 | void VarsRequest::SetCachedSize(int size) const { |
3783 | _cached_size_.Set(size); |
3784 | } |
3785 | const VarsRequest& VarsRequest::default_instance() { |
3786 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VarsRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
3787 | return *internal_default_instance(); |
3788 | } |
3789 | |
3790 | |
3791 | void VarsRequest::Clear() { |
3792 | // @@protoc_insertion_point(message_clear_start:brpc.VarsRequest) |
3793 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3794 | // Prevent compiler warnings about cached_has_bits being unused |
3795 | (void) cached_has_bits; |
3796 | |
3797 | _has_bits_.Clear(); |
3798 | _internal_metadata_.Clear(); |
3799 | } |
3800 | |
3801 | const char* VarsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
3802 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
3803 | while (!ctx->Done(&ptr)) { |
3804 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
3805 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
3806 | CHK_(ptr); |
3807 | if ((tag & 7) == 4 || tag == 0) { |
3808 | ctx->SetLastTag(tag); |
3809 | goto success; |
3810 | } |
3811 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
3812 | CHK_(ptr != nullptr); |
3813 | continue; |
3814 | } // while |
3815 | success: |
3816 | return ptr; |
3817 | failure: |
3818 | ptr = nullptr; |
3819 | goto success; |
3820 | #undef CHK_ |
3821 | } |
3822 | |
3823 | ::PROTOBUF_NAMESPACE_ID::uint8* VarsRequest::_InternalSerialize( |
3824 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
3825 | // @@protoc_insertion_point(serialize_to_array_start:brpc.VarsRequest) |
3826 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3827 | (void) cached_has_bits; |
3828 | |
3829 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3830 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
3831 | _internal_metadata_.unknown_fields(), target, stream); |
3832 | } |
3833 | // @@protoc_insertion_point(serialize_to_array_end:brpc.VarsRequest) |
3834 | return target; |
3835 | } |
3836 | |
3837 | size_t VarsRequest::ByteSizeLong() const { |
3838 | // @@protoc_insertion_point(message_byte_size_start:brpc.VarsRequest) |
3839 | size_t total_size = 0; |
3840 | |
3841 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3842 | // Prevent compiler warnings about cached_has_bits being unused |
3843 | (void) cached_has_bits; |
3844 | |
3845 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3846 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
3847 | _internal_metadata_, total_size, &_cached_size_); |
3848 | } |
3849 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
3850 | SetCachedSize(cached_size); |
3851 | return total_size; |
3852 | } |
3853 | |
3854 | void VarsRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
3855 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.VarsRequest) |
3856 | GOOGLE_DCHECK_NE(&from, this); |
3857 | const VarsRequest* source = |
3858 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VarsRequest>( |
3859 | &from); |
3860 | if (source == nullptr) { |
3861 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.VarsRequest) |
3862 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
3863 | } else { |
3864 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.VarsRequest) |
3865 | MergeFrom(*source); |
3866 | } |
3867 | } |
3868 | |
3869 | void VarsRequest::MergeFrom(const VarsRequest& from) { |
3870 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.VarsRequest) |
3871 | GOOGLE_DCHECK_NE(&from, this); |
3872 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
3873 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3874 | (void) cached_has_bits; |
3875 | |
3876 | } |
3877 | |
3878 | void VarsRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
3879 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.VarsRequest) |
3880 | if (&from == this) return; |
3881 | Clear(); |
3882 | MergeFrom(from); |
3883 | } |
3884 | |
3885 | void VarsRequest::CopyFrom(const VarsRequest& from) { |
3886 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.VarsRequest) |
3887 | if (&from == this) return; |
3888 | Clear(); |
3889 | MergeFrom(from); |
3890 | } |
3891 | |
3892 | bool VarsRequest::IsInitialized() const { |
3893 | return true; |
3894 | } |
3895 | |
3896 | void VarsRequest::InternalSwap(VarsRequest* other) { |
3897 | using std::swap; |
3898 | _internal_metadata_.Swap(&other->_internal_metadata_); |
3899 | swap(_has_bits_[0], other->_has_bits_[0]); |
3900 | } |
3901 | |
3902 | ::PROTOBUF_NAMESPACE_ID::Metadata VarsRequest::GetMetadata() const { |
3903 | return GetMetadataStatic(); |
3904 | } |
3905 | |
3906 | |
3907 | // =================================================================== |
3908 | |
3909 | void VarsResponse::InitAsDefaultInstance() { |
3910 | } |
3911 | class VarsResponse::_Internal { |
3912 | public: |
3913 | using HasBits = decltype(std::declval<VarsResponse>()._has_bits_); |
3914 | }; |
3915 | |
3916 | VarsResponse::VarsResponse() |
3917 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
3918 | SharedCtor(); |
3919 | // @@protoc_insertion_point(constructor:brpc.VarsResponse) |
3920 | } |
3921 | VarsResponse::VarsResponse(const VarsResponse& from) |
3922 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
3923 | _internal_metadata_(nullptr), |
3924 | _has_bits_(from._has_bits_) { |
3925 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
3926 | // @@protoc_insertion_point(copy_constructor:brpc.VarsResponse) |
3927 | } |
3928 | |
3929 | void VarsResponse::SharedCtor() { |
3930 | } |
3931 | |
3932 | VarsResponse::~VarsResponse() { |
3933 | // @@protoc_insertion_point(destructor:brpc.VarsResponse) |
3934 | SharedDtor(); |
3935 | } |
3936 | |
3937 | void VarsResponse::SharedDtor() { |
3938 | } |
3939 | |
3940 | void VarsResponse::SetCachedSize(int size) const { |
3941 | _cached_size_.Set(size); |
3942 | } |
3943 | const VarsResponse& VarsResponse::default_instance() { |
3944 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VarsResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
3945 | return *internal_default_instance(); |
3946 | } |
3947 | |
3948 | |
3949 | void VarsResponse::Clear() { |
3950 | // @@protoc_insertion_point(message_clear_start:brpc.VarsResponse) |
3951 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3952 | // Prevent compiler warnings about cached_has_bits being unused |
3953 | (void) cached_has_bits; |
3954 | |
3955 | _has_bits_.Clear(); |
3956 | _internal_metadata_.Clear(); |
3957 | } |
3958 | |
3959 | const char* VarsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
3960 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
3961 | while (!ctx->Done(&ptr)) { |
3962 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
3963 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
3964 | CHK_(ptr); |
3965 | if ((tag & 7) == 4 || tag == 0) { |
3966 | ctx->SetLastTag(tag); |
3967 | goto success; |
3968 | } |
3969 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
3970 | CHK_(ptr != nullptr); |
3971 | continue; |
3972 | } // while |
3973 | success: |
3974 | return ptr; |
3975 | failure: |
3976 | ptr = nullptr; |
3977 | goto success; |
3978 | #undef CHK_ |
3979 | } |
3980 | |
3981 | ::PROTOBUF_NAMESPACE_ID::uint8* VarsResponse::_InternalSerialize( |
3982 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
3983 | // @@protoc_insertion_point(serialize_to_array_start:brpc.VarsResponse) |
3984 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
3985 | (void) cached_has_bits; |
3986 | |
3987 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
3988 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
3989 | _internal_metadata_.unknown_fields(), target, stream); |
3990 | } |
3991 | // @@protoc_insertion_point(serialize_to_array_end:brpc.VarsResponse) |
3992 | return target; |
3993 | } |
3994 | |
3995 | size_t VarsResponse::ByteSizeLong() const { |
3996 | // @@protoc_insertion_point(message_byte_size_start:brpc.VarsResponse) |
3997 | size_t total_size = 0; |
3998 | |
3999 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4000 | // Prevent compiler warnings about cached_has_bits being unused |
4001 | (void) cached_has_bits; |
4002 | |
4003 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4004 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
4005 | _internal_metadata_, total_size, &_cached_size_); |
4006 | } |
4007 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
4008 | SetCachedSize(cached_size); |
4009 | return total_size; |
4010 | } |
4011 | |
4012 | void VarsResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4013 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.VarsResponse) |
4014 | GOOGLE_DCHECK_NE(&from, this); |
4015 | const VarsResponse* source = |
4016 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VarsResponse>( |
4017 | &from); |
4018 | if (source == nullptr) { |
4019 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.VarsResponse) |
4020 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
4021 | } else { |
4022 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.VarsResponse) |
4023 | MergeFrom(*source); |
4024 | } |
4025 | } |
4026 | |
4027 | void VarsResponse::MergeFrom(const VarsResponse& from) { |
4028 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.VarsResponse) |
4029 | GOOGLE_DCHECK_NE(&from, this); |
4030 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4031 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4032 | (void) cached_has_bits; |
4033 | |
4034 | } |
4035 | |
4036 | void VarsResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4037 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.VarsResponse) |
4038 | if (&from == this) return; |
4039 | Clear(); |
4040 | MergeFrom(from); |
4041 | } |
4042 | |
4043 | void VarsResponse::CopyFrom(const VarsResponse& from) { |
4044 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.VarsResponse) |
4045 | if (&from == this) return; |
4046 | Clear(); |
4047 | MergeFrom(from); |
4048 | } |
4049 | |
4050 | bool VarsResponse::IsInitialized() const { |
4051 | return true; |
4052 | } |
4053 | |
4054 | void VarsResponse::InternalSwap(VarsResponse* other) { |
4055 | using std::swap; |
4056 | _internal_metadata_.Swap(&other->_internal_metadata_); |
4057 | swap(_has_bits_[0], other->_has_bits_[0]); |
4058 | } |
4059 | |
4060 | ::PROTOBUF_NAMESPACE_ID::Metadata VarsResponse::GetMetadata() const { |
4061 | return GetMetadataStatic(); |
4062 | } |
4063 | |
4064 | |
4065 | // =================================================================== |
4066 | |
4067 | void BthreadsRequest::InitAsDefaultInstance() { |
4068 | } |
4069 | class BthreadsRequest::_Internal { |
4070 | public: |
4071 | using HasBits = decltype(std::declval<BthreadsRequest>()._has_bits_); |
4072 | }; |
4073 | |
4074 | BthreadsRequest::BthreadsRequest() |
4075 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
4076 | SharedCtor(); |
4077 | // @@protoc_insertion_point(constructor:brpc.BthreadsRequest) |
4078 | } |
4079 | BthreadsRequest::BthreadsRequest(const BthreadsRequest& from) |
4080 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
4081 | _internal_metadata_(nullptr), |
4082 | _has_bits_(from._has_bits_) { |
4083 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4084 | // @@protoc_insertion_point(copy_constructor:brpc.BthreadsRequest) |
4085 | } |
4086 | |
4087 | void BthreadsRequest::SharedCtor() { |
4088 | } |
4089 | |
4090 | BthreadsRequest::~BthreadsRequest() { |
4091 | // @@protoc_insertion_point(destructor:brpc.BthreadsRequest) |
4092 | SharedDtor(); |
4093 | } |
4094 | |
4095 | void BthreadsRequest::SharedDtor() { |
4096 | } |
4097 | |
4098 | void BthreadsRequest::SetCachedSize(int size) const { |
4099 | _cached_size_.Set(size); |
4100 | } |
4101 | const BthreadsRequest& BthreadsRequest::default_instance() { |
4102 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_BthreadsRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
4103 | return *internal_default_instance(); |
4104 | } |
4105 | |
4106 | |
4107 | void BthreadsRequest::Clear() { |
4108 | // @@protoc_insertion_point(message_clear_start:brpc.BthreadsRequest) |
4109 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4110 | // Prevent compiler warnings about cached_has_bits being unused |
4111 | (void) cached_has_bits; |
4112 | |
4113 | _has_bits_.Clear(); |
4114 | _internal_metadata_.Clear(); |
4115 | } |
4116 | |
4117 | const char* BthreadsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
4118 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4119 | while (!ctx->Done(&ptr)) { |
4120 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
4121 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
4122 | CHK_(ptr); |
4123 | if ((tag & 7) == 4 || tag == 0) { |
4124 | ctx->SetLastTag(tag); |
4125 | goto success; |
4126 | } |
4127 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
4128 | CHK_(ptr != nullptr); |
4129 | continue; |
4130 | } // while |
4131 | success: |
4132 | return ptr; |
4133 | failure: |
4134 | ptr = nullptr; |
4135 | goto success; |
4136 | #undef CHK_ |
4137 | } |
4138 | |
4139 | ::PROTOBUF_NAMESPACE_ID::uint8* BthreadsRequest::_InternalSerialize( |
4140 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
4141 | // @@protoc_insertion_point(serialize_to_array_start:brpc.BthreadsRequest) |
4142 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4143 | (void) cached_has_bits; |
4144 | |
4145 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4146 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
4147 | _internal_metadata_.unknown_fields(), target, stream); |
4148 | } |
4149 | // @@protoc_insertion_point(serialize_to_array_end:brpc.BthreadsRequest) |
4150 | return target; |
4151 | } |
4152 | |
4153 | size_t BthreadsRequest::ByteSizeLong() const { |
4154 | // @@protoc_insertion_point(message_byte_size_start:brpc.BthreadsRequest) |
4155 | size_t total_size = 0; |
4156 | |
4157 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4158 | // Prevent compiler warnings about cached_has_bits being unused |
4159 | (void) cached_has_bits; |
4160 | |
4161 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4162 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
4163 | _internal_metadata_, total_size, &_cached_size_); |
4164 | } |
4165 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
4166 | SetCachedSize(cached_size); |
4167 | return total_size; |
4168 | } |
4169 | |
4170 | void BthreadsRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4171 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.BthreadsRequest) |
4172 | GOOGLE_DCHECK_NE(&from, this); |
4173 | const BthreadsRequest* source = |
4174 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<BthreadsRequest>( |
4175 | &from); |
4176 | if (source == nullptr) { |
4177 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.BthreadsRequest) |
4178 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
4179 | } else { |
4180 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.BthreadsRequest) |
4181 | MergeFrom(*source); |
4182 | } |
4183 | } |
4184 | |
4185 | void BthreadsRequest::MergeFrom(const BthreadsRequest& from) { |
4186 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.BthreadsRequest) |
4187 | GOOGLE_DCHECK_NE(&from, this); |
4188 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4189 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4190 | (void) cached_has_bits; |
4191 | |
4192 | } |
4193 | |
4194 | void BthreadsRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4195 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.BthreadsRequest) |
4196 | if (&from == this) return; |
4197 | Clear(); |
4198 | MergeFrom(from); |
4199 | } |
4200 | |
4201 | void BthreadsRequest::CopyFrom(const BthreadsRequest& from) { |
4202 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.BthreadsRequest) |
4203 | if (&from == this) return; |
4204 | Clear(); |
4205 | MergeFrom(from); |
4206 | } |
4207 | |
4208 | bool BthreadsRequest::IsInitialized() const { |
4209 | return true; |
4210 | } |
4211 | |
4212 | void BthreadsRequest::InternalSwap(BthreadsRequest* other) { |
4213 | using std::swap; |
4214 | _internal_metadata_.Swap(&other->_internal_metadata_); |
4215 | swap(_has_bits_[0], other->_has_bits_[0]); |
4216 | } |
4217 | |
4218 | ::PROTOBUF_NAMESPACE_ID::Metadata BthreadsRequest::GetMetadata() const { |
4219 | return GetMetadataStatic(); |
4220 | } |
4221 | |
4222 | |
4223 | // =================================================================== |
4224 | |
4225 | void BthreadsResponse::InitAsDefaultInstance() { |
4226 | } |
4227 | class BthreadsResponse::_Internal { |
4228 | public: |
4229 | using HasBits = decltype(std::declval<BthreadsResponse>()._has_bits_); |
4230 | }; |
4231 | |
4232 | BthreadsResponse::BthreadsResponse() |
4233 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
4234 | SharedCtor(); |
4235 | // @@protoc_insertion_point(constructor:brpc.BthreadsResponse) |
4236 | } |
4237 | BthreadsResponse::BthreadsResponse(const BthreadsResponse& from) |
4238 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
4239 | _internal_metadata_(nullptr), |
4240 | _has_bits_(from._has_bits_) { |
4241 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4242 | // @@protoc_insertion_point(copy_constructor:brpc.BthreadsResponse) |
4243 | } |
4244 | |
4245 | void BthreadsResponse::SharedCtor() { |
4246 | } |
4247 | |
4248 | BthreadsResponse::~BthreadsResponse() { |
4249 | // @@protoc_insertion_point(destructor:brpc.BthreadsResponse) |
4250 | SharedDtor(); |
4251 | } |
4252 | |
4253 | void BthreadsResponse::SharedDtor() { |
4254 | } |
4255 | |
4256 | void BthreadsResponse::SetCachedSize(int size) const { |
4257 | _cached_size_.Set(size); |
4258 | } |
4259 | const BthreadsResponse& BthreadsResponse::default_instance() { |
4260 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_BthreadsResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
4261 | return *internal_default_instance(); |
4262 | } |
4263 | |
4264 | |
4265 | void BthreadsResponse::Clear() { |
4266 | // @@protoc_insertion_point(message_clear_start:brpc.BthreadsResponse) |
4267 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4268 | // Prevent compiler warnings about cached_has_bits being unused |
4269 | (void) cached_has_bits; |
4270 | |
4271 | _has_bits_.Clear(); |
4272 | _internal_metadata_.Clear(); |
4273 | } |
4274 | |
4275 | const char* BthreadsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
4276 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4277 | while (!ctx->Done(&ptr)) { |
4278 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
4279 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
4280 | CHK_(ptr); |
4281 | if ((tag & 7) == 4 || tag == 0) { |
4282 | ctx->SetLastTag(tag); |
4283 | goto success; |
4284 | } |
4285 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
4286 | CHK_(ptr != nullptr); |
4287 | continue; |
4288 | } // while |
4289 | success: |
4290 | return ptr; |
4291 | failure: |
4292 | ptr = nullptr; |
4293 | goto success; |
4294 | #undef CHK_ |
4295 | } |
4296 | |
4297 | ::PROTOBUF_NAMESPACE_ID::uint8* BthreadsResponse::_InternalSerialize( |
4298 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
4299 | // @@protoc_insertion_point(serialize_to_array_start:brpc.BthreadsResponse) |
4300 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4301 | (void) cached_has_bits; |
4302 | |
4303 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4304 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
4305 | _internal_metadata_.unknown_fields(), target, stream); |
4306 | } |
4307 | // @@protoc_insertion_point(serialize_to_array_end:brpc.BthreadsResponse) |
4308 | return target; |
4309 | } |
4310 | |
4311 | size_t BthreadsResponse::ByteSizeLong() const { |
4312 | // @@protoc_insertion_point(message_byte_size_start:brpc.BthreadsResponse) |
4313 | size_t total_size = 0; |
4314 | |
4315 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4316 | // Prevent compiler warnings about cached_has_bits being unused |
4317 | (void) cached_has_bits; |
4318 | |
4319 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4320 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
4321 | _internal_metadata_, total_size, &_cached_size_); |
4322 | } |
4323 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
4324 | SetCachedSize(cached_size); |
4325 | return total_size; |
4326 | } |
4327 | |
4328 | void BthreadsResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4329 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.BthreadsResponse) |
4330 | GOOGLE_DCHECK_NE(&from, this); |
4331 | const BthreadsResponse* source = |
4332 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<BthreadsResponse>( |
4333 | &from); |
4334 | if (source == nullptr) { |
4335 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.BthreadsResponse) |
4336 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
4337 | } else { |
4338 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.BthreadsResponse) |
4339 | MergeFrom(*source); |
4340 | } |
4341 | } |
4342 | |
4343 | void BthreadsResponse::MergeFrom(const BthreadsResponse& from) { |
4344 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.BthreadsResponse) |
4345 | GOOGLE_DCHECK_NE(&from, this); |
4346 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4347 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4348 | (void) cached_has_bits; |
4349 | |
4350 | } |
4351 | |
4352 | void BthreadsResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4353 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.BthreadsResponse) |
4354 | if (&from == this) return; |
4355 | Clear(); |
4356 | MergeFrom(from); |
4357 | } |
4358 | |
4359 | void BthreadsResponse::CopyFrom(const BthreadsResponse& from) { |
4360 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.BthreadsResponse) |
4361 | if (&from == this) return; |
4362 | Clear(); |
4363 | MergeFrom(from); |
4364 | } |
4365 | |
4366 | bool BthreadsResponse::IsInitialized() const { |
4367 | return true; |
4368 | } |
4369 | |
4370 | void BthreadsResponse::InternalSwap(BthreadsResponse* other) { |
4371 | using std::swap; |
4372 | _internal_metadata_.Swap(&other->_internal_metadata_); |
4373 | swap(_has_bits_[0], other->_has_bits_[0]); |
4374 | } |
4375 | |
4376 | ::PROTOBUF_NAMESPACE_ID::Metadata BthreadsResponse::GetMetadata() const { |
4377 | return GetMetadataStatic(); |
4378 | } |
4379 | |
4380 | |
4381 | // =================================================================== |
4382 | |
4383 | void IdsRequest::InitAsDefaultInstance() { |
4384 | } |
4385 | class IdsRequest::_Internal { |
4386 | public: |
4387 | using HasBits = decltype(std::declval<IdsRequest>()._has_bits_); |
4388 | }; |
4389 | |
4390 | IdsRequest::IdsRequest() |
4391 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
4392 | SharedCtor(); |
4393 | // @@protoc_insertion_point(constructor:brpc.IdsRequest) |
4394 | } |
4395 | IdsRequest::IdsRequest(const IdsRequest& from) |
4396 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
4397 | _internal_metadata_(nullptr), |
4398 | _has_bits_(from._has_bits_) { |
4399 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4400 | // @@protoc_insertion_point(copy_constructor:brpc.IdsRequest) |
4401 | } |
4402 | |
4403 | void IdsRequest::SharedCtor() { |
4404 | } |
4405 | |
4406 | IdsRequest::~IdsRequest() { |
4407 | // @@protoc_insertion_point(destructor:brpc.IdsRequest) |
4408 | SharedDtor(); |
4409 | } |
4410 | |
4411 | void IdsRequest::SharedDtor() { |
4412 | } |
4413 | |
4414 | void IdsRequest::SetCachedSize(int size) const { |
4415 | _cached_size_.Set(size); |
4416 | } |
4417 | const IdsRequest& IdsRequest::default_instance() { |
4418 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_IdsRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
4419 | return *internal_default_instance(); |
4420 | } |
4421 | |
4422 | |
4423 | void IdsRequest::Clear() { |
4424 | // @@protoc_insertion_point(message_clear_start:brpc.IdsRequest) |
4425 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4426 | // Prevent compiler warnings about cached_has_bits being unused |
4427 | (void) cached_has_bits; |
4428 | |
4429 | _has_bits_.Clear(); |
4430 | _internal_metadata_.Clear(); |
4431 | } |
4432 | |
4433 | const char* IdsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
4434 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4435 | while (!ctx->Done(&ptr)) { |
4436 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
4437 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
4438 | CHK_(ptr); |
4439 | if ((tag & 7) == 4 || tag == 0) { |
4440 | ctx->SetLastTag(tag); |
4441 | goto success; |
4442 | } |
4443 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
4444 | CHK_(ptr != nullptr); |
4445 | continue; |
4446 | } // while |
4447 | success: |
4448 | return ptr; |
4449 | failure: |
4450 | ptr = nullptr; |
4451 | goto success; |
4452 | #undef CHK_ |
4453 | } |
4454 | |
4455 | ::PROTOBUF_NAMESPACE_ID::uint8* IdsRequest::_InternalSerialize( |
4456 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
4457 | // @@protoc_insertion_point(serialize_to_array_start:brpc.IdsRequest) |
4458 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4459 | (void) cached_has_bits; |
4460 | |
4461 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4462 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
4463 | _internal_metadata_.unknown_fields(), target, stream); |
4464 | } |
4465 | // @@protoc_insertion_point(serialize_to_array_end:brpc.IdsRequest) |
4466 | return target; |
4467 | } |
4468 | |
4469 | size_t IdsRequest::ByteSizeLong() const { |
4470 | // @@protoc_insertion_point(message_byte_size_start:brpc.IdsRequest) |
4471 | size_t total_size = 0; |
4472 | |
4473 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4474 | // Prevent compiler warnings about cached_has_bits being unused |
4475 | (void) cached_has_bits; |
4476 | |
4477 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4478 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
4479 | _internal_metadata_, total_size, &_cached_size_); |
4480 | } |
4481 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
4482 | SetCachedSize(cached_size); |
4483 | return total_size; |
4484 | } |
4485 | |
4486 | void IdsRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4487 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.IdsRequest) |
4488 | GOOGLE_DCHECK_NE(&from, this); |
4489 | const IdsRequest* source = |
4490 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<IdsRequest>( |
4491 | &from); |
4492 | if (source == nullptr) { |
4493 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.IdsRequest) |
4494 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
4495 | } else { |
4496 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.IdsRequest) |
4497 | MergeFrom(*source); |
4498 | } |
4499 | } |
4500 | |
4501 | void IdsRequest::MergeFrom(const IdsRequest& from) { |
4502 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.IdsRequest) |
4503 | GOOGLE_DCHECK_NE(&from, this); |
4504 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4505 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4506 | (void) cached_has_bits; |
4507 | |
4508 | } |
4509 | |
4510 | void IdsRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4511 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.IdsRequest) |
4512 | if (&from == this) return; |
4513 | Clear(); |
4514 | MergeFrom(from); |
4515 | } |
4516 | |
4517 | void IdsRequest::CopyFrom(const IdsRequest& from) { |
4518 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.IdsRequest) |
4519 | if (&from == this) return; |
4520 | Clear(); |
4521 | MergeFrom(from); |
4522 | } |
4523 | |
4524 | bool IdsRequest::IsInitialized() const { |
4525 | return true; |
4526 | } |
4527 | |
4528 | void IdsRequest::InternalSwap(IdsRequest* other) { |
4529 | using std::swap; |
4530 | _internal_metadata_.Swap(&other->_internal_metadata_); |
4531 | swap(_has_bits_[0], other->_has_bits_[0]); |
4532 | } |
4533 | |
4534 | ::PROTOBUF_NAMESPACE_ID::Metadata IdsRequest::GetMetadata() const { |
4535 | return GetMetadataStatic(); |
4536 | } |
4537 | |
4538 | |
4539 | // =================================================================== |
4540 | |
4541 | void IdsResponse::InitAsDefaultInstance() { |
4542 | } |
4543 | class IdsResponse::_Internal { |
4544 | public: |
4545 | using HasBits = decltype(std::declval<IdsResponse>()._has_bits_); |
4546 | }; |
4547 | |
4548 | IdsResponse::IdsResponse() |
4549 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
4550 | SharedCtor(); |
4551 | // @@protoc_insertion_point(constructor:brpc.IdsResponse) |
4552 | } |
4553 | IdsResponse::IdsResponse(const IdsResponse& from) |
4554 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
4555 | _internal_metadata_(nullptr), |
4556 | _has_bits_(from._has_bits_) { |
4557 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4558 | // @@protoc_insertion_point(copy_constructor:brpc.IdsResponse) |
4559 | } |
4560 | |
4561 | void IdsResponse::SharedCtor() { |
4562 | } |
4563 | |
4564 | IdsResponse::~IdsResponse() { |
4565 | // @@protoc_insertion_point(destructor:brpc.IdsResponse) |
4566 | SharedDtor(); |
4567 | } |
4568 | |
4569 | void IdsResponse::SharedDtor() { |
4570 | } |
4571 | |
4572 | void IdsResponse::SetCachedSize(int size) const { |
4573 | _cached_size_.Set(size); |
4574 | } |
4575 | const IdsResponse& IdsResponse::default_instance() { |
4576 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_IdsResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
4577 | return *internal_default_instance(); |
4578 | } |
4579 | |
4580 | |
4581 | void IdsResponse::Clear() { |
4582 | // @@protoc_insertion_point(message_clear_start:brpc.IdsResponse) |
4583 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4584 | // Prevent compiler warnings about cached_has_bits being unused |
4585 | (void) cached_has_bits; |
4586 | |
4587 | _has_bits_.Clear(); |
4588 | _internal_metadata_.Clear(); |
4589 | } |
4590 | |
4591 | const char* IdsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
4592 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4593 | while (!ctx->Done(&ptr)) { |
4594 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
4595 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
4596 | CHK_(ptr); |
4597 | if ((tag & 7) == 4 || tag == 0) { |
4598 | ctx->SetLastTag(tag); |
4599 | goto success; |
4600 | } |
4601 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
4602 | CHK_(ptr != nullptr); |
4603 | continue; |
4604 | } // while |
4605 | success: |
4606 | return ptr; |
4607 | failure: |
4608 | ptr = nullptr; |
4609 | goto success; |
4610 | #undef CHK_ |
4611 | } |
4612 | |
4613 | ::PROTOBUF_NAMESPACE_ID::uint8* IdsResponse::_InternalSerialize( |
4614 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
4615 | // @@protoc_insertion_point(serialize_to_array_start:brpc.IdsResponse) |
4616 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4617 | (void) cached_has_bits; |
4618 | |
4619 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4620 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
4621 | _internal_metadata_.unknown_fields(), target, stream); |
4622 | } |
4623 | // @@protoc_insertion_point(serialize_to_array_end:brpc.IdsResponse) |
4624 | return target; |
4625 | } |
4626 | |
4627 | size_t IdsResponse::ByteSizeLong() const { |
4628 | // @@protoc_insertion_point(message_byte_size_start:brpc.IdsResponse) |
4629 | size_t total_size = 0; |
4630 | |
4631 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4632 | // Prevent compiler warnings about cached_has_bits being unused |
4633 | (void) cached_has_bits; |
4634 | |
4635 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4636 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
4637 | _internal_metadata_, total_size, &_cached_size_); |
4638 | } |
4639 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
4640 | SetCachedSize(cached_size); |
4641 | return total_size; |
4642 | } |
4643 | |
4644 | void IdsResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4645 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.IdsResponse) |
4646 | GOOGLE_DCHECK_NE(&from, this); |
4647 | const IdsResponse* source = |
4648 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<IdsResponse>( |
4649 | &from); |
4650 | if (source == nullptr) { |
4651 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.IdsResponse) |
4652 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
4653 | } else { |
4654 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.IdsResponse) |
4655 | MergeFrom(*source); |
4656 | } |
4657 | } |
4658 | |
4659 | void IdsResponse::MergeFrom(const IdsResponse& from) { |
4660 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.IdsResponse) |
4661 | GOOGLE_DCHECK_NE(&from, this); |
4662 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4663 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4664 | (void) cached_has_bits; |
4665 | |
4666 | } |
4667 | |
4668 | void IdsResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4669 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.IdsResponse) |
4670 | if (&from == this) return; |
4671 | Clear(); |
4672 | MergeFrom(from); |
4673 | } |
4674 | |
4675 | void IdsResponse::CopyFrom(const IdsResponse& from) { |
4676 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.IdsResponse) |
4677 | if (&from == this) return; |
4678 | Clear(); |
4679 | MergeFrom(from); |
4680 | } |
4681 | |
4682 | bool IdsResponse::IsInitialized() const { |
4683 | return true; |
4684 | } |
4685 | |
4686 | void IdsResponse::InternalSwap(IdsResponse* other) { |
4687 | using std::swap; |
4688 | _internal_metadata_.Swap(&other->_internal_metadata_); |
4689 | swap(_has_bits_[0], other->_has_bits_[0]); |
4690 | } |
4691 | |
4692 | ::PROTOBUF_NAMESPACE_ID::Metadata IdsResponse::GetMetadata() const { |
4693 | return GetMetadataStatic(); |
4694 | } |
4695 | |
4696 | |
4697 | // =================================================================== |
4698 | |
4699 | void SocketsRequest::InitAsDefaultInstance() { |
4700 | } |
4701 | class SocketsRequest::_Internal { |
4702 | public: |
4703 | using HasBits = decltype(std::declval<SocketsRequest>()._has_bits_); |
4704 | }; |
4705 | |
4706 | SocketsRequest::SocketsRequest() |
4707 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
4708 | SharedCtor(); |
4709 | // @@protoc_insertion_point(constructor:brpc.SocketsRequest) |
4710 | } |
4711 | SocketsRequest::SocketsRequest(const SocketsRequest& from) |
4712 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
4713 | _internal_metadata_(nullptr), |
4714 | _has_bits_(from._has_bits_) { |
4715 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4716 | // @@protoc_insertion_point(copy_constructor:brpc.SocketsRequest) |
4717 | } |
4718 | |
4719 | void SocketsRequest::SharedCtor() { |
4720 | } |
4721 | |
4722 | SocketsRequest::~SocketsRequest() { |
4723 | // @@protoc_insertion_point(destructor:brpc.SocketsRequest) |
4724 | SharedDtor(); |
4725 | } |
4726 | |
4727 | void SocketsRequest::SharedDtor() { |
4728 | } |
4729 | |
4730 | void SocketsRequest::SetCachedSize(int size) const { |
4731 | _cached_size_.Set(size); |
4732 | } |
4733 | const SocketsRequest& SocketsRequest::default_instance() { |
4734 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_SocketsRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
4735 | return *internal_default_instance(); |
4736 | } |
4737 | |
4738 | |
4739 | void SocketsRequest::Clear() { |
4740 | // @@protoc_insertion_point(message_clear_start:brpc.SocketsRequest) |
4741 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4742 | // Prevent compiler warnings about cached_has_bits being unused |
4743 | (void) cached_has_bits; |
4744 | |
4745 | _has_bits_.Clear(); |
4746 | _internal_metadata_.Clear(); |
4747 | } |
4748 | |
4749 | const char* SocketsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
4750 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4751 | while (!ctx->Done(&ptr)) { |
4752 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
4753 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
4754 | CHK_(ptr); |
4755 | if ((tag & 7) == 4 || tag == 0) { |
4756 | ctx->SetLastTag(tag); |
4757 | goto success; |
4758 | } |
4759 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
4760 | CHK_(ptr != nullptr); |
4761 | continue; |
4762 | } // while |
4763 | success: |
4764 | return ptr; |
4765 | failure: |
4766 | ptr = nullptr; |
4767 | goto success; |
4768 | #undef CHK_ |
4769 | } |
4770 | |
4771 | ::PROTOBUF_NAMESPACE_ID::uint8* SocketsRequest::_InternalSerialize( |
4772 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
4773 | // @@protoc_insertion_point(serialize_to_array_start:brpc.SocketsRequest) |
4774 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4775 | (void) cached_has_bits; |
4776 | |
4777 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4778 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
4779 | _internal_metadata_.unknown_fields(), target, stream); |
4780 | } |
4781 | // @@protoc_insertion_point(serialize_to_array_end:brpc.SocketsRequest) |
4782 | return target; |
4783 | } |
4784 | |
4785 | size_t SocketsRequest::ByteSizeLong() const { |
4786 | // @@protoc_insertion_point(message_byte_size_start:brpc.SocketsRequest) |
4787 | size_t total_size = 0; |
4788 | |
4789 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4790 | // Prevent compiler warnings about cached_has_bits being unused |
4791 | (void) cached_has_bits; |
4792 | |
4793 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4794 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
4795 | _internal_metadata_, total_size, &_cached_size_); |
4796 | } |
4797 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
4798 | SetCachedSize(cached_size); |
4799 | return total_size; |
4800 | } |
4801 | |
4802 | void SocketsRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4803 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.SocketsRequest) |
4804 | GOOGLE_DCHECK_NE(&from, this); |
4805 | const SocketsRequest* source = |
4806 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<SocketsRequest>( |
4807 | &from); |
4808 | if (source == nullptr) { |
4809 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.SocketsRequest) |
4810 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
4811 | } else { |
4812 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.SocketsRequest) |
4813 | MergeFrom(*source); |
4814 | } |
4815 | } |
4816 | |
4817 | void SocketsRequest::MergeFrom(const SocketsRequest& from) { |
4818 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.SocketsRequest) |
4819 | GOOGLE_DCHECK_NE(&from, this); |
4820 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4821 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4822 | (void) cached_has_bits; |
4823 | |
4824 | } |
4825 | |
4826 | void SocketsRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4827 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.SocketsRequest) |
4828 | if (&from == this) return; |
4829 | Clear(); |
4830 | MergeFrom(from); |
4831 | } |
4832 | |
4833 | void SocketsRequest::CopyFrom(const SocketsRequest& from) { |
4834 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.SocketsRequest) |
4835 | if (&from == this) return; |
4836 | Clear(); |
4837 | MergeFrom(from); |
4838 | } |
4839 | |
4840 | bool SocketsRequest::IsInitialized() const { |
4841 | return true; |
4842 | } |
4843 | |
4844 | void SocketsRequest::InternalSwap(SocketsRequest* other) { |
4845 | using std::swap; |
4846 | _internal_metadata_.Swap(&other->_internal_metadata_); |
4847 | swap(_has_bits_[0], other->_has_bits_[0]); |
4848 | } |
4849 | |
4850 | ::PROTOBUF_NAMESPACE_ID::Metadata SocketsRequest::GetMetadata() const { |
4851 | return GetMetadataStatic(); |
4852 | } |
4853 | |
4854 | |
4855 | // =================================================================== |
4856 | |
4857 | void SocketsResponse::InitAsDefaultInstance() { |
4858 | } |
4859 | class SocketsResponse::_Internal { |
4860 | public: |
4861 | using HasBits = decltype(std::declval<SocketsResponse>()._has_bits_); |
4862 | }; |
4863 | |
4864 | SocketsResponse::SocketsResponse() |
4865 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
4866 | SharedCtor(); |
4867 | // @@protoc_insertion_point(constructor:brpc.SocketsResponse) |
4868 | } |
4869 | SocketsResponse::SocketsResponse(const SocketsResponse& from) |
4870 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
4871 | _internal_metadata_(nullptr), |
4872 | _has_bits_(from._has_bits_) { |
4873 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4874 | // @@protoc_insertion_point(copy_constructor:brpc.SocketsResponse) |
4875 | } |
4876 | |
4877 | void SocketsResponse::SharedCtor() { |
4878 | } |
4879 | |
4880 | SocketsResponse::~SocketsResponse() { |
4881 | // @@protoc_insertion_point(destructor:brpc.SocketsResponse) |
4882 | SharedDtor(); |
4883 | } |
4884 | |
4885 | void SocketsResponse::SharedDtor() { |
4886 | } |
4887 | |
4888 | void SocketsResponse::SetCachedSize(int size) const { |
4889 | _cached_size_.Set(size); |
4890 | } |
4891 | const SocketsResponse& SocketsResponse::default_instance() { |
4892 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_SocketsResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
4893 | return *internal_default_instance(); |
4894 | } |
4895 | |
4896 | |
4897 | void SocketsResponse::Clear() { |
4898 | // @@protoc_insertion_point(message_clear_start:brpc.SocketsResponse) |
4899 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4900 | // Prevent compiler warnings about cached_has_bits being unused |
4901 | (void) cached_has_bits; |
4902 | |
4903 | _has_bits_.Clear(); |
4904 | _internal_metadata_.Clear(); |
4905 | } |
4906 | |
4907 | const char* SocketsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
4908 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
4909 | while (!ctx->Done(&ptr)) { |
4910 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
4911 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
4912 | CHK_(ptr); |
4913 | if ((tag & 7) == 4 || tag == 0) { |
4914 | ctx->SetLastTag(tag); |
4915 | goto success; |
4916 | } |
4917 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
4918 | CHK_(ptr != nullptr); |
4919 | continue; |
4920 | } // while |
4921 | success: |
4922 | return ptr; |
4923 | failure: |
4924 | ptr = nullptr; |
4925 | goto success; |
4926 | #undef CHK_ |
4927 | } |
4928 | |
4929 | ::PROTOBUF_NAMESPACE_ID::uint8* SocketsResponse::_InternalSerialize( |
4930 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
4931 | // @@protoc_insertion_point(serialize_to_array_start:brpc.SocketsResponse) |
4932 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4933 | (void) cached_has_bits; |
4934 | |
4935 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4936 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
4937 | _internal_metadata_.unknown_fields(), target, stream); |
4938 | } |
4939 | // @@protoc_insertion_point(serialize_to_array_end:brpc.SocketsResponse) |
4940 | return target; |
4941 | } |
4942 | |
4943 | size_t SocketsResponse::ByteSizeLong() const { |
4944 | // @@protoc_insertion_point(message_byte_size_start:brpc.SocketsResponse) |
4945 | size_t total_size = 0; |
4946 | |
4947 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4948 | // Prevent compiler warnings about cached_has_bits being unused |
4949 | (void) cached_has_bits; |
4950 | |
4951 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
4952 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
4953 | _internal_metadata_, total_size, &_cached_size_); |
4954 | } |
4955 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
4956 | SetCachedSize(cached_size); |
4957 | return total_size; |
4958 | } |
4959 | |
4960 | void SocketsResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4961 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.SocketsResponse) |
4962 | GOOGLE_DCHECK_NE(&from, this); |
4963 | const SocketsResponse* source = |
4964 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<SocketsResponse>( |
4965 | &from); |
4966 | if (source == nullptr) { |
4967 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.SocketsResponse) |
4968 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
4969 | } else { |
4970 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.SocketsResponse) |
4971 | MergeFrom(*source); |
4972 | } |
4973 | } |
4974 | |
4975 | void SocketsResponse::MergeFrom(const SocketsResponse& from) { |
4976 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.SocketsResponse) |
4977 | GOOGLE_DCHECK_NE(&from, this); |
4978 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4979 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
4980 | (void) cached_has_bits; |
4981 | |
4982 | } |
4983 | |
4984 | void SocketsResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
4985 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.SocketsResponse) |
4986 | if (&from == this) return; |
4987 | Clear(); |
4988 | MergeFrom(from); |
4989 | } |
4990 | |
4991 | void SocketsResponse::CopyFrom(const SocketsResponse& from) { |
4992 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.SocketsResponse) |
4993 | if (&from == this) return; |
4994 | Clear(); |
4995 | MergeFrom(from); |
4996 | } |
4997 | |
4998 | bool SocketsResponse::IsInitialized() const { |
4999 | return true; |
5000 | } |
5001 | |
5002 | void SocketsResponse::InternalSwap(SocketsResponse* other) { |
5003 | using std::swap; |
5004 | _internal_metadata_.Swap(&other->_internal_metadata_); |
5005 | swap(_has_bits_[0], other->_has_bits_[0]); |
5006 | } |
5007 | |
5008 | ::PROTOBUF_NAMESPACE_ID::Metadata SocketsResponse::GetMetadata() const { |
5009 | return GetMetadataStatic(); |
5010 | } |
5011 | |
5012 | |
5013 | // =================================================================== |
5014 | |
5015 | void RpczRequest::InitAsDefaultInstance() { |
5016 | } |
5017 | class RpczRequest::_Internal { |
5018 | public: |
5019 | using HasBits = decltype(std::declval<RpczRequest>()._has_bits_); |
5020 | }; |
5021 | |
5022 | RpczRequest::RpczRequest() |
5023 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
5024 | SharedCtor(); |
5025 | // @@protoc_insertion_point(constructor:brpc.RpczRequest) |
5026 | } |
5027 | RpczRequest::RpczRequest(const RpczRequest& from) |
5028 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
5029 | _internal_metadata_(nullptr), |
5030 | _has_bits_(from._has_bits_) { |
5031 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5032 | // @@protoc_insertion_point(copy_constructor:brpc.RpczRequest) |
5033 | } |
5034 | |
5035 | void RpczRequest::SharedCtor() { |
5036 | } |
5037 | |
5038 | RpczRequest::~RpczRequest() { |
5039 | // @@protoc_insertion_point(destructor:brpc.RpczRequest) |
5040 | SharedDtor(); |
5041 | } |
5042 | |
5043 | void RpczRequest::SharedDtor() { |
5044 | } |
5045 | |
5046 | void RpczRequest::SetCachedSize(int size) const { |
5047 | _cached_size_.Set(size); |
5048 | } |
5049 | const RpczRequest& RpczRequest::default_instance() { |
5050 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_RpczRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
5051 | return *internal_default_instance(); |
5052 | } |
5053 | |
5054 | |
5055 | void RpczRequest::Clear() { |
5056 | // @@protoc_insertion_point(message_clear_start:brpc.RpczRequest) |
5057 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5058 | // Prevent compiler warnings about cached_has_bits being unused |
5059 | (void) cached_has_bits; |
5060 | |
5061 | _has_bits_.Clear(); |
5062 | _internal_metadata_.Clear(); |
5063 | } |
5064 | |
5065 | const char* RpczRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
5066 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
5067 | while (!ctx->Done(&ptr)) { |
5068 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
5069 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
5070 | CHK_(ptr); |
5071 | if ((tag & 7) == 4 || tag == 0) { |
5072 | ctx->SetLastTag(tag); |
5073 | goto success; |
5074 | } |
5075 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
5076 | CHK_(ptr != nullptr); |
5077 | continue; |
5078 | } // while |
5079 | success: |
5080 | return ptr; |
5081 | failure: |
5082 | ptr = nullptr; |
5083 | goto success; |
5084 | #undef CHK_ |
5085 | } |
5086 | |
5087 | ::PROTOBUF_NAMESPACE_ID::uint8* RpczRequest::_InternalSerialize( |
5088 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5089 | // @@protoc_insertion_point(serialize_to_array_start:brpc.RpczRequest) |
5090 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5091 | (void) cached_has_bits; |
5092 | |
5093 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5094 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
5095 | _internal_metadata_.unknown_fields(), target, stream); |
5096 | } |
5097 | // @@protoc_insertion_point(serialize_to_array_end:brpc.RpczRequest) |
5098 | return target; |
5099 | } |
5100 | |
5101 | size_t RpczRequest::ByteSizeLong() const { |
5102 | // @@protoc_insertion_point(message_byte_size_start:brpc.RpczRequest) |
5103 | size_t total_size = 0; |
5104 | |
5105 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5106 | // Prevent compiler warnings about cached_has_bits being unused |
5107 | (void) cached_has_bits; |
5108 | |
5109 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5110 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
5111 | _internal_metadata_, total_size, &_cached_size_); |
5112 | } |
5113 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
5114 | SetCachedSize(cached_size); |
5115 | return total_size; |
5116 | } |
5117 | |
5118 | void RpczRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
5119 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.RpczRequest) |
5120 | GOOGLE_DCHECK_NE(&from, this); |
5121 | const RpczRequest* source = |
5122 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<RpczRequest>( |
5123 | &from); |
5124 | if (source == nullptr) { |
5125 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.RpczRequest) |
5126 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
5127 | } else { |
5128 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.RpczRequest) |
5129 | MergeFrom(*source); |
5130 | } |
5131 | } |
5132 | |
5133 | void RpczRequest::MergeFrom(const RpczRequest& from) { |
5134 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.RpczRequest) |
5135 | GOOGLE_DCHECK_NE(&from, this); |
5136 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5137 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5138 | (void) cached_has_bits; |
5139 | |
5140 | } |
5141 | |
5142 | void RpczRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
5143 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.RpczRequest) |
5144 | if (&from == this) return; |
5145 | Clear(); |
5146 | MergeFrom(from); |
5147 | } |
5148 | |
5149 | void RpczRequest::CopyFrom(const RpczRequest& from) { |
5150 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.RpczRequest) |
5151 | if (&from == this) return; |
5152 | Clear(); |
5153 | MergeFrom(from); |
5154 | } |
5155 | |
5156 | bool RpczRequest::IsInitialized() const { |
5157 | return true; |
5158 | } |
5159 | |
5160 | void RpczRequest::InternalSwap(RpczRequest* other) { |
5161 | using std::swap; |
5162 | _internal_metadata_.Swap(&other->_internal_metadata_); |
5163 | swap(_has_bits_[0], other->_has_bits_[0]); |
5164 | } |
5165 | |
5166 | ::PROTOBUF_NAMESPACE_ID::Metadata RpczRequest::GetMetadata() const { |
5167 | return GetMetadataStatic(); |
5168 | } |
5169 | |
5170 | |
5171 | // =================================================================== |
5172 | |
5173 | void RpczResponse::InitAsDefaultInstance() { |
5174 | } |
5175 | class RpczResponse::_Internal { |
5176 | public: |
5177 | using HasBits = decltype(std::declval<RpczResponse>()._has_bits_); |
5178 | }; |
5179 | |
5180 | RpczResponse::RpczResponse() |
5181 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
5182 | SharedCtor(); |
5183 | // @@protoc_insertion_point(constructor:brpc.RpczResponse) |
5184 | } |
5185 | RpczResponse::RpczResponse(const RpczResponse& from) |
5186 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
5187 | _internal_metadata_(nullptr), |
5188 | _has_bits_(from._has_bits_) { |
5189 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5190 | // @@protoc_insertion_point(copy_constructor:brpc.RpczResponse) |
5191 | } |
5192 | |
5193 | void RpczResponse::SharedCtor() { |
5194 | } |
5195 | |
5196 | RpczResponse::~RpczResponse() { |
5197 | // @@protoc_insertion_point(destructor:brpc.RpczResponse) |
5198 | SharedDtor(); |
5199 | } |
5200 | |
5201 | void RpczResponse::SharedDtor() { |
5202 | } |
5203 | |
5204 | void RpczResponse::SetCachedSize(int size) const { |
5205 | _cached_size_.Set(size); |
5206 | } |
5207 | const RpczResponse& RpczResponse::default_instance() { |
5208 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_RpczResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
5209 | return *internal_default_instance(); |
5210 | } |
5211 | |
5212 | |
5213 | void RpczResponse::Clear() { |
5214 | // @@protoc_insertion_point(message_clear_start:brpc.RpczResponse) |
5215 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5216 | // Prevent compiler warnings about cached_has_bits being unused |
5217 | (void) cached_has_bits; |
5218 | |
5219 | _has_bits_.Clear(); |
5220 | _internal_metadata_.Clear(); |
5221 | } |
5222 | |
5223 | const char* RpczResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
5224 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
5225 | while (!ctx->Done(&ptr)) { |
5226 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
5227 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
5228 | CHK_(ptr); |
5229 | if ((tag & 7) == 4 || tag == 0) { |
5230 | ctx->SetLastTag(tag); |
5231 | goto success; |
5232 | } |
5233 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
5234 | CHK_(ptr != nullptr); |
5235 | continue; |
5236 | } // while |
5237 | success: |
5238 | return ptr; |
5239 | failure: |
5240 | ptr = nullptr; |
5241 | goto success; |
5242 | #undef CHK_ |
5243 | } |
5244 | |
5245 | ::PROTOBUF_NAMESPACE_ID::uint8* RpczResponse::_InternalSerialize( |
5246 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5247 | // @@protoc_insertion_point(serialize_to_array_start:brpc.RpczResponse) |
5248 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5249 | (void) cached_has_bits; |
5250 | |
5251 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5252 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
5253 | _internal_metadata_.unknown_fields(), target, stream); |
5254 | } |
5255 | // @@protoc_insertion_point(serialize_to_array_end:brpc.RpczResponse) |
5256 | return target; |
5257 | } |
5258 | |
5259 | size_t RpczResponse::ByteSizeLong() const { |
5260 | // @@protoc_insertion_point(message_byte_size_start:brpc.RpczResponse) |
5261 | size_t total_size = 0; |
5262 | |
5263 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5264 | // Prevent compiler warnings about cached_has_bits being unused |
5265 | (void) cached_has_bits; |
5266 | |
5267 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5268 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
5269 | _internal_metadata_, total_size, &_cached_size_); |
5270 | } |
5271 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
5272 | SetCachedSize(cached_size); |
5273 | return total_size; |
5274 | } |
5275 | |
5276 | void RpczResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
5277 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.RpczResponse) |
5278 | GOOGLE_DCHECK_NE(&from, this); |
5279 | const RpczResponse* source = |
5280 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<RpczResponse>( |
5281 | &from); |
5282 | if (source == nullptr) { |
5283 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.RpczResponse) |
5284 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
5285 | } else { |
5286 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.RpczResponse) |
5287 | MergeFrom(*source); |
5288 | } |
5289 | } |
5290 | |
5291 | void RpczResponse::MergeFrom(const RpczResponse& from) { |
5292 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.RpczResponse) |
5293 | GOOGLE_DCHECK_NE(&from, this); |
5294 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5295 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5296 | (void) cached_has_bits; |
5297 | |
5298 | } |
5299 | |
5300 | void RpczResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
5301 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.RpczResponse) |
5302 | if (&from == this) return; |
5303 | Clear(); |
5304 | MergeFrom(from); |
5305 | } |
5306 | |
5307 | void RpczResponse::CopyFrom(const RpczResponse& from) { |
5308 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.RpczResponse) |
5309 | if (&from == this) return; |
5310 | Clear(); |
5311 | MergeFrom(from); |
5312 | } |
5313 | |
5314 | bool RpczResponse::IsInitialized() const { |
5315 | return true; |
5316 | } |
5317 | |
5318 | void RpczResponse::InternalSwap(RpczResponse* other) { |
5319 | using std::swap; |
5320 | _internal_metadata_.Swap(&other->_internal_metadata_); |
5321 | swap(_has_bits_[0], other->_has_bits_[0]); |
5322 | } |
5323 | |
5324 | ::PROTOBUF_NAMESPACE_ID::Metadata RpczResponse::GetMetadata() const { |
5325 | return GetMetadataStatic(); |
5326 | } |
5327 | |
5328 | |
5329 | // =================================================================== |
5330 | |
5331 | void ThreadsRequest::InitAsDefaultInstance() { |
5332 | } |
5333 | class ThreadsRequest::_Internal { |
5334 | public: |
5335 | using HasBits = decltype(std::declval<ThreadsRequest>()._has_bits_); |
5336 | }; |
5337 | |
5338 | ThreadsRequest::ThreadsRequest() |
5339 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
5340 | SharedCtor(); |
5341 | // @@protoc_insertion_point(constructor:brpc.ThreadsRequest) |
5342 | } |
5343 | ThreadsRequest::ThreadsRequest(const ThreadsRequest& from) |
5344 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
5345 | _internal_metadata_(nullptr), |
5346 | _has_bits_(from._has_bits_) { |
5347 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5348 | // @@protoc_insertion_point(copy_constructor:brpc.ThreadsRequest) |
5349 | } |
5350 | |
5351 | void ThreadsRequest::SharedCtor() { |
5352 | } |
5353 | |
5354 | ThreadsRequest::~ThreadsRequest() { |
5355 | // @@protoc_insertion_point(destructor:brpc.ThreadsRequest) |
5356 | SharedDtor(); |
5357 | } |
5358 | |
5359 | void ThreadsRequest::SharedDtor() { |
5360 | } |
5361 | |
5362 | void ThreadsRequest::SetCachedSize(int size) const { |
5363 | _cached_size_.Set(size); |
5364 | } |
5365 | const ThreadsRequest& ThreadsRequest::default_instance() { |
5366 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ThreadsRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
5367 | return *internal_default_instance(); |
5368 | } |
5369 | |
5370 | |
5371 | void ThreadsRequest::Clear() { |
5372 | // @@protoc_insertion_point(message_clear_start:brpc.ThreadsRequest) |
5373 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5374 | // Prevent compiler warnings about cached_has_bits being unused |
5375 | (void) cached_has_bits; |
5376 | |
5377 | _has_bits_.Clear(); |
5378 | _internal_metadata_.Clear(); |
5379 | } |
5380 | |
5381 | const char* ThreadsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
5382 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
5383 | while (!ctx->Done(&ptr)) { |
5384 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
5385 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
5386 | CHK_(ptr); |
5387 | if ((tag & 7) == 4 || tag == 0) { |
5388 | ctx->SetLastTag(tag); |
5389 | goto success; |
5390 | } |
5391 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
5392 | CHK_(ptr != nullptr); |
5393 | continue; |
5394 | } // while |
5395 | success: |
5396 | return ptr; |
5397 | failure: |
5398 | ptr = nullptr; |
5399 | goto success; |
5400 | #undef CHK_ |
5401 | } |
5402 | |
5403 | ::PROTOBUF_NAMESPACE_ID::uint8* ThreadsRequest::_InternalSerialize( |
5404 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5405 | // @@protoc_insertion_point(serialize_to_array_start:brpc.ThreadsRequest) |
5406 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5407 | (void) cached_has_bits; |
5408 | |
5409 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5410 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
5411 | _internal_metadata_.unknown_fields(), target, stream); |
5412 | } |
5413 | // @@protoc_insertion_point(serialize_to_array_end:brpc.ThreadsRequest) |
5414 | return target; |
5415 | } |
5416 | |
5417 | size_t ThreadsRequest::ByteSizeLong() const { |
5418 | // @@protoc_insertion_point(message_byte_size_start:brpc.ThreadsRequest) |
5419 | size_t total_size = 0; |
5420 | |
5421 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5422 | // Prevent compiler warnings about cached_has_bits being unused |
5423 | (void) cached_has_bits; |
5424 | |
5425 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5426 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
5427 | _internal_metadata_, total_size, &_cached_size_); |
5428 | } |
5429 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
5430 | SetCachedSize(cached_size); |
5431 | return total_size; |
5432 | } |
5433 | |
5434 | void ThreadsRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
5435 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.ThreadsRequest) |
5436 | GOOGLE_DCHECK_NE(&from, this); |
5437 | const ThreadsRequest* source = |
5438 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ThreadsRequest>( |
5439 | &from); |
5440 | if (source == nullptr) { |
5441 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.ThreadsRequest) |
5442 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
5443 | } else { |
5444 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.ThreadsRequest) |
5445 | MergeFrom(*source); |
5446 | } |
5447 | } |
5448 | |
5449 | void ThreadsRequest::MergeFrom(const ThreadsRequest& from) { |
5450 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.ThreadsRequest) |
5451 | GOOGLE_DCHECK_NE(&from, this); |
5452 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5453 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5454 | (void) cached_has_bits; |
5455 | |
5456 | } |
5457 | |
5458 | void ThreadsRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
5459 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.ThreadsRequest) |
5460 | if (&from == this) return; |
5461 | Clear(); |
5462 | MergeFrom(from); |
5463 | } |
5464 | |
5465 | void ThreadsRequest::CopyFrom(const ThreadsRequest& from) { |
5466 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.ThreadsRequest) |
5467 | if (&from == this) return; |
5468 | Clear(); |
5469 | MergeFrom(from); |
5470 | } |
5471 | |
5472 | bool ThreadsRequest::IsInitialized() const { |
5473 | return true; |
5474 | } |
5475 | |
5476 | void ThreadsRequest::InternalSwap(ThreadsRequest* other) { |
5477 | using std::swap; |
5478 | _internal_metadata_.Swap(&other->_internal_metadata_); |
5479 | swap(_has_bits_[0], other->_has_bits_[0]); |
5480 | } |
5481 | |
5482 | ::PROTOBUF_NAMESPACE_ID::Metadata ThreadsRequest::GetMetadata() const { |
5483 | return GetMetadataStatic(); |
5484 | } |
5485 | |
5486 | |
5487 | // =================================================================== |
5488 | |
5489 | void ThreadsResponse::InitAsDefaultInstance() { |
5490 | } |
5491 | class ThreadsResponse::_Internal { |
5492 | public: |
5493 | using HasBits = decltype(std::declval<ThreadsResponse>()._has_bits_); |
5494 | }; |
5495 | |
5496 | ThreadsResponse::ThreadsResponse() |
5497 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
5498 | SharedCtor(); |
5499 | // @@protoc_insertion_point(constructor:brpc.ThreadsResponse) |
5500 | } |
5501 | ThreadsResponse::ThreadsResponse(const ThreadsResponse& from) |
5502 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
5503 | _internal_metadata_(nullptr), |
5504 | _has_bits_(from._has_bits_) { |
5505 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5506 | // @@protoc_insertion_point(copy_constructor:brpc.ThreadsResponse) |
5507 | } |
5508 | |
5509 | void ThreadsResponse::SharedCtor() { |
5510 | } |
5511 | |
5512 | ThreadsResponse::~ThreadsResponse() { |
5513 | // @@protoc_insertion_point(destructor:brpc.ThreadsResponse) |
5514 | SharedDtor(); |
5515 | } |
5516 | |
5517 | void ThreadsResponse::SharedDtor() { |
5518 | } |
5519 | |
5520 | void ThreadsResponse::SetCachedSize(int size) const { |
5521 | _cached_size_.Set(size); |
5522 | } |
5523 | const ThreadsResponse& ThreadsResponse::default_instance() { |
5524 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ThreadsResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
5525 | return *internal_default_instance(); |
5526 | } |
5527 | |
5528 | |
5529 | void ThreadsResponse::Clear() { |
5530 | // @@protoc_insertion_point(message_clear_start:brpc.ThreadsResponse) |
5531 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5532 | // Prevent compiler warnings about cached_has_bits being unused |
5533 | (void) cached_has_bits; |
5534 | |
5535 | _has_bits_.Clear(); |
5536 | _internal_metadata_.Clear(); |
5537 | } |
5538 | |
5539 | const char* ThreadsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
5540 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
5541 | while (!ctx->Done(&ptr)) { |
5542 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
5543 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
5544 | CHK_(ptr); |
5545 | if ((tag & 7) == 4 || tag == 0) { |
5546 | ctx->SetLastTag(tag); |
5547 | goto success; |
5548 | } |
5549 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
5550 | CHK_(ptr != nullptr); |
5551 | continue; |
5552 | } // while |
5553 | success: |
5554 | return ptr; |
5555 | failure: |
5556 | ptr = nullptr; |
5557 | goto success; |
5558 | #undef CHK_ |
5559 | } |
5560 | |
5561 | ::PROTOBUF_NAMESPACE_ID::uint8* ThreadsResponse::_InternalSerialize( |
5562 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5563 | // @@protoc_insertion_point(serialize_to_array_start:brpc.ThreadsResponse) |
5564 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5565 | (void) cached_has_bits; |
5566 | |
5567 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5568 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
5569 | _internal_metadata_.unknown_fields(), target, stream); |
5570 | } |
5571 | // @@protoc_insertion_point(serialize_to_array_end:brpc.ThreadsResponse) |
5572 | return target; |
5573 | } |
5574 | |
5575 | size_t ThreadsResponse::ByteSizeLong() const { |
5576 | // @@protoc_insertion_point(message_byte_size_start:brpc.ThreadsResponse) |
5577 | size_t total_size = 0; |
5578 | |
5579 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5580 | // Prevent compiler warnings about cached_has_bits being unused |
5581 | (void) cached_has_bits; |
5582 | |
5583 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5584 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
5585 | _internal_metadata_, total_size, &_cached_size_); |
5586 | } |
5587 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
5588 | SetCachedSize(cached_size); |
5589 | return total_size; |
5590 | } |
5591 | |
5592 | void ThreadsResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
5593 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.ThreadsResponse) |
5594 | GOOGLE_DCHECK_NE(&from, this); |
5595 | const ThreadsResponse* source = |
5596 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ThreadsResponse>( |
5597 | &from); |
5598 | if (source == nullptr) { |
5599 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.ThreadsResponse) |
5600 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
5601 | } else { |
5602 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.ThreadsResponse) |
5603 | MergeFrom(*source); |
5604 | } |
5605 | } |
5606 | |
5607 | void ThreadsResponse::MergeFrom(const ThreadsResponse& from) { |
5608 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.ThreadsResponse) |
5609 | GOOGLE_DCHECK_NE(&from, this); |
5610 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5611 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5612 | (void) cached_has_bits; |
5613 | |
5614 | } |
5615 | |
5616 | void ThreadsResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
5617 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.ThreadsResponse) |
5618 | if (&from == this) return; |
5619 | Clear(); |
5620 | MergeFrom(from); |
5621 | } |
5622 | |
5623 | void ThreadsResponse::CopyFrom(const ThreadsResponse& from) { |
5624 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.ThreadsResponse) |
5625 | if (&from == this) return; |
5626 | Clear(); |
5627 | MergeFrom(from); |
5628 | } |
5629 | |
5630 | bool ThreadsResponse::IsInitialized() const { |
5631 | return true; |
5632 | } |
5633 | |
5634 | void ThreadsResponse::InternalSwap(ThreadsResponse* other) { |
5635 | using std::swap; |
5636 | _internal_metadata_.Swap(&other->_internal_metadata_); |
5637 | swap(_has_bits_[0], other->_has_bits_[0]); |
5638 | } |
5639 | |
5640 | ::PROTOBUF_NAMESPACE_ID::Metadata ThreadsResponse::GetMetadata() const { |
5641 | return GetMetadataStatic(); |
5642 | } |
5643 | |
5644 | |
5645 | // =================================================================== |
5646 | |
5647 | void DirRequest::InitAsDefaultInstance() { |
5648 | } |
5649 | class DirRequest::_Internal { |
5650 | public: |
5651 | using HasBits = decltype(std::declval<DirRequest>()._has_bits_); |
5652 | }; |
5653 | |
5654 | DirRequest::DirRequest() |
5655 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
5656 | SharedCtor(); |
5657 | // @@protoc_insertion_point(constructor:brpc.DirRequest) |
5658 | } |
5659 | DirRequest::DirRequest(const DirRequest& from) |
5660 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
5661 | _internal_metadata_(nullptr), |
5662 | _has_bits_(from._has_bits_) { |
5663 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5664 | // @@protoc_insertion_point(copy_constructor:brpc.DirRequest) |
5665 | } |
5666 | |
5667 | void DirRequest::SharedCtor() { |
5668 | } |
5669 | |
5670 | DirRequest::~DirRequest() { |
5671 | // @@protoc_insertion_point(destructor:brpc.DirRequest) |
5672 | SharedDtor(); |
5673 | } |
5674 | |
5675 | void DirRequest::SharedDtor() { |
5676 | } |
5677 | |
5678 | void DirRequest::SetCachedSize(int size) const { |
5679 | _cached_size_.Set(size); |
5680 | } |
5681 | const DirRequest& DirRequest::default_instance() { |
5682 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DirRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
5683 | return *internal_default_instance(); |
5684 | } |
5685 | |
5686 | |
5687 | void DirRequest::Clear() { |
5688 | // @@protoc_insertion_point(message_clear_start:brpc.DirRequest) |
5689 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5690 | // Prevent compiler warnings about cached_has_bits being unused |
5691 | (void) cached_has_bits; |
5692 | |
5693 | _has_bits_.Clear(); |
5694 | _internal_metadata_.Clear(); |
5695 | } |
5696 | |
5697 | const char* DirRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
5698 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
5699 | while (!ctx->Done(&ptr)) { |
5700 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
5701 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
5702 | CHK_(ptr); |
5703 | if ((tag & 7) == 4 || tag == 0) { |
5704 | ctx->SetLastTag(tag); |
5705 | goto success; |
5706 | } |
5707 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
5708 | CHK_(ptr != nullptr); |
5709 | continue; |
5710 | } // while |
5711 | success: |
5712 | return ptr; |
5713 | failure: |
5714 | ptr = nullptr; |
5715 | goto success; |
5716 | #undef CHK_ |
5717 | } |
5718 | |
5719 | ::PROTOBUF_NAMESPACE_ID::uint8* DirRequest::_InternalSerialize( |
5720 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5721 | // @@protoc_insertion_point(serialize_to_array_start:brpc.DirRequest) |
5722 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5723 | (void) cached_has_bits; |
5724 | |
5725 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5726 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
5727 | _internal_metadata_.unknown_fields(), target, stream); |
5728 | } |
5729 | // @@protoc_insertion_point(serialize_to_array_end:brpc.DirRequest) |
5730 | return target; |
5731 | } |
5732 | |
5733 | size_t DirRequest::ByteSizeLong() const { |
5734 | // @@protoc_insertion_point(message_byte_size_start:brpc.DirRequest) |
5735 | size_t total_size = 0; |
5736 | |
5737 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5738 | // Prevent compiler warnings about cached_has_bits being unused |
5739 | (void) cached_has_bits; |
5740 | |
5741 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5742 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
5743 | _internal_metadata_, total_size, &_cached_size_); |
5744 | } |
5745 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
5746 | SetCachedSize(cached_size); |
5747 | return total_size; |
5748 | } |
5749 | |
5750 | void DirRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
5751 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.DirRequest) |
5752 | GOOGLE_DCHECK_NE(&from, this); |
5753 | const DirRequest* source = |
5754 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<DirRequest>( |
5755 | &from); |
5756 | if (source == nullptr) { |
5757 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.DirRequest) |
5758 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
5759 | } else { |
5760 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.DirRequest) |
5761 | MergeFrom(*source); |
5762 | } |
5763 | } |
5764 | |
5765 | void DirRequest::MergeFrom(const DirRequest& from) { |
5766 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.DirRequest) |
5767 | GOOGLE_DCHECK_NE(&from, this); |
5768 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5769 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5770 | (void) cached_has_bits; |
5771 | |
5772 | } |
5773 | |
5774 | void DirRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
5775 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.DirRequest) |
5776 | if (&from == this) return; |
5777 | Clear(); |
5778 | MergeFrom(from); |
5779 | } |
5780 | |
5781 | void DirRequest::CopyFrom(const DirRequest& from) { |
5782 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.DirRequest) |
5783 | if (&from == this) return; |
5784 | Clear(); |
5785 | MergeFrom(from); |
5786 | } |
5787 | |
5788 | bool DirRequest::IsInitialized() const { |
5789 | return true; |
5790 | } |
5791 | |
5792 | void DirRequest::InternalSwap(DirRequest* other) { |
5793 | using std::swap; |
5794 | _internal_metadata_.Swap(&other->_internal_metadata_); |
5795 | swap(_has_bits_[0], other->_has_bits_[0]); |
5796 | } |
5797 | |
5798 | ::PROTOBUF_NAMESPACE_ID::Metadata DirRequest::GetMetadata() const { |
5799 | return GetMetadataStatic(); |
5800 | } |
5801 | |
5802 | |
5803 | // =================================================================== |
5804 | |
5805 | void DirResponse::InitAsDefaultInstance() { |
5806 | } |
5807 | class DirResponse::_Internal { |
5808 | public: |
5809 | using HasBits = decltype(std::declval<DirResponse>()._has_bits_); |
5810 | }; |
5811 | |
5812 | DirResponse::DirResponse() |
5813 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
5814 | SharedCtor(); |
5815 | // @@protoc_insertion_point(constructor:brpc.DirResponse) |
5816 | } |
5817 | DirResponse::DirResponse(const DirResponse& from) |
5818 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
5819 | _internal_metadata_(nullptr), |
5820 | _has_bits_(from._has_bits_) { |
5821 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5822 | // @@protoc_insertion_point(copy_constructor:brpc.DirResponse) |
5823 | } |
5824 | |
5825 | void DirResponse::SharedCtor() { |
5826 | } |
5827 | |
5828 | DirResponse::~DirResponse() { |
5829 | // @@protoc_insertion_point(destructor:brpc.DirResponse) |
5830 | SharedDtor(); |
5831 | } |
5832 | |
5833 | void DirResponse::SharedDtor() { |
5834 | } |
5835 | |
5836 | void DirResponse::SetCachedSize(int size) const { |
5837 | _cached_size_.Set(size); |
5838 | } |
5839 | const DirResponse& DirResponse::default_instance() { |
5840 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DirResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
5841 | return *internal_default_instance(); |
5842 | } |
5843 | |
5844 | |
5845 | void DirResponse::Clear() { |
5846 | // @@protoc_insertion_point(message_clear_start:brpc.DirResponse) |
5847 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5848 | // Prevent compiler warnings about cached_has_bits being unused |
5849 | (void) cached_has_bits; |
5850 | |
5851 | _has_bits_.Clear(); |
5852 | _internal_metadata_.Clear(); |
5853 | } |
5854 | |
5855 | const char* DirResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
5856 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
5857 | while (!ctx->Done(&ptr)) { |
5858 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
5859 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
5860 | CHK_(ptr); |
5861 | if ((tag & 7) == 4 || tag == 0) { |
5862 | ctx->SetLastTag(tag); |
5863 | goto success; |
5864 | } |
5865 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
5866 | CHK_(ptr != nullptr); |
5867 | continue; |
5868 | } // while |
5869 | success: |
5870 | return ptr; |
5871 | failure: |
5872 | ptr = nullptr; |
5873 | goto success; |
5874 | #undef CHK_ |
5875 | } |
5876 | |
5877 | ::PROTOBUF_NAMESPACE_ID::uint8* DirResponse::_InternalSerialize( |
5878 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
5879 | // @@protoc_insertion_point(serialize_to_array_start:brpc.DirResponse) |
5880 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5881 | (void) cached_has_bits; |
5882 | |
5883 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5884 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
5885 | _internal_metadata_.unknown_fields(), target, stream); |
5886 | } |
5887 | // @@protoc_insertion_point(serialize_to_array_end:brpc.DirResponse) |
5888 | return target; |
5889 | } |
5890 | |
5891 | size_t DirResponse::ByteSizeLong() const { |
5892 | // @@protoc_insertion_point(message_byte_size_start:brpc.DirResponse) |
5893 | size_t total_size = 0; |
5894 | |
5895 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5896 | // Prevent compiler warnings about cached_has_bits being unused |
5897 | (void) cached_has_bits; |
5898 | |
5899 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
5900 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
5901 | _internal_metadata_, total_size, &_cached_size_); |
5902 | } |
5903 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
5904 | SetCachedSize(cached_size); |
5905 | return total_size; |
5906 | } |
5907 | |
5908 | void DirResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
5909 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.DirResponse) |
5910 | GOOGLE_DCHECK_NE(&from, this); |
5911 | const DirResponse* source = |
5912 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<DirResponse>( |
5913 | &from); |
5914 | if (source == nullptr) { |
5915 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.DirResponse) |
5916 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
5917 | } else { |
5918 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.DirResponse) |
5919 | MergeFrom(*source); |
5920 | } |
5921 | } |
5922 | |
5923 | void DirResponse::MergeFrom(const DirResponse& from) { |
5924 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.DirResponse) |
5925 | GOOGLE_DCHECK_NE(&from, this); |
5926 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5927 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
5928 | (void) cached_has_bits; |
5929 | |
5930 | } |
5931 | |
5932 | void DirResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
5933 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.DirResponse) |
5934 | if (&from == this) return; |
5935 | Clear(); |
5936 | MergeFrom(from); |
5937 | } |
5938 | |
5939 | void DirResponse::CopyFrom(const DirResponse& from) { |
5940 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.DirResponse) |
5941 | if (&from == this) return; |
5942 | Clear(); |
5943 | MergeFrom(from); |
5944 | } |
5945 | |
5946 | bool DirResponse::IsInitialized() const { |
5947 | return true; |
5948 | } |
5949 | |
5950 | void DirResponse::InternalSwap(DirResponse* other) { |
5951 | using std::swap; |
5952 | _internal_metadata_.Swap(&other->_internal_metadata_); |
5953 | swap(_has_bits_[0], other->_has_bits_[0]); |
5954 | } |
5955 | |
5956 | ::PROTOBUF_NAMESPACE_ID::Metadata DirResponse::GetMetadata() const { |
5957 | return GetMetadataStatic(); |
5958 | } |
5959 | |
5960 | |
5961 | // =================================================================== |
5962 | |
5963 | void VLogRequest::InitAsDefaultInstance() { |
5964 | } |
5965 | class VLogRequest::_Internal { |
5966 | public: |
5967 | using HasBits = decltype(std::declval<VLogRequest>()._has_bits_); |
5968 | }; |
5969 | |
5970 | VLogRequest::VLogRequest() |
5971 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
5972 | SharedCtor(); |
5973 | // @@protoc_insertion_point(constructor:brpc.VLogRequest) |
5974 | } |
5975 | VLogRequest::VLogRequest(const VLogRequest& from) |
5976 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
5977 | _internal_metadata_(nullptr), |
5978 | _has_bits_(from._has_bits_) { |
5979 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5980 | // @@protoc_insertion_point(copy_constructor:brpc.VLogRequest) |
5981 | } |
5982 | |
5983 | void VLogRequest::SharedCtor() { |
5984 | } |
5985 | |
5986 | VLogRequest::~VLogRequest() { |
5987 | // @@protoc_insertion_point(destructor:brpc.VLogRequest) |
5988 | SharedDtor(); |
5989 | } |
5990 | |
5991 | void VLogRequest::SharedDtor() { |
5992 | } |
5993 | |
5994 | void VLogRequest::SetCachedSize(int size) const { |
5995 | _cached_size_.Set(size); |
5996 | } |
5997 | const VLogRequest& VLogRequest::default_instance() { |
5998 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VLogRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
5999 | return *internal_default_instance(); |
6000 | } |
6001 | |
6002 | |
6003 | void VLogRequest::Clear() { |
6004 | // @@protoc_insertion_point(message_clear_start:brpc.VLogRequest) |
6005 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6006 | // Prevent compiler warnings about cached_has_bits being unused |
6007 | (void) cached_has_bits; |
6008 | |
6009 | _has_bits_.Clear(); |
6010 | _internal_metadata_.Clear(); |
6011 | } |
6012 | |
6013 | const char* VLogRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
6014 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
6015 | while (!ctx->Done(&ptr)) { |
6016 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
6017 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
6018 | CHK_(ptr); |
6019 | if ((tag & 7) == 4 || tag == 0) { |
6020 | ctx->SetLastTag(tag); |
6021 | goto success; |
6022 | } |
6023 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
6024 | CHK_(ptr != nullptr); |
6025 | continue; |
6026 | } // while |
6027 | success: |
6028 | return ptr; |
6029 | failure: |
6030 | ptr = nullptr; |
6031 | goto success; |
6032 | #undef CHK_ |
6033 | } |
6034 | |
6035 | ::PROTOBUF_NAMESPACE_ID::uint8* VLogRequest::_InternalSerialize( |
6036 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
6037 | // @@protoc_insertion_point(serialize_to_array_start:brpc.VLogRequest) |
6038 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6039 | (void) cached_has_bits; |
6040 | |
6041 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6042 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
6043 | _internal_metadata_.unknown_fields(), target, stream); |
6044 | } |
6045 | // @@protoc_insertion_point(serialize_to_array_end:brpc.VLogRequest) |
6046 | return target; |
6047 | } |
6048 | |
6049 | size_t VLogRequest::ByteSizeLong() const { |
6050 | // @@protoc_insertion_point(message_byte_size_start:brpc.VLogRequest) |
6051 | size_t total_size = 0; |
6052 | |
6053 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6054 | // Prevent compiler warnings about cached_has_bits being unused |
6055 | (void) cached_has_bits; |
6056 | |
6057 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6058 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
6059 | _internal_metadata_, total_size, &_cached_size_); |
6060 | } |
6061 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
6062 | SetCachedSize(cached_size); |
6063 | return total_size; |
6064 | } |
6065 | |
6066 | void VLogRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
6067 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.VLogRequest) |
6068 | GOOGLE_DCHECK_NE(&from, this); |
6069 | const VLogRequest* source = |
6070 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VLogRequest>( |
6071 | &from); |
6072 | if (source == nullptr) { |
6073 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.VLogRequest) |
6074 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
6075 | } else { |
6076 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.VLogRequest) |
6077 | MergeFrom(*source); |
6078 | } |
6079 | } |
6080 | |
6081 | void VLogRequest::MergeFrom(const VLogRequest& from) { |
6082 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.VLogRequest) |
6083 | GOOGLE_DCHECK_NE(&from, this); |
6084 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6085 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6086 | (void) cached_has_bits; |
6087 | |
6088 | } |
6089 | |
6090 | void VLogRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
6091 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.VLogRequest) |
6092 | if (&from == this) return; |
6093 | Clear(); |
6094 | MergeFrom(from); |
6095 | } |
6096 | |
6097 | void VLogRequest::CopyFrom(const VLogRequest& from) { |
6098 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.VLogRequest) |
6099 | if (&from == this) return; |
6100 | Clear(); |
6101 | MergeFrom(from); |
6102 | } |
6103 | |
6104 | bool VLogRequest::IsInitialized() const { |
6105 | return true; |
6106 | } |
6107 | |
6108 | void VLogRequest::InternalSwap(VLogRequest* other) { |
6109 | using std::swap; |
6110 | _internal_metadata_.Swap(&other->_internal_metadata_); |
6111 | swap(_has_bits_[0], other->_has_bits_[0]); |
6112 | } |
6113 | |
6114 | ::PROTOBUF_NAMESPACE_ID::Metadata VLogRequest::GetMetadata() const { |
6115 | return GetMetadataStatic(); |
6116 | } |
6117 | |
6118 | |
6119 | // =================================================================== |
6120 | |
6121 | void VLogResponse::InitAsDefaultInstance() { |
6122 | } |
6123 | class VLogResponse::_Internal { |
6124 | public: |
6125 | using HasBits = decltype(std::declval<VLogResponse>()._has_bits_); |
6126 | }; |
6127 | |
6128 | VLogResponse::VLogResponse() |
6129 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
6130 | SharedCtor(); |
6131 | // @@protoc_insertion_point(constructor:brpc.VLogResponse) |
6132 | } |
6133 | VLogResponse::VLogResponse(const VLogResponse& from) |
6134 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
6135 | _internal_metadata_(nullptr), |
6136 | _has_bits_(from._has_bits_) { |
6137 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6138 | // @@protoc_insertion_point(copy_constructor:brpc.VLogResponse) |
6139 | } |
6140 | |
6141 | void VLogResponse::SharedCtor() { |
6142 | } |
6143 | |
6144 | VLogResponse::~VLogResponse() { |
6145 | // @@protoc_insertion_point(destructor:brpc.VLogResponse) |
6146 | SharedDtor(); |
6147 | } |
6148 | |
6149 | void VLogResponse::SharedDtor() { |
6150 | } |
6151 | |
6152 | void VLogResponse::SetCachedSize(int size) const { |
6153 | _cached_size_.Set(size); |
6154 | } |
6155 | const VLogResponse& VLogResponse::default_instance() { |
6156 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VLogResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
6157 | return *internal_default_instance(); |
6158 | } |
6159 | |
6160 | |
6161 | void VLogResponse::Clear() { |
6162 | // @@protoc_insertion_point(message_clear_start:brpc.VLogResponse) |
6163 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6164 | // Prevent compiler warnings about cached_has_bits being unused |
6165 | (void) cached_has_bits; |
6166 | |
6167 | _has_bits_.Clear(); |
6168 | _internal_metadata_.Clear(); |
6169 | } |
6170 | |
6171 | const char* VLogResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
6172 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
6173 | while (!ctx->Done(&ptr)) { |
6174 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
6175 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
6176 | CHK_(ptr); |
6177 | if ((tag & 7) == 4 || tag == 0) { |
6178 | ctx->SetLastTag(tag); |
6179 | goto success; |
6180 | } |
6181 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
6182 | CHK_(ptr != nullptr); |
6183 | continue; |
6184 | } // while |
6185 | success: |
6186 | return ptr; |
6187 | failure: |
6188 | ptr = nullptr; |
6189 | goto success; |
6190 | #undef CHK_ |
6191 | } |
6192 | |
6193 | ::PROTOBUF_NAMESPACE_ID::uint8* VLogResponse::_InternalSerialize( |
6194 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
6195 | // @@protoc_insertion_point(serialize_to_array_start:brpc.VLogResponse) |
6196 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6197 | (void) cached_has_bits; |
6198 | |
6199 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6200 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
6201 | _internal_metadata_.unknown_fields(), target, stream); |
6202 | } |
6203 | // @@protoc_insertion_point(serialize_to_array_end:brpc.VLogResponse) |
6204 | return target; |
6205 | } |
6206 | |
6207 | size_t VLogResponse::ByteSizeLong() const { |
6208 | // @@protoc_insertion_point(message_byte_size_start:brpc.VLogResponse) |
6209 | size_t total_size = 0; |
6210 | |
6211 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6212 | // Prevent compiler warnings about cached_has_bits being unused |
6213 | (void) cached_has_bits; |
6214 | |
6215 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6216 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
6217 | _internal_metadata_, total_size, &_cached_size_); |
6218 | } |
6219 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
6220 | SetCachedSize(cached_size); |
6221 | return total_size; |
6222 | } |
6223 | |
6224 | void VLogResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
6225 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.VLogResponse) |
6226 | GOOGLE_DCHECK_NE(&from, this); |
6227 | const VLogResponse* source = |
6228 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VLogResponse>( |
6229 | &from); |
6230 | if (source == nullptr) { |
6231 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.VLogResponse) |
6232 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
6233 | } else { |
6234 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.VLogResponse) |
6235 | MergeFrom(*source); |
6236 | } |
6237 | } |
6238 | |
6239 | void VLogResponse::MergeFrom(const VLogResponse& from) { |
6240 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.VLogResponse) |
6241 | GOOGLE_DCHECK_NE(&from, this); |
6242 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6243 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6244 | (void) cached_has_bits; |
6245 | |
6246 | } |
6247 | |
6248 | void VLogResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
6249 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.VLogResponse) |
6250 | if (&from == this) return; |
6251 | Clear(); |
6252 | MergeFrom(from); |
6253 | } |
6254 | |
6255 | void VLogResponse::CopyFrom(const VLogResponse& from) { |
6256 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.VLogResponse) |
6257 | if (&from == this) return; |
6258 | Clear(); |
6259 | MergeFrom(from); |
6260 | } |
6261 | |
6262 | bool VLogResponse::IsInitialized() const { |
6263 | return true; |
6264 | } |
6265 | |
6266 | void VLogResponse::InternalSwap(VLogResponse* other) { |
6267 | using std::swap; |
6268 | _internal_metadata_.Swap(&other->_internal_metadata_); |
6269 | swap(_has_bits_[0], other->_has_bits_[0]); |
6270 | } |
6271 | |
6272 | ::PROTOBUF_NAMESPACE_ID::Metadata VLogResponse::GetMetadata() const { |
6273 | return GetMetadataStatic(); |
6274 | } |
6275 | |
6276 | |
6277 | // =================================================================== |
6278 | |
6279 | void MetricsRequest::InitAsDefaultInstance() { |
6280 | } |
6281 | class MetricsRequest::_Internal { |
6282 | public: |
6283 | using HasBits = decltype(std::declval<MetricsRequest>()._has_bits_); |
6284 | }; |
6285 | |
6286 | MetricsRequest::MetricsRequest() |
6287 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
6288 | SharedCtor(); |
6289 | // @@protoc_insertion_point(constructor:brpc.MetricsRequest) |
6290 | } |
6291 | MetricsRequest::MetricsRequest(const MetricsRequest& from) |
6292 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
6293 | _internal_metadata_(nullptr), |
6294 | _has_bits_(from._has_bits_) { |
6295 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6296 | // @@protoc_insertion_point(copy_constructor:brpc.MetricsRequest) |
6297 | } |
6298 | |
6299 | void MetricsRequest::SharedCtor() { |
6300 | } |
6301 | |
6302 | MetricsRequest::~MetricsRequest() { |
6303 | // @@protoc_insertion_point(destructor:brpc.MetricsRequest) |
6304 | SharedDtor(); |
6305 | } |
6306 | |
6307 | void MetricsRequest::SharedDtor() { |
6308 | } |
6309 | |
6310 | void MetricsRequest::SetCachedSize(int size) const { |
6311 | _cached_size_.Set(size); |
6312 | } |
6313 | const MetricsRequest& MetricsRequest::default_instance() { |
6314 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_MetricsRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
6315 | return *internal_default_instance(); |
6316 | } |
6317 | |
6318 | |
6319 | void MetricsRequest::Clear() { |
6320 | // @@protoc_insertion_point(message_clear_start:brpc.MetricsRequest) |
6321 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6322 | // Prevent compiler warnings about cached_has_bits being unused |
6323 | (void) cached_has_bits; |
6324 | |
6325 | _has_bits_.Clear(); |
6326 | _internal_metadata_.Clear(); |
6327 | } |
6328 | |
6329 | const char* MetricsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
6330 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
6331 | while (!ctx->Done(&ptr)) { |
6332 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
6333 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
6334 | CHK_(ptr); |
6335 | if ((tag & 7) == 4 || tag == 0) { |
6336 | ctx->SetLastTag(tag); |
6337 | goto success; |
6338 | } |
6339 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
6340 | CHK_(ptr != nullptr); |
6341 | continue; |
6342 | } // while |
6343 | success: |
6344 | return ptr; |
6345 | failure: |
6346 | ptr = nullptr; |
6347 | goto success; |
6348 | #undef CHK_ |
6349 | } |
6350 | |
6351 | ::PROTOBUF_NAMESPACE_ID::uint8* MetricsRequest::_InternalSerialize( |
6352 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
6353 | // @@protoc_insertion_point(serialize_to_array_start:brpc.MetricsRequest) |
6354 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6355 | (void) cached_has_bits; |
6356 | |
6357 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6358 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
6359 | _internal_metadata_.unknown_fields(), target, stream); |
6360 | } |
6361 | // @@protoc_insertion_point(serialize_to_array_end:brpc.MetricsRequest) |
6362 | return target; |
6363 | } |
6364 | |
6365 | size_t MetricsRequest::ByteSizeLong() const { |
6366 | // @@protoc_insertion_point(message_byte_size_start:brpc.MetricsRequest) |
6367 | size_t total_size = 0; |
6368 | |
6369 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6370 | // Prevent compiler warnings about cached_has_bits being unused |
6371 | (void) cached_has_bits; |
6372 | |
6373 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6374 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
6375 | _internal_metadata_, total_size, &_cached_size_); |
6376 | } |
6377 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
6378 | SetCachedSize(cached_size); |
6379 | return total_size; |
6380 | } |
6381 | |
6382 | void MetricsRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
6383 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.MetricsRequest) |
6384 | GOOGLE_DCHECK_NE(&from, this); |
6385 | const MetricsRequest* source = |
6386 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<MetricsRequest>( |
6387 | &from); |
6388 | if (source == nullptr) { |
6389 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.MetricsRequest) |
6390 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
6391 | } else { |
6392 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.MetricsRequest) |
6393 | MergeFrom(*source); |
6394 | } |
6395 | } |
6396 | |
6397 | void MetricsRequest::MergeFrom(const MetricsRequest& from) { |
6398 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.MetricsRequest) |
6399 | GOOGLE_DCHECK_NE(&from, this); |
6400 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6401 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6402 | (void) cached_has_bits; |
6403 | |
6404 | } |
6405 | |
6406 | void MetricsRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
6407 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.MetricsRequest) |
6408 | if (&from == this) return; |
6409 | Clear(); |
6410 | MergeFrom(from); |
6411 | } |
6412 | |
6413 | void MetricsRequest::CopyFrom(const MetricsRequest& from) { |
6414 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.MetricsRequest) |
6415 | if (&from == this) return; |
6416 | Clear(); |
6417 | MergeFrom(from); |
6418 | } |
6419 | |
6420 | bool MetricsRequest::IsInitialized() const { |
6421 | return true; |
6422 | } |
6423 | |
6424 | void MetricsRequest::InternalSwap(MetricsRequest* other) { |
6425 | using std::swap; |
6426 | _internal_metadata_.Swap(&other->_internal_metadata_); |
6427 | swap(_has_bits_[0], other->_has_bits_[0]); |
6428 | } |
6429 | |
6430 | ::PROTOBUF_NAMESPACE_ID::Metadata MetricsRequest::GetMetadata() const { |
6431 | return GetMetadataStatic(); |
6432 | } |
6433 | |
6434 | |
6435 | // =================================================================== |
6436 | |
6437 | void MetricsResponse::InitAsDefaultInstance() { |
6438 | } |
6439 | class MetricsResponse::_Internal { |
6440 | public: |
6441 | using HasBits = decltype(std::declval<MetricsResponse>()._has_bits_); |
6442 | }; |
6443 | |
6444 | MetricsResponse::MetricsResponse() |
6445 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
6446 | SharedCtor(); |
6447 | // @@protoc_insertion_point(constructor:brpc.MetricsResponse) |
6448 | } |
6449 | MetricsResponse::MetricsResponse(const MetricsResponse& from) |
6450 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
6451 | _internal_metadata_(nullptr), |
6452 | _has_bits_(from._has_bits_) { |
6453 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6454 | // @@protoc_insertion_point(copy_constructor:brpc.MetricsResponse) |
6455 | } |
6456 | |
6457 | void MetricsResponse::SharedCtor() { |
6458 | } |
6459 | |
6460 | MetricsResponse::~MetricsResponse() { |
6461 | // @@protoc_insertion_point(destructor:brpc.MetricsResponse) |
6462 | SharedDtor(); |
6463 | } |
6464 | |
6465 | void MetricsResponse::SharedDtor() { |
6466 | } |
6467 | |
6468 | void MetricsResponse::SetCachedSize(int size) const { |
6469 | _cached_size_.Set(size); |
6470 | } |
6471 | const MetricsResponse& MetricsResponse::default_instance() { |
6472 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_MetricsResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
6473 | return *internal_default_instance(); |
6474 | } |
6475 | |
6476 | |
6477 | void MetricsResponse::Clear() { |
6478 | // @@protoc_insertion_point(message_clear_start:brpc.MetricsResponse) |
6479 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6480 | // Prevent compiler warnings about cached_has_bits being unused |
6481 | (void) cached_has_bits; |
6482 | |
6483 | _has_bits_.Clear(); |
6484 | _internal_metadata_.Clear(); |
6485 | } |
6486 | |
6487 | const char* MetricsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
6488 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
6489 | while (!ctx->Done(&ptr)) { |
6490 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
6491 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
6492 | CHK_(ptr); |
6493 | if ((tag & 7) == 4 || tag == 0) { |
6494 | ctx->SetLastTag(tag); |
6495 | goto success; |
6496 | } |
6497 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
6498 | CHK_(ptr != nullptr); |
6499 | continue; |
6500 | } // while |
6501 | success: |
6502 | return ptr; |
6503 | failure: |
6504 | ptr = nullptr; |
6505 | goto success; |
6506 | #undef CHK_ |
6507 | } |
6508 | |
6509 | ::PROTOBUF_NAMESPACE_ID::uint8* MetricsResponse::_InternalSerialize( |
6510 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
6511 | // @@protoc_insertion_point(serialize_to_array_start:brpc.MetricsResponse) |
6512 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6513 | (void) cached_has_bits; |
6514 | |
6515 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6516 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
6517 | _internal_metadata_.unknown_fields(), target, stream); |
6518 | } |
6519 | // @@protoc_insertion_point(serialize_to_array_end:brpc.MetricsResponse) |
6520 | return target; |
6521 | } |
6522 | |
6523 | size_t MetricsResponse::ByteSizeLong() const { |
6524 | // @@protoc_insertion_point(message_byte_size_start:brpc.MetricsResponse) |
6525 | size_t total_size = 0; |
6526 | |
6527 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6528 | // Prevent compiler warnings about cached_has_bits being unused |
6529 | (void) cached_has_bits; |
6530 | |
6531 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6532 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
6533 | _internal_metadata_, total_size, &_cached_size_); |
6534 | } |
6535 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
6536 | SetCachedSize(cached_size); |
6537 | return total_size; |
6538 | } |
6539 | |
6540 | void MetricsResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
6541 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.MetricsResponse) |
6542 | GOOGLE_DCHECK_NE(&from, this); |
6543 | const MetricsResponse* source = |
6544 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<MetricsResponse>( |
6545 | &from); |
6546 | if (source == nullptr) { |
6547 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.MetricsResponse) |
6548 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
6549 | } else { |
6550 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.MetricsResponse) |
6551 | MergeFrom(*source); |
6552 | } |
6553 | } |
6554 | |
6555 | void MetricsResponse::MergeFrom(const MetricsResponse& from) { |
6556 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.MetricsResponse) |
6557 | GOOGLE_DCHECK_NE(&from, this); |
6558 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6559 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6560 | (void) cached_has_bits; |
6561 | |
6562 | } |
6563 | |
6564 | void MetricsResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
6565 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.MetricsResponse) |
6566 | if (&from == this) return; |
6567 | Clear(); |
6568 | MergeFrom(from); |
6569 | } |
6570 | |
6571 | void MetricsResponse::CopyFrom(const MetricsResponse& from) { |
6572 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.MetricsResponse) |
6573 | if (&from == this) return; |
6574 | Clear(); |
6575 | MergeFrom(from); |
6576 | } |
6577 | |
6578 | bool MetricsResponse::IsInitialized() const { |
6579 | return true; |
6580 | } |
6581 | |
6582 | void MetricsResponse::InternalSwap(MetricsResponse* other) { |
6583 | using std::swap; |
6584 | _internal_metadata_.Swap(&other->_internal_metadata_); |
6585 | swap(_has_bits_[0], other->_has_bits_[0]); |
6586 | } |
6587 | |
6588 | ::PROTOBUF_NAMESPACE_ID::Metadata MetricsResponse::GetMetadata() const { |
6589 | return GetMetadataStatic(); |
6590 | } |
6591 | |
6592 | |
6593 | // =================================================================== |
6594 | |
6595 | void BadMethodRequest::InitAsDefaultInstance() { |
6596 | } |
6597 | class BadMethodRequest::_Internal { |
6598 | public: |
6599 | using HasBits = decltype(std::declval<BadMethodRequest>()._has_bits_); |
6600 | static void set_has_service_name(HasBits* has_bits) { |
6601 | (*has_bits)[0] |= 1u; |
6602 | } |
6603 | }; |
6604 | |
6605 | BadMethodRequest::BadMethodRequest() |
6606 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
6607 | SharedCtor(); |
6608 | // @@protoc_insertion_point(constructor:brpc.BadMethodRequest) |
6609 | } |
6610 | BadMethodRequest::BadMethodRequest(const BadMethodRequest& from) |
6611 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
6612 | _internal_metadata_(nullptr), |
6613 | _has_bits_(from._has_bits_) { |
6614 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6615 | service_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6616 | if (from._internal_has_service_name()) { |
6617 | service_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.service_name_); |
6618 | } |
6619 | // @@protoc_insertion_point(copy_constructor:brpc.BadMethodRequest) |
6620 | } |
6621 | |
6622 | void BadMethodRequest::SharedCtor() { |
6623 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_BadMethodRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
6624 | service_name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6625 | } |
6626 | |
6627 | BadMethodRequest::~BadMethodRequest() { |
6628 | // @@protoc_insertion_point(destructor:brpc.BadMethodRequest) |
6629 | SharedDtor(); |
6630 | } |
6631 | |
6632 | void BadMethodRequest::SharedDtor() { |
6633 | service_name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
6634 | } |
6635 | |
6636 | void BadMethodRequest::SetCachedSize(int size) const { |
6637 | _cached_size_.Set(size); |
6638 | } |
6639 | const BadMethodRequest& BadMethodRequest::default_instance() { |
6640 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_BadMethodRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
6641 | return *internal_default_instance(); |
6642 | } |
6643 | |
6644 | |
6645 | void BadMethodRequest::Clear() { |
6646 | // @@protoc_insertion_point(message_clear_start:brpc.BadMethodRequest) |
6647 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6648 | // Prevent compiler warnings about cached_has_bits being unused |
6649 | (void) cached_has_bits; |
6650 | |
6651 | cached_has_bits = _has_bits_[0]; |
6652 | if (cached_has_bits & 0x00000001u) { |
6653 | service_name_.ClearNonDefaultToEmptyNoArena(); |
6654 | } |
6655 | _has_bits_.Clear(); |
6656 | _internal_metadata_.Clear(); |
6657 | } |
6658 | |
6659 | const char* BadMethodRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
6660 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
6661 | _Internal::HasBits has_bits{}; |
6662 | while (!ctx->Done(&ptr)) { |
6663 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
6664 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
6665 | CHK_(ptr); |
6666 | switch (tag >> 3) { |
6667 | // required string service_name = 1; |
6668 | case 1: |
6669 | if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { |
6670 | auto str = _internal_mutable_service_name(); |
6671 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); |
6672 | #ifndef NDEBUG |
6673 | ::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "brpc.BadMethodRequest.service_name" ); |
6674 | #endif // !NDEBUG |
6675 | CHK_(ptr); |
6676 | } else goto handle_unusual; |
6677 | continue; |
6678 | default: { |
6679 | handle_unusual: |
6680 | if ((tag & 7) == 4 || tag == 0) { |
6681 | ctx->SetLastTag(tag); |
6682 | goto success; |
6683 | } |
6684 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
6685 | CHK_(ptr != nullptr); |
6686 | continue; |
6687 | } |
6688 | } // switch |
6689 | } // while |
6690 | success: |
6691 | _has_bits_.Or(has_bits); |
6692 | return ptr; |
6693 | failure: |
6694 | ptr = nullptr; |
6695 | goto success; |
6696 | #undef CHK_ |
6697 | } |
6698 | |
6699 | ::PROTOBUF_NAMESPACE_ID::uint8* BadMethodRequest::_InternalSerialize( |
6700 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
6701 | // @@protoc_insertion_point(serialize_to_array_start:brpc.BadMethodRequest) |
6702 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6703 | (void) cached_has_bits; |
6704 | |
6705 | cached_has_bits = _has_bits_[0]; |
6706 | // required string service_name = 1; |
6707 | if (cached_has_bits & 0x00000001u) { |
6708 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField( |
6709 | this->_internal_service_name().data(), static_cast<int>(this->_internal_service_name().length()), |
6710 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE, |
6711 | "brpc.BadMethodRequest.service_name" ); |
6712 | target = stream->WriteStringMaybeAliased( |
6713 | 1, this->_internal_service_name(), target); |
6714 | } |
6715 | |
6716 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6717 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
6718 | _internal_metadata_.unknown_fields(), target, stream); |
6719 | } |
6720 | // @@protoc_insertion_point(serialize_to_array_end:brpc.BadMethodRequest) |
6721 | return target; |
6722 | } |
6723 | |
6724 | size_t BadMethodRequest::ByteSizeLong() const { |
6725 | // @@protoc_insertion_point(message_byte_size_start:brpc.BadMethodRequest) |
6726 | size_t total_size = 0; |
6727 | |
6728 | // required string service_name = 1; |
6729 | if (_internal_has_service_name()) { |
6730 | total_size += 1 + |
6731 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( |
6732 | this->_internal_service_name()); |
6733 | } |
6734 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6735 | // Prevent compiler warnings about cached_has_bits being unused |
6736 | (void) cached_has_bits; |
6737 | |
6738 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6739 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
6740 | _internal_metadata_, total_size, &_cached_size_); |
6741 | } |
6742 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
6743 | SetCachedSize(cached_size); |
6744 | return total_size; |
6745 | } |
6746 | |
6747 | void BadMethodRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
6748 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.BadMethodRequest) |
6749 | GOOGLE_DCHECK_NE(&from, this); |
6750 | const BadMethodRequest* source = |
6751 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<BadMethodRequest>( |
6752 | &from); |
6753 | if (source == nullptr) { |
6754 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.BadMethodRequest) |
6755 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
6756 | } else { |
6757 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.BadMethodRequest) |
6758 | MergeFrom(*source); |
6759 | } |
6760 | } |
6761 | |
6762 | void BadMethodRequest::MergeFrom(const BadMethodRequest& from) { |
6763 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.BadMethodRequest) |
6764 | GOOGLE_DCHECK_NE(&from, this); |
6765 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6766 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6767 | (void) cached_has_bits; |
6768 | |
6769 | if (from._internal_has_service_name()) { |
6770 | _has_bits_[0] |= 0x00000001u; |
6771 | service_name_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.service_name_); |
6772 | } |
6773 | } |
6774 | |
6775 | void BadMethodRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
6776 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.BadMethodRequest) |
6777 | if (&from == this) return; |
6778 | Clear(); |
6779 | MergeFrom(from); |
6780 | } |
6781 | |
6782 | void BadMethodRequest::CopyFrom(const BadMethodRequest& from) { |
6783 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.BadMethodRequest) |
6784 | if (&from == this) return; |
6785 | Clear(); |
6786 | MergeFrom(from); |
6787 | } |
6788 | |
6789 | bool BadMethodRequest::IsInitialized() const { |
6790 | if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; |
6791 | return true; |
6792 | } |
6793 | |
6794 | void BadMethodRequest::InternalSwap(BadMethodRequest* other) { |
6795 | using std::swap; |
6796 | _internal_metadata_.Swap(&other->_internal_metadata_); |
6797 | swap(_has_bits_[0], other->_has_bits_[0]); |
6798 | service_name_.Swap(&other->service_name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
6799 | GetArenaNoVirtual()); |
6800 | } |
6801 | |
6802 | ::PROTOBUF_NAMESPACE_ID::Metadata BadMethodRequest::GetMetadata() const { |
6803 | return GetMetadataStatic(); |
6804 | } |
6805 | |
6806 | |
6807 | // =================================================================== |
6808 | |
6809 | void BadMethodResponse::InitAsDefaultInstance() { |
6810 | } |
6811 | class BadMethodResponse::_Internal { |
6812 | public: |
6813 | using HasBits = decltype(std::declval<BadMethodResponse>()._has_bits_); |
6814 | }; |
6815 | |
6816 | BadMethodResponse::BadMethodResponse() |
6817 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
6818 | SharedCtor(); |
6819 | // @@protoc_insertion_point(constructor:brpc.BadMethodResponse) |
6820 | } |
6821 | BadMethodResponse::BadMethodResponse(const BadMethodResponse& from) |
6822 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
6823 | _internal_metadata_(nullptr), |
6824 | _has_bits_(from._has_bits_) { |
6825 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6826 | // @@protoc_insertion_point(copy_constructor:brpc.BadMethodResponse) |
6827 | } |
6828 | |
6829 | void BadMethodResponse::SharedCtor() { |
6830 | } |
6831 | |
6832 | BadMethodResponse::~BadMethodResponse() { |
6833 | // @@protoc_insertion_point(destructor:brpc.BadMethodResponse) |
6834 | SharedDtor(); |
6835 | } |
6836 | |
6837 | void BadMethodResponse::SharedDtor() { |
6838 | } |
6839 | |
6840 | void BadMethodResponse::SetCachedSize(int size) const { |
6841 | _cached_size_.Set(size); |
6842 | } |
6843 | const BadMethodResponse& BadMethodResponse::default_instance() { |
6844 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_BadMethodResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
6845 | return *internal_default_instance(); |
6846 | } |
6847 | |
6848 | |
6849 | void BadMethodResponse::Clear() { |
6850 | // @@protoc_insertion_point(message_clear_start:brpc.BadMethodResponse) |
6851 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6852 | // Prevent compiler warnings about cached_has_bits being unused |
6853 | (void) cached_has_bits; |
6854 | |
6855 | _has_bits_.Clear(); |
6856 | _internal_metadata_.Clear(); |
6857 | } |
6858 | |
6859 | const char* BadMethodResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
6860 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
6861 | while (!ctx->Done(&ptr)) { |
6862 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
6863 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
6864 | CHK_(ptr); |
6865 | if ((tag & 7) == 4 || tag == 0) { |
6866 | ctx->SetLastTag(tag); |
6867 | goto success; |
6868 | } |
6869 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
6870 | CHK_(ptr != nullptr); |
6871 | continue; |
6872 | } // while |
6873 | success: |
6874 | return ptr; |
6875 | failure: |
6876 | ptr = nullptr; |
6877 | goto success; |
6878 | #undef CHK_ |
6879 | } |
6880 | |
6881 | ::PROTOBUF_NAMESPACE_ID::uint8* BadMethodResponse::_InternalSerialize( |
6882 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
6883 | // @@protoc_insertion_point(serialize_to_array_start:brpc.BadMethodResponse) |
6884 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6885 | (void) cached_has_bits; |
6886 | |
6887 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6888 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
6889 | _internal_metadata_.unknown_fields(), target, stream); |
6890 | } |
6891 | // @@protoc_insertion_point(serialize_to_array_end:brpc.BadMethodResponse) |
6892 | return target; |
6893 | } |
6894 | |
6895 | size_t BadMethodResponse::ByteSizeLong() const { |
6896 | // @@protoc_insertion_point(message_byte_size_start:brpc.BadMethodResponse) |
6897 | size_t total_size = 0; |
6898 | |
6899 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6900 | // Prevent compiler warnings about cached_has_bits being unused |
6901 | (void) cached_has_bits; |
6902 | |
6903 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
6904 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
6905 | _internal_metadata_, total_size, &_cached_size_); |
6906 | } |
6907 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
6908 | SetCachedSize(cached_size); |
6909 | return total_size; |
6910 | } |
6911 | |
6912 | void BadMethodResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
6913 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.BadMethodResponse) |
6914 | GOOGLE_DCHECK_NE(&from, this); |
6915 | const BadMethodResponse* source = |
6916 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<BadMethodResponse>( |
6917 | &from); |
6918 | if (source == nullptr) { |
6919 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.BadMethodResponse) |
6920 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
6921 | } else { |
6922 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.BadMethodResponse) |
6923 | MergeFrom(*source); |
6924 | } |
6925 | } |
6926 | |
6927 | void BadMethodResponse::MergeFrom(const BadMethodResponse& from) { |
6928 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.BadMethodResponse) |
6929 | GOOGLE_DCHECK_NE(&from, this); |
6930 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6931 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
6932 | (void) cached_has_bits; |
6933 | |
6934 | } |
6935 | |
6936 | void BadMethodResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
6937 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.BadMethodResponse) |
6938 | if (&from == this) return; |
6939 | Clear(); |
6940 | MergeFrom(from); |
6941 | } |
6942 | |
6943 | void BadMethodResponse::CopyFrom(const BadMethodResponse& from) { |
6944 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.BadMethodResponse) |
6945 | if (&from == this) return; |
6946 | Clear(); |
6947 | MergeFrom(from); |
6948 | } |
6949 | |
6950 | bool BadMethodResponse::IsInitialized() const { |
6951 | return true; |
6952 | } |
6953 | |
6954 | void BadMethodResponse::InternalSwap(BadMethodResponse* other) { |
6955 | using std::swap; |
6956 | _internal_metadata_.Swap(&other->_internal_metadata_); |
6957 | swap(_has_bits_[0], other->_has_bits_[0]); |
6958 | } |
6959 | |
6960 | ::PROTOBUF_NAMESPACE_ID::Metadata BadMethodResponse::GetMetadata() const { |
6961 | return GetMetadataStatic(); |
6962 | } |
6963 | |
6964 | |
6965 | // =================================================================== |
6966 | |
6967 | void ProfileRequest::InitAsDefaultInstance() { |
6968 | } |
6969 | class ProfileRequest::_Internal { |
6970 | public: |
6971 | using HasBits = decltype(std::declval<ProfileRequest>()._has_bits_); |
6972 | }; |
6973 | |
6974 | ProfileRequest::ProfileRequest() |
6975 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
6976 | SharedCtor(); |
6977 | // @@protoc_insertion_point(constructor:brpc.ProfileRequest) |
6978 | } |
6979 | ProfileRequest::ProfileRequest(const ProfileRequest& from) |
6980 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
6981 | _internal_metadata_(nullptr), |
6982 | _has_bits_(from._has_bits_) { |
6983 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6984 | // @@protoc_insertion_point(copy_constructor:brpc.ProfileRequest) |
6985 | } |
6986 | |
6987 | void ProfileRequest::SharedCtor() { |
6988 | } |
6989 | |
6990 | ProfileRequest::~ProfileRequest() { |
6991 | // @@protoc_insertion_point(destructor:brpc.ProfileRequest) |
6992 | SharedDtor(); |
6993 | } |
6994 | |
6995 | void ProfileRequest::SharedDtor() { |
6996 | } |
6997 | |
6998 | void ProfileRequest::SetCachedSize(int size) const { |
6999 | _cached_size_.Set(size); |
7000 | } |
7001 | const ProfileRequest& ProfileRequest::default_instance() { |
7002 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ProfileRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
7003 | return *internal_default_instance(); |
7004 | } |
7005 | |
7006 | |
7007 | void ProfileRequest::Clear() { |
7008 | // @@protoc_insertion_point(message_clear_start:brpc.ProfileRequest) |
7009 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7010 | // Prevent compiler warnings about cached_has_bits being unused |
7011 | (void) cached_has_bits; |
7012 | |
7013 | _has_bits_.Clear(); |
7014 | _internal_metadata_.Clear(); |
7015 | } |
7016 | |
7017 | const char* ProfileRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
7018 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
7019 | while (!ctx->Done(&ptr)) { |
7020 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
7021 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
7022 | CHK_(ptr); |
7023 | if ((tag & 7) == 4 || tag == 0) { |
7024 | ctx->SetLastTag(tag); |
7025 | goto success; |
7026 | } |
7027 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
7028 | CHK_(ptr != nullptr); |
7029 | continue; |
7030 | } // while |
7031 | success: |
7032 | return ptr; |
7033 | failure: |
7034 | ptr = nullptr; |
7035 | goto success; |
7036 | #undef CHK_ |
7037 | } |
7038 | |
7039 | ::PROTOBUF_NAMESPACE_ID::uint8* ProfileRequest::_InternalSerialize( |
7040 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
7041 | // @@protoc_insertion_point(serialize_to_array_start:brpc.ProfileRequest) |
7042 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7043 | (void) cached_has_bits; |
7044 | |
7045 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
7046 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
7047 | _internal_metadata_.unknown_fields(), target, stream); |
7048 | } |
7049 | // @@protoc_insertion_point(serialize_to_array_end:brpc.ProfileRequest) |
7050 | return target; |
7051 | } |
7052 | |
7053 | size_t ProfileRequest::ByteSizeLong() const { |
7054 | // @@protoc_insertion_point(message_byte_size_start:brpc.ProfileRequest) |
7055 | size_t total_size = 0; |
7056 | |
7057 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7058 | // Prevent compiler warnings about cached_has_bits being unused |
7059 | (void) cached_has_bits; |
7060 | |
7061 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
7062 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
7063 | _internal_metadata_, total_size, &_cached_size_); |
7064 | } |
7065 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
7066 | SetCachedSize(cached_size); |
7067 | return total_size; |
7068 | } |
7069 | |
7070 | void ProfileRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
7071 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.ProfileRequest) |
7072 | GOOGLE_DCHECK_NE(&from, this); |
7073 | const ProfileRequest* source = |
7074 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ProfileRequest>( |
7075 | &from); |
7076 | if (source == nullptr) { |
7077 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.ProfileRequest) |
7078 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
7079 | } else { |
7080 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.ProfileRequest) |
7081 | MergeFrom(*source); |
7082 | } |
7083 | } |
7084 | |
7085 | void ProfileRequest::MergeFrom(const ProfileRequest& from) { |
7086 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.ProfileRequest) |
7087 | GOOGLE_DCHECK_NE(&from, this); |
7088 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
7089 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7090 | (void) cached_has_bits; |
7091 | |
7092 | } |
7093 | |
7094 | void ProfileRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
7095 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.ProfileRequest) |
7096 | if (&from == this) return; |
7097 | Clear(); |
7098 | MergeFrom(from); |
7099 | } |
7100 | |
7101 | void ProfileRequest::CopyFrom(const ProfileRequest& from) { |
7102 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.ProfileRequest) |
7103 | if (&from == this) return; |
7104 | Clear(); |
7105 | MergeFrom(from); |
7106 | } |
7107 | |
7108 | bool ProfileRequest::IsInitialized() const { |
7109 | return true; |
7110 | } |
7111 | |
7112 | void ProfileRequest::InternalSwap(ProfileRequest* other) { |
7113 | using std::swap; |
7114 | _internal_metadata_.Swap(&other->_internal_metadata_); |
7115 | swap(_has_bits_[0], other->_has_bits_[0]); |
7116 | } |
7117 | |
7118 | ::PROTOBUF_NAMESPACE_ID::Metadata ProfileRequest::GetMetadata() const { |
7119 | return GetMetadataStatic(); |
7120 | } |
7121 | |
7122 | |
7123 | // =================================================================== |
7124 | |
7125 | void ProfileResponse::InitAsDefaultInstance() { |
7126 | } |
7127 | class ProfileResponse::_Internal { |
7128 | public: |
7129 | using HasBits = decltype(std::declval<ProfileResponse>()._has_bits_); |
7130 | }; |
7131 | |
7132 | ProfileResponse::ProfileResponse() |
7133 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
7134 | SharedCtor(); |
7135 | // @@protoc_insertion_point(constructor:brpc.ProfileResponse) |
7136 | } |
7137 | ProfileResponse::ProfileResponse(const ProfileResponse& from) |
7138 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
7139 | _internal_metadata_(nullptr), |
7140 | _has_bits_(from._has_bits_) { |
7141 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
7142 | // @@protoc_insertion_point(copy_constructor:brpc.ProfileResponse) |
7143 | } |
7144 | |
7145 | void ProfileResponse::SharedCtor() { |
7146 | } |
7147 | |
7148 | ProfileResponse::~ProfileResponse() { |
7149 | // @@protoc_insertion_point(destructor:brpc.ProfileResponse) |
7150 | SharedDtor(); |
7151 | } |
7152 | |
7153 | void ProfileResponse::SharedDtor() { |
7154 | } |
7155 | |
7156 | void ProfileResponse::SetCachedSize(int size) const { |
7157 | _cached_size_.Set(size); |
7158 | } |
7159 | const ProfileResponse& ProfileResponse::default_instance() { |
7160 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ProfileResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
7161 | return *internal_default_instance(); |
7162 | } |
7163 | |
7164 | |
7165 | void ProfileResponse::Clear() { |
7166 | // @@protoc_insertion_point(message_clear_start:brpc.ProfileResponse) |
7167 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7168 | // Prevent compiler warnings about cached_has_bits being unused |
7169 | (void) cached_has_bits; |
7170 | |
7171 | _has_bits_.Clear(); |
7172 | _internal_metadata_.Clear(); |
7173 | } |
7174 | |
7175 | const char* ProfileResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
7176 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
7177 | while (!ctx->Done(&ptr)) { |
7178 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
7179 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
7180 | CHK_(ptr); |
7181 | if ((tag & 7) == 4 || tag == 0) { |
7182 | ctx->SetLastTag(tag); |
7183 | goto success; |
7184 | } |
7185 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
7186 | CHK_(ptr != nullptr); |
7187 | continue; |
7188 | } // while |
7189 | success: |
7190 | return ptr; |
7191 | failure: |
7192 | ptr = nullptr; |
7193 | goto success; |
7194 | #undef CHK_ |
7195 | } |
7196 | |
7197 | ::PROTOBUF_NAMESPACE_ID::uint8* ProfileResponse::_InternalSerialize( |
7198 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
7199 | // @@protoc_insertion_point(serialize_to_array_start:brpc.ProfileResponse) |
7200 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7201 | (void) cached_has_bits; |
7202 | |
7203 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
7204 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
7205 | _internal_metadata_.unknown_fields(), target, stream); |
7206 | } |
7207 | // @@protoc_insertion_point(serialize_to_array_end:brpc.ProfileResponse) |
7208 | return target; |
7209 | } |
7210 | |
7211 | size_t ProfileResponse::ByteSizeLong() const { |
7212 | // @@protoc_insertion_point(message_byte_size_start:brpc.ProfileResponse) |
7213 | size_t total_size = 0; |
7214 | |
7215 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7216 | // Prevent compiler warnings about cached_has_bits being unused |
7217 | (void) cached_has_bits; |
7218 | |
7219 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
7220 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
7221 | _internal_metadata_, total_size, &_cached_size_); |
7222 | } |
7223 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
7224 | SetCachedSize(cached_size); |
7225 | return total_size; |
7226 | } |
7227 | |
7228 | void ProfileResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
7229 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.ProfileResponse) |
7230 | GOOGLE_DCHECK_NE(&from, this); |
7231 | const ProfileResponse* source = |
7232 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ProfileResponse>( |
7233 | &from); |
7234 | if (source == nullptr) { |
7235 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.ProfileResponse) |
7236 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
7237 | } else { |
7238 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.ProfileResponse) |
7239 | MergeFrom(*source); |
7240 | } |
7241 | } |
7242 | |
7243 | void ProfileResponse::MergeFrom(const ProfileResponse& from) { |
7244 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.ProfileResponse) |
7245 | GOOGLE_DCHECK_NE(&from, this); |
7246 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
7247 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7248 | (void) cached_has_bits; |
7249 | |
7250 | } |
7251 | |
7252 | void ProfileResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
7253 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.ProfileResponse) |
7254 | if (&from == this) return; |
7255 | Clear(); |
7256 | MergeFrom(from); |
7257 | } |
7258 | |
7259 | void ProfileResponse::CopyFrom(const ProfileResponse& from) { |
7260 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.ProfileResponse) |
7261 | if (&from == this) return; |
7262 | Clear(); |
7263 | MergeFrom(from); |
7264 | } |
7265 | |
7266 | bool ProfileResponse::IsInitialized() const { |
7267 | return true; |
7268 | } |
7269 | |
7270 | void ProfileResponse::InternalSwap(ProfileResponse* other) { |
7271 | using std::swap; |
7272 | _internal_metadata_.Swap(&other->_internal_metadata_); |
7273 | swap(_has_bits_[0], other->_has_bits_[0]); |
7274 | } |
7275 | |
7276 | ::PROTOBUF_NAMESPACE_ID::Metadata ProfileResponse::GetMetadata() const { |
7277 | return GetMetadataStatic(); |
7278 | } |
7279 | |
7280 | |
7281 | // =================================================================== |
7282 | |
7283 | void HotspotsRequest::InitAsDefaultInstance() { |
7284 | } |
7285 | class HotspotsRequest::_Internal { |
7286 | public: |
7287 | using HasBits = decltype(std::declval<HotspotsRequest>()._has_bits_); |
7288 | }; |
7289 | |
7290 | HotspotsRequest::HotspotsRequest() |
7291 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
7292 | SharedCtor(); |
7293 | // @@protoc_insertion_point(constructor:brpc.HotspotsRequest) |
7294 | } |
7295 | HotspotsRequest::HotspotsRequest(const HotspotsRequest& from) |
7296 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
7297 | _internal_metadata_(nullptr), |
7298 | _has_bits_(from._has_bits_) { |
7299 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
7300 | // @@protoc_insertion_point(copy_constructor:brpc.HotspotsRequest) |
7301 | } |
7302 | |
7303 | void HotspotsRequest::SharedCtor() { |
7304 | } |
7305 | |
7306 | HotspotsRequest::~HotspotsRequest() { |
7307 | // @@protoc_insertion_point(destructor:brpc.HotspotsRequest) |
7308 | SharedDtor(); |
7309 | } |
7310 | |
7311 | void HotspotsRequest::SharedDtor() { |
7312 | } |
7313 | |
7314 | void HotspotsRequest::SetCachedSize(int size) const { |
7315 | _cached_size_.Set(size); |
7316 | } |
7317 | const HotspotsRequest& HotspotsRequest::default_instance() { |
7318 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_HotspotsRequest_brpc_2fbuiltin_5fservice_2eproto.base); |
7319 | return *internal_default_instance(); |
7320 | } |
7321 | |
7322 | |
7323 | void HotspotsRequest::Clear() { |
7324 | // @@protoc_insertion_point(message_clear_start:brpc.HotspotsRequest) |
7325 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7326 | // Prevent compiler warnings about cached_has_bits being unused |
7327 | (void) cached_has_bits; |
7328 | |
7329 | _has_bits_.Clear(); |
7330 | _internal_metadata_.Clear(); |
7331 | } |
7332 | |
7333 | const char* HotspotsRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
7334 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
7335 | while (!ctx->Done(&ptr)) { |
7336 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
7337 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
7338 | CHK_(ptr); |
7339 | if ((tag & 7) == 4 || tag == 0) { |
7340 | ctx->SetLastTag(tag); |
7341 | goto success; |
7342 | } |
7343 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
7344 | CHK_(ptr != nullptr); |
7345 | continue; |
7346 | } // while |
7347 | success: |
7348 | return ptr; |
7349 | failure: |
7350 | ptr = nullptr; |
7351 | goto success; |
7352 | #undef CHK_ |
7353 | } |
7354 | |
7355 | ::PROTOBUF_NAMESPACE_ID::uint8* HotspotsRequest::_InternalSerialize( |
7356 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
7357 | // @@protoc_insertion_point(serialize_to_array_start:brpc.HotspotsRequest) |
7358 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7359 | (void) cached_has_bits; |
7360 | |
7361 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
7362 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
7363 | _internal_metadata_.unknown_fields(), target, stream); |
7364 | } |
7365 | // @@protoc_insertion_point(serialize_to_array_end:brpc.HotspotsRequest) |
7366 | return target; |
7367 | } |
7368 | |
7369 | size_t HotspotsRequest::ByteSizeLong() const { |
7370 | // @@protoc_insertion_point(message_byte_size_start:brpc.HotspotsRequest) |
7371 | size_t total_size = 0; |
7372 | |
7373 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7374 | // Prevent compiler warnings about cached_has_bits being unused |
7375 | (void) cached_has_bits; |
7376 | |
7377 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
7378 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
7379 | _internal_metadata_, total_size, &_cached_size_); |
7380 | } |
7381 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
7382 | SetCachedSize(cached_size); |
7383 | return total_size; |
7384 | } |
7385 | |
7386 | void HotspotsRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
7387 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.HotspotsRequest) |
7388 | GOOGLE_DCHECK_NE(&from, this); |
7389 | const HotspotsRequest* source = |
7390 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<HotspotsRequest>( |
7391 | &from); |
7392 | if (source == nullptr) { |
7393 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.HotspotsRequest) |
7394 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
7395 | } else { |
7396 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.HotspotsRequest) |
7397 | MergeFrom(*source); |
7398 | } |
7399 | } |
7400 | |
7401 | void HotspotsRequest::MergeFrom(const HotspotsRequest& from) { |
7402 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.HotspotsRequest) |
7403 | GOOGLE_DCHECK_NE(&from, this); |
7404 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
7405 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7406 | (void) cached_has_bits; |
7407 | |
7408 | } |
7409 | |
7410 | void HotspotsRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
7411 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.HotspotsRequest) |
7412 | if (&from == this) return; |
7413 | Clear(); |
7414 | MergeFrom(from); |
7415 | } |
7416 | |
7417 | void HotspotsRequest::CopyFrom(const HotspotsRequest& from) { |
7418 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.HotspotsRequest) |
7419 | if (&from == this) return; |
7420 | Clear(); |
7421 | MergeFrom(from); |
7422 | } |
7423 | |
7424 | bool HotspotsRequest::IsInitialized() const { |
7425 | return true; |
7426 | } |
7427 | |
7428 | void HotspotsRequest::InternalSwap(HotspotsRequest* other) { |
7429 | using std::swap; |
7430 | _internal_metadata_.Swap(&other->_internal_metadata_); |
7431 | swap(_has_bits_[0], other->_has_bits_[0]); |
7432 | } |
7433 | |
7434 | ::PROTOBUF_NAMESPACE_ID::Metadata HotspotsRequest::GetMetadata() const { |
7435 | return GetMetadataStatic(); |
7436 | } |
7437 | |
7438 | |
7439 | // =================================================================== |
7440 | |
7441 | void HotspotsResponse::InitAsDefaultInstance() { |
7442 | } |
7443 | class HotspotsResponse::_Internal { |
7444 | public: |
7445 | using HasBits = decltype(std::declval<HotspotsResponse>()._has_bits_); |
7446 | }; |
7447 | |
7448 | HotspotsResponse::HotspotsResponse() |
7449 | : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { |
7450 | SharedCtor(); |
7451 | // @@protoc_insertion_point(constructor:brpc.HotspotsResponse) |
7452 | } |
7453 | HotspotsResponse::HotspotsResponse(const HotspotsResponse& from) |
7454 | : ::PROTOBUF_NAMESPACE_ID::Message(), |
7455 | _internal_metadata_(nullptr), |
7456 | _has_bits_(from._has_bits_) { |
7457 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
7458 | // @@protoc_insertion_point(copy_constructor:brpc.HotspotsResponse) |
7459 | } |
7460 | |
7461 | void HotspotsResponse::SharedCtor() { |
7462 | } |
7463 | |
7464 | HotspotsResponse::~HotspotsResponse() { |
7465 | // @@protoc_insertion_point(destructor:brpc.HotspotsResponse) |
7466 | SharedDtor(); |
7467 | } |
7468 | |
7469 | void HotspotsResponse::SharedDtor() { |
7470 | } |
7471 | |
7472 | void HotspotsResponse::SetCachedSize(int size) const { |
7473 | _cached_size_.Set(size); |
7474 | } |
7475 | const HotspotsResponse& HotspotsResponse::default_instance() { |
7476 | ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_HotspotsResponse_brpc_2fbuiltin_5fservice_2eproto.base); |
7477 | return *internal_default_instance(); |
7478 | } |
7479 | |
7480 | |
7481 | void HotspotsResponse::Clear() { |
7482 | // @@protoc_insertion_point(message_clear_start:brpc.HotspotsResponse) |
7483 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7484 | // Prevent compiler warnings about cached_has_bits being unused |
7485 | (void) cached_has_bits; |
7486 | |
7487 | _has_bits_.Clear(); |
7488 | _internal_metadata_.Clear(); |
7489 | } |
7490 | |
7491 | const char* HotspotsResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { |
7492 | #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
7493 | while (!ctx->Done(&ptr)) { |
7494 | ::PROTOBUF_NAMESPACE_ID::uint32 tag; |
7495 | ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); |
7496 | CHK_(ptr); |
7497 | if ((tag & 7) == 4 || tag == 0) { |
7498 | ctx->SetLastTag(tag); |
7499 | goto success; |
7500 | } |
7501 | ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); |
7502 | CHK_(ptr != nullptr); |
7503 | continue; |
7504 | } // while |
7505 | success: |
7506 | return ptr; |
7507 | failure: |
7508 | ptr = nullptr; |
7509 | goto success; |
7510 | #undef CHK_ |
7511 | } |
7512 | |
7513 | ::PROTOBUF_NAMESPACE_ID::uint8* HotspotsResponse::_InternalSerialize( |
7514 | ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
7515 | // @@protoc_insertion_point(serialize_to_array_start:brpc.HotspotsResponse) |
7516 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7517 | (void) cached_has_bits; |
7518 | |
7519 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
7520 | target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( |
7521 | _internal_metadata_.unknown_fields(), target, stream); |
7522 | } |
7523 | // @@protoc_insertion_point(serialize_to_array_end:brpc.HotspotsResponse) |
7524 | return target; |
7525 | } |
7526 | |
7527 | size_t HotspotsResponse::ByteSizeLong() const { |
7528 | // @@protoc_insertion_point(message_byte_size_start:brpc.HotspotsResponse) |
7529 | size_t total_size = 0; |
7530 | |
7531 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7532 | // Prevent compiler warnings about cached_has_bits being unused |
7533 | (void) cached_has_bits; |
7534 | |
7535 | if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { |
7536 | return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( |
7537 | _internal_metadata_, total_size, &_cached_size_); |
7538 | } |
7539 | int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); |
7540 | SetCachedSize(cached_size); |
7541 | return total_size; |
7542 | } |
7543 | |
7544 | void HotspotsResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
7545 | // @@protoc_insertion_point(generalized_merge_from_start:brpc.HotspotsResponse) |
7546 | GOOGLE_DCHECK_NE(&from, this); |
7547 | const HotspotsResponse* source = |
7548 | ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<HotspotsResponse>( |
7549 | &from); |
7550 | if (source == nullptr) { |
7551 | // @@protoc_insertion_point(generalized_merge_from_cast_fail:brpc.HotspotsResponse) |
7552 | ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); |
7553 | } else { |
7554 | // @@protoc_insertion_point(generalized_merge_from_cast_success:brpc.HotspotsResponse) |
7555 | MergeFrom(*source); |
7556 | } |
7557 | } |
7558 | |
7559 | void HotspotsResponse::MergeFrom(const HotspotsResponse& from) { |
7560 | // @@protoc_insertion_point(class_specific_merge_from_start:brpc.HotspotsResponse) |
7561 | GOOGLE_DCHECK_NE(&from, this); |
7562 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
7563 | ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; |
7564 | (void) cached_has_bits; |
7565 | |
7566 | } |
7567 | |
7568 | void HotspotsResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { |
7569 | // @@protoc_insertion_point(generalized_copy_from_start:brpc.HotspotsResponse) |
7570 | if (&from == this) return; |
7571 | Clear(); |
7572 | MergeFrom(from); |
7573 | } |
7574 | |
7575 | void HotspotsResponse::CopyFrom(const HotspotsResponse& from) { |
7576 | // @@protoc_insertion_point(class_specific_copy_from_start:brpc.HotspotsResponse) |
7577 | if (&from == this) return; |
7578 | Clear(); |
7579 | MergeFrom(from); |
7580 | } |
7581 | |
7582 | bool HotspotsResponse::IsInitialized() const { |
7583 | return true; |
7584 | } |
7585 | |
7586 | void HotspotsResponse::InternalSwap(HotspotsResponse* other) { |
7587 | using std::swap; |
7588 | _internal_metadata_.Swap(&other->_internal_metadata_); |
7589 | swap(_has_bits_[0], other->_has_bits_[0]); |
7590 | } |
7591 | |
7592 | ::PROTOBUF_NAMESPACE_ID::Metadata HotspotsResponse::GetMetadata() const { |
7593 | return GetMetadataStatic(); |
7594 | } |
7595 | |
7596 | |
7597 | // =================================================================== |
7598 | |
7599 | index::~index() {} |
7600 | |
7601 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* index::descriptor() { |
7602 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
7603 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[0]; |
7604 | } |
7605 | |
7606 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* index::GetDescriptor() { |
7607 | return descriptor(); |
7608 | } |
7609 | |
7610 | void index::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7611 | const ::brpc::IndexRequest*, |
7612 | ::brpc::IndexResponse*, |
7613 | ::google::protobuf::Closure* done) { |
7614 | controller->SetFailed("Method default_method() not implemented." ); |
7615 | done->Run(); |
7616 | } |
7617 | |
7618 | void index::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
7619 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7620 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
7621 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
7622 | ::google::protobuf::Closure* done) { |
7623 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[0]); |
7624 | switch(method->index()) { |
7625 | case 0: |
7626 | default_method(controller, |
7627 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::IndexRequest*>( |
7628 | request), |
7629 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::IndexResponse*>( |
7630 | response), |
7631 | done); |
7632 | break; |
7633 | default: |
7634 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7635 | break; |
7636 | } |
7637 | } |
7638 | |
7639 | const ::PROTOBUF_NAMESPACE_ID::Message& index::GetRequestPrototype( |
7640 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
7641 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
7642 | switch(method->index()) { |
7643 | case 0: |
7644 | return ::brpc::IndexRequest::default_instance(); |
7645 | default: |
7646 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7647 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
7648 | ->GetPrototype(method->input_type()); |
7649 | } |
7650 | } |
7651 | |
7652 | const ::PROTOBUF_NAMESPACE_ID::Message& index::GetResponsePrototype( |
7653 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
7654 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
7655 | switch(method->index()) { |
7656 | case 0: |
7657 | return ::brpc::IndexResponse::default_instance(); |
7658 | default: |
7659 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7660 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
7661 | ->GetPrototype(method->output_type()); |
7662 | } |
7663 | } |
7664 | |
7665 | index_Stub::index_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
7666 | : channel_(channel), owns_channel_(false) {} |
7667 | index_Stub::index_Stub( |
7668 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
7669 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
7670 | : channel_(channel), |
7671 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
7672 | index_Stub::~index_Stub() { |
7673 | if (owns_channel_) delete channel_; |
7674 | } |
7675 | |
7676 | void index_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7677 | const ::brpc::IndexRequest* request, |
7678 | ::brpc::IndexResponse* response, |
7679 | ::google::protobuf::Closure* done) { |
7680 | channel_->CallMethod(descriptor()->method(0), |
7681 | controller, request, response, done); |
7682 | } |
7683 | // =================================================================== |
7684 | |
7685 | version::~version() {} |
7686 | |
7687 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* version::descriptor() { |
7688 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
7689 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[1]; |
7690 | } |
7691 | |
7692 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* version::GetDescriptor() { |
7693 | return descriptor(); |
7694 | } |
7695 | |
7696 | void version::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7697 | const ::brpc::VersionRequest*, |
7698 | ::brpc::VersionResponse*, |
7699 | ::google::protobuf::Closure* done) { |
7700 | controller->SetFailed("Method default_method() not implemented." ); |
7701 | done->Run(); |
7702 | } |
7703 | |
7704 | void version::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
7705 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7706 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
7707 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
7708 | ::google::protobuf::Closure* done) { |
7709 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[1]); |
7710 | switch(method->index()) { |
7711 | case 0: |
7712 | default_method(controller, |
7713 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::VersionRequest*>( |
7714 | request), |
7715 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::VersionResponse*>( |
7716 | response), |
7717 | done); |
7718 | break; |
7719 | default: |
7720 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7721 | break; |
7722 | } |
7723 | } |
7724 | |
7725 | const ::PROTOBUF_NAMESPACE_ID::Message& version::GetRequestPrototype( |
7726 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
7727 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
7728 | switch(method->index()) { |
7729 | case 0: |
7730 | return ::brpc::VersionRequest::default_instance(); |
7731 | default: |
7732 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7733 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
7734 | ->GetPrototype(method->input_type()); |
7735 | } |
7736 | } |
7737 | |
7738 | const ::PROTOBUF_NAMESPACE_ID::Message& version::GetResponsePrototype( |
7739 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
7740 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
7741 | switch(method->index()) { |
7742 | case 0: |
7743 | return ::brpc::VersionResponse::default_instance(); |
7744 | default: |
7745 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7746 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
7747 | ->GetPrototype(method->output_type()); |
7748 | } |
7749 | } |
7750 | |
7751 | version_Stub::version_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
7752 | : channel_(channel), owns_channel_(false) {} |
7753 | version_Stub::version_Stub( |
7754 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
7755 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
7756 | : channel_(channel), |
7757 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
7758 | version_Stub::~version_Stub() { |
7759 | if (owns_channel_) delete channel_; |
7760 | } |
7761 | |
7762 | void version_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7763 | const ::brpc::VersionRequest* request, |
7764 | ::brpc::VersionResponse* response, |
7765 | ::google::protobuf::Closure* done) { |
7766 | channel_->CallMethod(descriptor()->method(0), |
7767 | controller, request, response, done); |
7768 | } |
7769 | // =================================================================== |
7770 | |
7771 | health::~health() {} |
7772 | |
7773 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* health::descriptor() { |
7774 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
7775 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[2]; |
7776 | } |
7777 | |
7778 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* health::GetDescriptor() { |
7779 | return descriptor(); |
7780 | } |
7781 | |
7782 | void health::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7783 | const ::brpc::HealthRequest*, |
7784 | ::brpc::HealthResponse*, |
7785 | ::google::protobuf::Closure* done) { |
7786 | controller->SetFailed("Method default_method() not implemented." ); |
7787 | done->Run(); |
7788 | } |
7789 | |
7790 | void health::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
7791 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7792 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
7793 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
7794 | ::google::protobuf::Closure* done) { |
7795 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[2]); |
7796 | switch(method->index()) { |
7797 | case 0: |
7798 | default_method(controller, |
7799 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::HealthRequest*>( |
7800 | request), |
7801 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::HealthResponse*>( |
7802 | response), |
7803 | done); |
7804 | break; |
7805 | default: |
7806 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7807 | break; |
7808 | } |
7809 | } |
7810 | |
7811 | const ::PROTOBUF_NAMESPACE_ID::Message& health::GetRequestPrototype( |
7812 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
7813 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
7814 | switch(method->index()) { |
7815 | case 0: |
7816 | return ::brpc::HealthRequest::default_instance(); |
7817 | default: |
7818 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7819 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
7820 | ->GetPrototype(method->input_type()); |
7821 | } |
7822 | } |
7823 | |
7824 | const ::PROTOBUF_NAMESPACE_ID::Message& health::GetResponsePrototype( |
7825 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
7826 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
7827 | switch(method->index()) { |
7828 | case 0: |
7829 | return ::brpc::HealthResponse::default_instance(); |
7830 | default: |
7831 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7832 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
7833 | ->GetPrototype(method->output_type()); |
7834 | } |
7835 | } |
7836 | |
7837 | health_Stub::health_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
7838 | : channel_(channel), owns_channel_(false) {} |
7839 | health_Stub::health_Stub( |
7840 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
7841 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
7842 | : channel_(channel), |
7843 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
7844 | health_Stub::~health_Stub() { |
7845 | if (owns_channel_) delete channel_; |
7846 | } |
7847 | |
7848 | void health_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7849 | const ::brpc::HealthRequest* request, |
7850 | ::brpc::HealthResponse* response, |
7851 | ::google::protobuf::Closure* done) { |
7852 | channel_->CallMethod(descriptor()->method(0), |
7853 | controller, request, response, done); |
7854 | } |
7855 | // =================================================================== |
7856 | |
7857 | status::~status() {} |
7858 | |
7859 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* status::descriptor() { |
7860 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
7861 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[3]; |
7862 | } |
7863 | |
7864 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* status::GetDescriptor() { |
7865 | return descriptor(); |
7866 | } |
7867 | |
7868 | void status::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7869 | const ::brpc::StatusRequest*, |
7870 | ::brpc::StatusResponse*, |
7871 | ::google::protobuf::Closure* done) { |
7872 | controller->SetFailed("Method default_method() not implemented." ); |
7873 | done->Run(); |
7874 | } |
7875 | |
7876 | void status::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
7877 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7878 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
7879 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
7880 | ::google::protobuf::Closure* done) { |
7881 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[3]); |
7882 | switch(method->index()) { |
7883 | case 0: |
7884 | default_method(controller, |
7885 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::StatusRequest*>( |
7886 | request), |
7887 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::StatusResponse*>( |
7888 | response), |
7889 | done); |
7890 | break; |
7891 | default: |
7892 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7893 | break; |
7894 | } |
7895 | } |
7896 | |
7897 | const ::PROTOBUF_NAMESPACE_ID::Message& status::GetRequestPrototype( |
7898 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
7899 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
7900 | switch(method->index()) { |
7901 | case 0: |
7902 | return ::brpc::StatusRequest::default_instance(); |
7903 | default: |
7904 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7905 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
7906 | ->GetPrototype(method->input_type()); |
7907 | } |
7908 | } |
7909 | |
7910 | const ::PROTOBUF_NAMESPACE_ID::Message& status::GetResponsePrototype( |
7911 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
7912 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
7913 | switch(method->index()) { |
7914 | case 0: |
7915 | return ::brpc::StatusResponse::default_instance(); |
7916 | default: |
7917 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7918 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
7919 | ->GetPrototype(method->output_type()); |
7920 | } |
7921 | } |
7922 | |
7923 | status_Stub::status_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
7924 | : channel_(channel), owns_channel_(false) {} |
7925 | status_Stub::status_Stub( |
7926 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
7927 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
7928 | : channel_(channel), |
7929 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
7930 | status_Stub::~status_Stub() { |
7931 | if (owns_channel_) delete channel_; |
7932 | } |
7933 | |
7934 | void status_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7935 | const ::brpc::StatusRequest* request, |
7936 | ::brpc::StatusResponse* response, |
7937 | ::google::protobuf::Closure* done) { |
7938 | channel_->CallMethod(descriptor()->method(0), |
7939 | controller, request, response, done); |
7940 | } |
7941 | // =================================================================== |
7942 | |
7943 | protobufs::~protobufs() {} |
7944 | |
7945 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* protobufs::descriptor() { |
7946 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
7947 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[4]; |
7948 | } |
7949 | |
7950 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* protobufs::GetDescriptor() { |
7951 | return descriptor(); |
7952 | } |
7953 | |
7954 | void protobufs::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7955 | const ::brpc::ProtobufsRequest*, |
7956 | ::brpc::ProtobufsResponse*, |
7957 | ::google::protobuf::Closure* done) { |
7958 | controller->SetFailed("Method default_method() not implemented." ); |
7959 | done->Run(); |
7960 | } |
7961 | |
7962 | void protobufs::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
7963 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
7964 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
7965 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
7966 | ::google::protobuf::Closure* done) { |
7967 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[4]); |
7968 | switch(method->index()) { |
7969 | case 0: |
7970 | default_method(controller, |
7971 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::ProtobufsRequest*>( |
7972 | request), |
7973 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::ProtobufsResponse*>( |
7974 | response), |
7975 | done); |
7976 | break; |
7977 | default: |
7978 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7979 | break; |
7980 | } |
7981 | } |
7982 | |
7983 | const ::PROTOBUF_NAMESPACE_ID::Message& protobufs::GetRequestPrototype( |
7984 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
7985 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
7986 | switch(method->index()) { |
7987 | case 0: |
7988 | return ::brpc::ProtobufsRequest::default_instance(); |
7989 | default: |
7990 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
7991 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
7992 | ->GetPrototype(method->input_type()); |
7993 | } |
7994 | } |
7995 | |
7996 | const ::PROTOBUF_NAMESPACE_ID::Message& protobufs::GetResponsePrototype( |
7997 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
7998 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
7999 | switch(method->index()) { |
8000 | case 0: |
8001 | return ::brpc::ProtobufsResponse::default_instance(); |
8002 | default: |
8003 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8004 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8005 | ->GetPrototype(method->output_type()); |
8006 | } |
8007 | } |
8008 | |
8009 | protobufs_Stub::protobufs_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
8010 | : channel_(channel), owns_channel_(false) {} |
8011 | protobufs_Stub::protobufs_Stub( |
8012 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
8013 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
8014 | : channel_(channel), |
8015 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
8016 | protobufs_Stub::~protobufs_Stub() { |
8017 | if (owns_channel_) delete channel_; |
8018 | } |
8019 | |
8020 | void protobufs_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8021 | const ::brpc::ProtobufsRequest* request, |
8022 | ::brpc::ProtobufsResponse* response, |
8023 | ::google::protobuf::Closure* done) { |
8024 | channel_->CallMethod(descriptor()->method(0), |
8025 | controller, request, response, done); |
8026 | } |
8027 | // =================================================================== |
8028 | |
8029 | connections::~connections() {} |
8030 | |
8031 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* connections::descriptor() { |
8032 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
8033 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[5]; |
8034 | } |
8035 | |
8036 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* connections::GetDescriptor() { |
8037 | return descriptor(); |
8038 | } |
8039 | |
8040 | void connections::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8041 | const ::brpc::ConnectionsRequest*, |
8042 | ::brpc::ConnectionsResponse*, |
8043 | ::google::protobuf::Closure* done) { |
8044 | controller->SetFailed("Method default_method() not implemented." ); |
8045 | done->Run(); |
8046 | } |
8047 | |
8048 | void connections::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
8049 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8050 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
8051 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
8052 | ::google::protobuf::Closure* done) { |
8053 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[5]); |
8054 | switch(method->index()) { |
8055 | case 0: |
8056 | default_method(controller, |
8057 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::ConnectionsRequest*>( |
8058 | request), |
8059 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::ConnectionsResponse*>( |
8060 | response), |
8061 | done); |
8062 | break; |
8063 | default: |
8064 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8065 | break; |
8066 | } |
8067 | } |
8068 | |
8069 | const ::PROTOBUF_NAMESPACE_ID::Message& connections::GetRequestPrototype( |
8070 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8071 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8072 | switch(method->index()) { |
8073 | case 0: |
8074 | return ::brpc::ConnectionsRequest::default_instance(); |
8075 | default: |
8076 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8077 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8078 | ->GetPrototype(method->input_type()); |
8079 | } |
8080 | } |
8081 | |
8082 | const ::PROTOBUF_NAMESPACE_ID::Message& connections::GetResponsePrototype( |
8083 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8084 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8085 | switch(method->index()) { |
8086 | case 0: |
8087 | return ::brpc::ConnectionsResponse::default_instance(); |
8088 | default: |
8089 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8090 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8091 | ->GetPrototype(method->output_type()); |
8092 | } |
8093 | } |
8094 | |
8095 | connections_Stub::connections_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
8096 | : channel_(channel), owns_channel_(false) {} |
8097 | connections_Stub::connections_Stub( |
8098 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
8099 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
8100 | : channel_(channel), |
8101 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
8102 | connections_Stub::~connections_Stub() { |
8103 | if (owns_channel_) delete channel_; |
8104 | } |
8105 | |
8106 | void connections_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8107 | const ::brpc::ConnectionsRequest* request, |
8108 | ::brpc::ConnectionsResponse* response, |
8109 | ::google::protobuf::Closure* done) { |
8110 | channel_->CallMethod(descriptor()->method(0), |
8111 | controller, request, response, done); |
8112 | } |
8113 | // =================================================================== |
8114 | |
8115 | list::~list() {} |
8116 | |
8117 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* list::descriptor() { |
8118 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
8119 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[6]; |
8120 | } |
8121 | |
8122 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* list::GetDescriptor() { |
8123 | return descriptor(); |
8124 | } |
8125 | |
8126 | void list::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8127 | const ::brpc::ListRequest*, |
8128 | ::brpc::ListResponse*, |
8129 | ::google::protobuf::Closure* done) { |
8130 | controller->SetFailed("Method default_method() not implemented." ); |
8131 | done->Run(); |
8132 | } |
8133 | |
8134 | void list::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
8135 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8136 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
8137 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
8138 | ::google::protobuf::Closure* done) { |
8139 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[6]); |
8140 | switch(method->index()) { |
8141 | case 0: |
8142 | default_method(controller, |
8143 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::ListRequest*>( |
8144 | request), |
8145 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::ListResponse*>( |
8146 | response), |
8147 | done); |
8148 | break; |
8149 | default: |
8150 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8151 | break; |
8152 | } |
8153 | } |
8154 | |
8155 | const ::PROTOBUF_NAMESPACE_ID::Message& list::GetRequestPrototype( |
8156 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8157 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8158 | switch(method->index()) { |
8159 | case 0: |
8160 | return ::brpc::ListRequest::default_instance(); |
8161 | default: |
8162 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8163 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8164 | ->GetPrototype(method->input_type()); |
8165 | } |
8166 | } |
8167 | |
8168 | const ::PROTOBUF_NAMESPACE_ID::Message& list::GetResponsePrototype( |
8169 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8170 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8171 | switch(method->index()) { |
8172 | case 0: |
8173 | return ::brpc::ListResponse::default_instance(); |
8174 | default: |
8175 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8176 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8177 | ->GetPrototype(method->output_type()); |
8178 | } |
8179 | } |
8180 | |
8181 | list_Stub::list_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
8182 | : channel_(channel), owns_channel_(false) {} |
8183 | list_Stub::list_Stub( |
8184 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
8185 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
8186 | : channel_(channel), |
8187 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
8188 | list_Stub::~list_Stub() { |
8189 | if (owns_channel_) delete channel_; |
8190 | } |
8191 | |
8192 | void list_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8193 | const ::brpc::ListRequest* request, |
8194 | ::brpc::ListResponse* response, |
8195 | ::google::protobuf::Closure* done) { |
8196 | channel_->CallMethod(descriptor()->method(0), |
8197 | controller, request, response, done); |
8198 | } |
8199 | // =================================================================== |
8200 | |
8201 | threads::~threads() {} |
8202 | |
8203 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* threads::descriptor() { |
8204 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
8205 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[7]; |
8206 | } |
8207 | |
8208 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* threads::GetDescriptor() { |
8209 | return descriptor(); |
8210 | } |
8211 | |
8212 | void threads::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8213 | const ::brpc::ThreadsRequest*, |
8214 | ::brpc::ThreadsResponse*, |
8215 | ::google::protobuf::Closure* done) { |
8216 | controller->SetFailed("Method default_method() not implemented." ); |
8217 | done->Run(); |
8218 | } |
8219 | |
8220 | void threads::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
8221 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8222 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
8223 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
8224 | ::google::protobuf::Closure* done) { |
8225 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[7]); |
8226 | switch(method->index()) { |
8227 | case 0: |
8228 | default_method(controller, |
8229 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::ThreadsRequest*>( |
8230 | request), |
8231 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::ThreadsResponse*>( |
8232 | response), |
8233 | done); |
8234 | break; |
8235 | default: |
8236 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8237 | break; |
8238 | } |
8239 | } |
8240 | |
8241 | const ::PROTOBUF_NAMESPACE_ID::Message& threads::GetRequestPrototype( |
8242 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8243 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8244 | switch(method->index()) { |
8245 | case 0: |
8246 | return ::brpc::ThreadsRequest::default_instance(); |
8247 | default: |
8248 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8249 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8250 | ->GetPrototype(method->input_type()); |
8251 | } |
8252 | } |
8253 | |
8254 | const ::PROTOBUF_NAMESPACE_ID::Message& threads::GetResponsePrototype( |
8255 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8256 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8257 | switch(method->index()) { |
8258 | case 0: |
8259 | return ::brpc::ThreadsResponse::default_instance(); |
8260 | default: |
8261 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8262 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8263 | ->GetPrototype(method->output_type()); |
8264 | } |
8265 | } |
8266 | |
8267 | threads_Stub::threads_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
8268 | : channel_(channel), owns_channel_(false) {} |
8269 | threads_Stub::threads_Stub( |
8270 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
8271 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
8272 | : channel_(channel), |
8273 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
8274 | threads_Stub::~threads_Stub() { |
8275 | if (owns_channel_) delete channel_; |
8276 | } |
8277 | |
8278 | void threads_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8279 | const ::brpc::ThreadsRequest* request, |
8280 | ::brpc::ThreadsResponse* response, |
8281 | ::google::protobuf::Closure* done) { |
8282 | channel_->CallMethod(descriptor()->method(0), |
8283 | controller, request, response, done); |
8284 | } |
8285 | // =================================================================== |
8286 | |
8287 | vlog::~vlog() {} |
8288 | |
8289 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* vlog::descriptor() { |
8290 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
8291 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[8]; |
8292 | } |
8293 | |
8294 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* vlog::GetDescriptor() { |
8295 | return descriptor(); |
8296 | } |
8297 | |
8298 | void vlog::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8299 | const ::brpc::VLogRequest*, |
8300 | ::brpc::VLogResponse*, |
8301 | ::google::protobuf::Closure* done) { |
8302 | controller->SetFailed("Method default_method() not implemented." ); |
8303 | done->Run(); |
8304 | } |
8305 | |
8306 | void vlog::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
8307 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8308 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
8309 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
8310 | ::google::protobuf::Closure* done) { |
8311 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[8]); |
8312 | switch(method->index()) { |
8313 | case 0: |
8314 | default_method(controller, |
8315 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::VLogRequest*>( |
8316 | request), |
8317 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::VLogResponse*>( |
8318 | response), |
8319 | done); |
8320 | break; |
8321 | default: |
8322 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8323 | break; |
8324 | } |
8325 | } |
8326 | |
8327 | const ::PROTOBUF_NAMESPACE_ID::Message& vlog::GetRequestPrototype( |
8328 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8329 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8330 | switch(method->index()) { |
8331 | case 0: |
8332 | return ::brpc::VLogRequest::default_instance(); |
8333 | default: |
8334 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8335 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8336 | ->GetPrototype(method->input_type()); |
8337 | } |
8338 | } |
8339 | |
8340 | const ::PROTOBUF_NAMESPACE_ID::Message& vlog::GetResponsePrototype( |
8341 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8342 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8343 | switch(method->index()) { |
8344 | case 0: |
8345 | return ::brpc::VLogResponse::default_instance(); |
8346 | default: |
8347 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8348 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8349 | ->GetPrototype(method->output_type()); |
8350 | } |
8351 | } |
8352 | |
8353 | vlog_Stub::vlog_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
8354 | : channel_(channel), owns_channel_(false) {} |
8355 | vlog_Stub::vlog_Stub( |
8356 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
8357 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
8358 | : channel_(channel), |
8359 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
8360 | vlog_Stub::~vlog_Stub() { |
8361 | if (owns_channel_) delete channel_; |
8362 | } |
8363 | |
8364 | void vlog_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8365 | const ::brpc::VLogRequest* request, |
8366 | ::brpc::VLogResponse* response, |
8367 | ::google::protobuf::Closure* done) { |
8368 | channel_->CallMethod(descriptor()->method(0), |
8369 | controller, request, response, done); |
8370 | } |
8371 | // =================================================================== |
8372 | |
8373 | bthreads::~bthreads() {} |
8374 | |
8375 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* bthreads::descriptor() { |
8376 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
8377 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[9]; |
8378 | } |
8379 | |
8380 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* bthreads::GetDescriptor() { |
8381 | return descriptor(); |
8382 | } |
8383 | |
8384 | void bthreads::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8385 | const ::brpc::BthreadsRequest*, |
8386 | ::brpc::BthreadsResponse*, |
8387 | ::google::protobuf::Closure* done) { |
8388 | controller->SetFailed("Method default_method() not implemented." ); |
8389 | done->Run(); |
8390 | } |
8391 | |
8392 | void bthreads::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
8393 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8394 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
8395 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
8396 | ::google::protobuf::Closure* done) { |
8397 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[9]); |
8398 | switch(method->index()) { |
8399 | case 0: |
8400 | default_method(controller, |
8401 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::BthreadsRequest*>( |
8402 | request), |
8403 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::BthreadsResponse*>( |
8404 | response), |
8405 | done); |
8406 | break; |
8407 | default: |
8408 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8409 | break; |
8410 | } |
8411 | } |
8412 | |
8413 | const ::PROTOBUF_NAMESPACE_ID::Message& bthreads::GetRequestPrototype( |
8414 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8415 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8416 | switch(method->index()) { |
8417 | case 0: |
8418 | return ::brpc::BthreadsRequest::default_instance(); |
8419 | default: |
8420 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8421 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8422 | ->GetPrototype(method->input_type()); |
8423 | } |
8424 | } |
8425 | |
8426 | const ::PROTOBUF_NAMESPACE_ID::Message& bthreads::GetResponsePrototype( |
8427 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8428 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8429 | switch(method->index()) { |
8430 | case 0: |
8431 | return ::brpc::BthreadsResponse::default_instance(); |
8432 | default: |
8433 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8434 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8435 | ->GetPrototype(method->output_type()); |
8436 | } |
8437 | } |
8438 | |
8439 | bthreads_Stub::bthreads_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
8440 | : channel_(channel), owns_channel_(false) {} |
8441 | bthreads_Stub::bthreads_Stub( |
8442 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
8443 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
8444 | : channel_(channel), |
8445 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
8446 | bthreads_Stub::~bthreads_Stub() { |
8447 | if (owns_channel_) delete channel_; |
8448 | } |
8449 | |
8450 | void bthreads_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8451 | const ::brpc::BthreadsRequest* request, |
8452 | ::brpc::BthreadsResponse* response, |
8453 | ::google::protobuf::Closure* done) { |
8454 | channel_->CallMethod(descriptor()->method(0), |
8455 | controller, request, response, done); |
8456 | } |
8457 | // =================================================================== |
8458 | |
8459 | ids::~ids() {} |
8460 | |
8461 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* ids::descriptor() { |
8462 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
8463 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[10]; |
8464 | } |
8465 | |
8466 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* ids::GetDescriptor() { |
8467 | return descriptor(); |
8468 | } |
8469 | |
8470 | void ids::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8471 | const ::brpc::IdsRequest*, |
8472 | ::brpc::IdsResponse*, |
8473 | ::google::protobuf::Closure* done) { |
8474 | controller->SetFailed("Method default_method() not implemented." ); |
8475 | done->Run(); |
8476 | } |
8477 | |
8478 | void ids::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
8479 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8480 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
8481 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
8482 | ::google::protobuf::Closure* done) { |
8483 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[10]); |
8484 | switch(method->index()) { |
8485 | case 0: |
8486 | default_method(controller, |
8487 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::IdsRequest*>( |
8488 | request), |
8489 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::IdsResponse*>( |
8490 | response), |
8491 | done); |
8492 | break; |
8493 | default: |
8494 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8495 | break; |
8496 | } |
8497 | } |
8498 | |
8499 | const ::PROTOBUF_NAMESPACE_ID::Message& ids::GetRequestPrototype( |
8500 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8501 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8502 | switch(method->index()) { |
8503 | case 0: |
8504 | return ::brpc::IdsRequest::default_instance(); |
8505 | default: |
8506 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8507 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8508 | ->GetPrototype(method->input_type()); |
8509 | } |
8510 | } |
8511 | |
8512 | const ::PROTOBUF_NAMESPACE_ID::Message& ids::GetResponsePrototype( |
8513 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8514 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8515 | switch(method->index()) { |
8516 | case 0: |
8517 | return ::brpc::IdsResponse::default_instance(); |
8518 | default: |
8519 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8520 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8521 | ->GetPrototype(method->output_type()); |
8522 | } |
8523 | } |
8524 | |
8525 | ids_Stub::ids_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
8526 | : channel_(channel), owns_channel_(false) {} |
8527 | ids_Stub::ids_Stub( |
8528 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
8529 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
8530 | : channel_(channel), |
8531 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
8532 | ids_Stub::~ids_Stub() { |
8533 | if (owns_channel_) delete channel_; |
8534 | } |
8535 | |
8536 | void ids_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8537 | const ::brpc::IdsRequest* request, |
8538 | ::brpc::IdsResponse* response, |
8539 | ::google::protobuf::Closure* done) { |
8540 | channel_->CallMethod(descriptor()->method(0), |
8541 | controller, request, response, done); |
8542 | } |
8543 | // =================================================================== |
8544 | |
8545 | sockets::~sockets() {} |
8546 | |
8547 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* sockets::descriptor() { |
8548 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
8549 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[11]; |
8550 | } |
8551 | |
8552 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* sockets::GetDescriptor() { |
8553 | return descriptor(); |
8554 | } |
8555 | |
8556 | void sockets::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8557 | const ::brpc::SocketsRequest*, |
8558 | ::brpc::SocketsResponse*, |
8559 | ::google::protobuf::Closure* done) { |
8560 | controller->SetFailed("Method default_method() not implemented." ); |
8561 | done->Run(); |
8562 | } |
8563 | |
8564 | void sockets::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
8565 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8566 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
8567 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
8568 | ::google::protobuf::Closure* done) { |
8569 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[11]); |
8570 | switch(method->index()) { |
8571 | case 0: |
8572 | default_method(controller, |
8573 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::SocketsRequest*>( |
8574 | request), |
8575 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::SocketsResponse*>( |
8576 | response), |
8577 | done); |
8578 | break; |
8579 | default: |
8580 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8581 | break; |
8582 | } |
8583 | } |
8584 | |
8585 | const ::PROTOBUF_NAMESPACE_ID::Message& sockets::GetRequestPrototype( |
8586 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8587 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8588 | switch(method->index()) { |
8589 | case 0: |
8590 | return ::brpc::SocketsRequest::default_instance(); |
8591 | default: |
8592 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8593 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8594 | ->GetPrototype(method->input_type()); |
8595 | } |
8596 | } |
8597 | |
8598 | const ::PROTOBUF_NAMESPACE_ID::Message& sockets::GetResponsePrototype( |
8599 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8600 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8601 | switch(method->index()) { |
8602 | case 0: |
8603 | return ::brpc::SocketsResponse::default_instance(); |
8604 | default: |
8605 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8606 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8607 | ->GetPrototype(method->output_type()); |
8608 | } |
8609 | } |
8610 | |
8611 | sockets_Stub::sockets_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
8612 | : channel_(channel), owns_channel_(false) {} |
8613 | sockets_Stub::sockets_Stub( |
8614 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
8615 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
8616 | : channel_(channel), |
8617 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
8618 | sockets_Stub::~sockets_Stub() { |
8619 | if (owns_channel_) delete channel_; |
8620 | } |
8621 | |
8622 | void sockets_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8623 | const ::brpc::SocketsRequest* request, |
8624 | ::brpc::SocketsResponse* response, |
8625 | ::google::protobuf::Closure* done) { |
8626 | channel_->CallMethod(descriptor()->method(0), |
8627 | controller, request, response, done); |
8628 | } |
8629 | // =================================================================== |
8630 | |
8631 | brpc_metrics::~brpc_metrics() {} |
8632 | |
8633 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* brpc_metrics::descriptor() { |
8634 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
8635 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[12]; |
8636 | } |
8637 | |
8638 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* brpc_metrics::GetDescriptor() { |
8639 | return descriptor(); |
8640 | } |
8641 | |
8642 | void brpc_metrics::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8643 | const ::brpc::MetricsRequest*, |
8644 | ::brpc::MetricsResponse*, |
8645 | ::google::protobuf::Closure* done) { |
8646 | controller->SetFailed("Method default_method() not implemented." ); |
8647 | done->Run(); |
8648 | } |
8649 | |
8650 | void brpc_metrics::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
8651 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8652 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
8653 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
8654 | ::google::protobuf::Closure* done) { |
8655 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[12]); |
8656 | switch(method->index()) { |
8657 | case 0: |
8658 | default_method(controller, |
8659 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::MetricsRequest*>( |
8660 | request), |
8661 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::MetricsResponse*>( |
8662 | response), |
8663 | done); |
8664 | break; |
8665 | default: |
8666 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8667 | break; |
8668 | } |
8669 | } |
8670 | |
8671 | const ::PROTOBUF_NAMESPACE_ID::Message& brpc_metrics::GetRequestPrototype( |
8672 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8673 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8674 | switch(method->index()) { |
8675 | case 0: |
8676 | return ::brpc::MetricsRequest::default_instance(); |
8677 | default: |
8678 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8679 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8680 | ->GetPrototype(method->input_type()); |
8681 | } |
8682 | } |
8683 | |
8684 | const ::PROTOBUF_NAMESPACE_ID::Message& brpc_metrics::GetResponsePrototype( |
8685 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8686 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8687 | switch(method->index()) { |
8688 | case 0: |
8689 | return ::brpc::MetricsResponse::default_instance(); |
8690 | default: |
8691 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8692 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8693 | ->GetPrototype(method->output_type()); |
8694 | } |
8695 | } |
8696 | |
8697 | brpc_metrics_Stub::brpc_metrics_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
8698 | : channel_(channel), owns_channel_(false) {} |
8699 | brpc_metrics_Stub::brpc_metrics_Stub( |
8700 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
8701 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
8702 | : channel_(channel), |
8703 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
8704 | brpc_metrics_Stub::~brpc_metrics_Stub() { |
8705 | if (owns_channel_) delete channel_; |
8706 | } |
8707 | |
8708 | void brpc_metrics_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8709 | const ::brpc::MetricsRequest* request, |
8710 | ::brpc::MetricsResponse* response, |
8711 | ::google::protobuf::Closure* done) { |
8712 | channel_->CallMethod(descriptor()->method(0), |
8713 | controller, request, response, done); |
8714 | } |
8715 | // =================================================================== |
8716 | |
8717 | badmethod::~badmethod() {} |
8718 | |
8719 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* badmethod::descriptor() { |
8720 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
8721 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[13]; |
8722 | } |
8723 | |
8724 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* badmethod::GetDescriptor() { |
8725 | return descriptor(); |
8726 | } |
8727 | |
8728 | void badmethod::no_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8729 | const ::brpc::BadMethodRequest*, |
8730 | ::brpc::BadMethodResponse*, |
8731 | ::google::protobuf::Closure* done) { |
8732 | controller->SetFailed("Method no_method() not implemented." ); |
8733 | done->Run(); |
8734 | } |
8735 | |
8736 | void badmethod::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
8737 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8738 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
8739 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
8740 | ::google::protobuf::Closure* done) { |
8741 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[13]); |
8742 | switch(method->index()) { |
8743 | case 0: |
8744 | no_method(controller, |
8745 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::BadMethodRequest*>( |
8746 | request), |
8747 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::BadMethodResponse*>( |
8748 | response), |
8749 | done); |
8750 | break; |
8751 | default: |
8752 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8753 | break; |
8754 | } |
8755 | } |
8756 | |
8757 | const ::PROTOBUF_NAMESPACE_ID::Message& badmethod::GetRequestPrototype( |
8758 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8759 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8760 | switch(method->index()) { |
8761 | case 0: |
8762 | return ::brpc::BadMethodRequest::default_instance(); |
8763 | default: |
8764 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8765 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8766 | ->GetPrototype(method->input_type()); |
8767 | } |
8768 | } |
8769 | |
8770 | const ::PROTOBUF_NAMESPACE_ID::Message& badmethod::GetResponsePrototype( |
8771 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8772 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8773 | switch(method->index()) { |
8774 | case 0: |
8775 | return ::brpc::BadMethodResponse::default_instance(); |
8776 | default: |
8777 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8778 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8779 | ->GetPrototype(method->output_type()); |
8780 | } |
8781 | } |
8782 | |
8783 | badmethod_Stub::badmethod_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
8784 | : channel_(channel), owns_channel_(false) {} |
8785 | badmethod_Stub::badmethod_Stub( |
8786 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
8787 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
8788 | : channel_(channel), |
8789 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
8790 | badmethod_Stub::~badmethod_Stub() { |
8791 | if (owns_channel_) delete channel_; |
8792 | } |
8793 | |
8794 | void badmethod_Stub::no_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8795 | const ::brpc::BadMethodRequest* request, |
8796 | ::brpc::BadMethodResponse* response, |
8797 | ::google::protobuf::Closure* done) { |
8798 | channel_->CallMethod(descriptor()->method(0), |
8799 | controller, request, response, done); |
8800 | } |
8801 | // =================================================================== |
8802 | |
8803 | pprof::~pprof() {} |
8804 | |
8805 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* pprof::descriptor() { |
8806 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
8807 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[14]; |
8808 | } |
8809 | |
8810 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* pprof::GetDescriptor() { |
8811 | return descriptor(); |
8812 | } |
8813 | |
8814 | void pprof::profile(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8815 | const ::brpc::ProfileRequest*, |
8816 | ::brpc::ProfileResponse*, |
8817 | ::google::protobuf::Closure* done) { |
8818 | controller->SetFailed("Method profile() not implemented." ); |
8819 | done->Run(); |
8820 | } |
8821 | |
8822 | void pprof::contention(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8823 | const ::brpc::ProfileRequest*, |
8824 | ::brpc::ProfileResponse*, |
8825 | ::google::protobuf::Closure* done) { |
8826 | controller->SetFailed("Method contention() not implemented." ); |
8827 | done->Run(); |
8828 | } |
8829 | |
8830 | void pprof::heap(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8831 | const ::brpc::ProfileRequest*, |
8832 | ::brpc::ProfileResponse*, |
8833 | ::google::protobuf::Closure* done) { |
8834 | controller->SetFailed("Method heap() not implemented." ); |
8835 | done->Run(); |
8836 | } |
8837 | |
8838 | void pprof::symbol(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8839 | const ::brpc::ProfileRequest*, |
8840 | ::brpc::ProfileResponse*, |
8841 | ::google::protobuf::Closure* done) { |
8842 | controller->SetFailed("Method symbol() not implemented." ); |
8843 | done->Run(); |
8844 | } |
8845 | |
8846 | void pprof::cmdline(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8847 | const ::brpc::ProfileRequest*, |
8848 | ::brpc::ProfileResponse*, |
8849 | ::google::protobuf::Closure* done) { |
8850 | controller->SetFailed("Method cmdline() not implemented." ); |
8851 | done->Run(); |
8852 | } |
8853 | |
8854 | void pprof::growth(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8855 | const ::brpc::ProfileRequest*, |
8856 | ::brpc::ProfileResponse*, |
8857 | ::google::protobuf::Closure* done) { |
8858 | controller->SetFailed("Method growth() not implemented." ); |
8859 | done->Run(); |
8860 | } |
8861 | |
8862 | void pprof::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
8863 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8864 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
8865 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
8866 | ::google::protobuf::Closure* done) { |
8867 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[14]); |
8868 | switch(method->index()) { |
8869 | case 0: |
8870 | profile(controller, |
8871 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::ProfileRequest*>( |
8872 | request), |
8873 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::ProfileResponse*>( |
8874 | response), |
8875 | done); |
8876 | break; |
8877 | case 1: |
8878 | contention(controller, |
8879 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::ProfileRequest*>( |
8880 | request), |
8881 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::ProfileResponse*>( |
8882 | response), |
8883 | done); |
8884 | break; |
8885 | case 2: |
8886 | heap(controller, |
8887 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::ProfileRequest*>( |
8888 | request), |
8889 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::ProfileResponse*>( |
8890 | response), |
8891 | done); |
8892 | break; |
8893 | case 3: |
8894 | symbol(controller, |
8895 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::ProfileRequest*>( |
8896 | request), |
8897 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::ProfileResponse*>( |
8898 | response), |
8899 | done); |
8900 | break; |
8901 | case 4: |
8902 | cmdline(controller, |
8903 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::ProfileRequest*>( |
8904 | request), |
8905 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::ProfileResponse*>( |
8906 | response), |
8907 | done); |
8908 | break; |
8909 | case 5: |
8910 | growth(controller, |
8911 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::ProfileRequest*>( |
8912 | request), |
8913 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::ProfileResponse*>( |
8914 | response), |
8915 | done); |
8916 | break; |
8917 | default: |
8918 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8919 | break; |
8920 | } |
8921 | } |
8922 | |
8923 | const ::PROTOBUF_NAMESPACE_ID::Message& pprof::GetRequestPrototype( |
8924 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8925 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8926 | switch(method->index()) { |
8927 | case 0: |
8928 | return ::brpc::ProfileRequest::default_instance(); |
8929 | case 1: |
8930 | return ::brpc::ProfileRequest::default_instance(); |
8931 | case 2: |
8932 | return ::brpc::ProfileRequest::default_instance(); |
8933 | case 3: |
8934 | return ::brpc::ProfileRequest::default_instance(); |
8935 | case 4: |
8936 | return ::brpc::ProfileRequest::default_instance(); |
8937 | case 5: |
8938 | return ::brpc::ProfileRequest::default_instance(); |
8939 | default: |
8940 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8941 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8942 | ->GetPrototype(method->input_type()); |
8943 | } |
8944 | } |
8945 | |
8946 | const ::PROTOBUF_NAMESPACE_ID::Message& pprof::GetResponsePrototype( |
8947 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
8948 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
8949 | switch(method->index()) { |
8950 | case 0: |
8951 | return ::brpc::ProfileResponse::default_instance(); |
8952 | case 1: |
8953 | return ::brpc::ProfileResponse::default_instance(); |
8954 | case 2: |
8955 | return ::brpc::ProfileResponse::default_instance(); |
8956 | case 3: |
8957 | return ::brpc::ProfileResponse::default_instance(); |
8958 | case 4: |
8959 | return ::brpc::ProfileResponse::default_instance(); |
8960 | case 5: |
8961 | return ::brpc::ProfileResponse::default_instance(); |
8962 | default: |
8963 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
8964 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
8965 | ->GetPrototype(method->output_type()); |
8966 | } |
8967 | } |
8968 | |
8969 | pprof_Stub::pprof_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
8970 | : channel_(channel), owns_channel_(false) {} |
8971 | pprof_Stub::pprof_Stub( |
8972 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
8973 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
8974 | : channel_(channel), |
8975 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
8976 | pprof_Stub::~pprof_Stub() { |
8977 | if (owns_channel_) delete channel_; |
8978 | } |
8979 | |
8980 | void pprof_Stub::profile(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8981 | const ::brpc::ProfileRequest* request, |
8982 | ::brpc::ProfileResponse* response, |
8983 | ::google::protobuf::Closure* done) { |
8984 | channel_->CallMethod(descriptor()->method(0), |
8985 | controller, request, response, done); |
8986 | } |
8987 | void pprof_Stub::contention(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8988 | const ::brpc::ProfileRequest* request, |
8989 | ::brpc::ProfileResponse* response, |
8990 | ::google::protobuf::Closure* done) { |
8991 | channel_->CallMethod(descriptor()->method(1), |
8992 | controller, request, response, done); |
8993 | } |
8994 | void pprof_Stub::heap(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
8995 | const ::brpc::ProfileRequest* request, |
8996 | ::brpc::ProfileResponse* response, |
8997 | ::google::protobuf::Closure* done) { |
8998 | channel_->CallMethod(descriptor()->method(2), |
8999 | controller, request, response, done); |
9000 | } |
9001 | void pprof_Stub::symbol(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9002 | const ::brpc::ProfileRequest* request, |
9003 | ::brpc::ProfileResponse* response, |
9004 | ::google::protobuf::Closure* done) { |
9005 | channel_->CallMethod(descriptor()->method(3), |
9006 | controller, request, response, done); |
9007 | } |
9008 | void pprof_Stub::cmdline(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9009 | const ::brpc::ProfileRequest* request, |
9010 | ::brpc::ProfileResponse* response, |
9011 | ::google::protobuf::Closure* done) { |
9012 | channel_->CallMethod(descriptor()->method(4), |
9013 | controller, request, response, done); |
9014 | } |
9015 | void pprof_Stub::growth(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9016 | const ::brpc::ProfileRequest* request, |
9017 | ::brpc::ProfileResponse* response, |
9018 | ::google::protobuf::Closure* done) { |
9019 | channel_->CallMethod(descriptor()->method(5), |
9020 | controller, request, response, done); |
9021 | } |
9022 | // =================================================================== |
9023 | |
9024 | hotspots::~hotspots() {} |
9025 | |
9026 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* hotspots::descriptor() { |
9027 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
9028 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[15]; |
9029 | } |
9030 | |
9031 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* hotspots::GetDescriptor() { |
9032 | return descriptor(); |
9033 | } |
9034 | |
9035 | void hotspots::cpu(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9036 | const ::brpc::HotspotsRequest*, |
9037 | ::brpc::HotspotsResponse*, |
9038 | ::google::protobuf::Closure* done) { |
9039 | controller->SetFailed("Method cpu() not implemented." ); |
9040 | done->Run(); |
9041 | } |
9042 | |
9043 | void hotspots::cpu_non_responsive(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9044 | const ::brpc::HotspotsRequest*, |
9045 | ::brpc::HotspotsResponse*, |
9046 | ::google::protobuf::Closure* done) { |
9047 | controller->SetFailed("Method cpu_non_responsive() not implemented." ); |
9048 | done->Run(); |
9049 | } |
9050 | |
9051 | void hotspots::heap(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9052 | const ::brpc::HotspotsRequest*, |
9053 | ::brpc::HotspotsResponse*, |
9054 | ::google::protobuf::Closure* done) { |
9055 | controller->SetFailed("Method heap() not implemented." ); |
9056 | done->Run(); |
9057 | } |
9058 | |
9059 | void hotspots::heap_non_responsive(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9060 | const ::brpc::HotspotsRequest*, |
9061 | ::brpc::HotspotsResponse*, |
9062 | ::google::protobuf::Closure* done) { |
9063 | controller->SetFailed("Method heap_non_responsive() not implemented." ); |
9064 | done->Run(); |
9065 | } |
9066 | |
9067 | void hotspots::growth(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9068 | const ::brpc::HotspotsRequest*, |
9069 | ::brpc::HotspotsResponse*, |
9070 | ::google::protobuf::Closure* done) { |
9071 | controller->SetFailed("Method growth() not implemented." ); |
9072 | done->Run(); |
9073 | } |
9074 | |
9075 | void hotspots::growth_non_responsive(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9076 | const ::brpc::HotspotsRequest*, |
9077 | ::brpc::HotspotsResponse*, |
9078 | ::google::protobuf::Closure* done) { |
9079 | controller->SetFailed("Method growth_non_responsive() not implemented." ); |
9080 | done->Run(); |
9081 | } |
9082 | |
9083 | void hotspots::contention(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9084 | const ::brpc::HotspotsRequest*, |
9085 | ::brpc::HotspotsResponse*, |
9086 | ::google::protobuf::Closure* done) { |
9087 | controller->SetFailed("Method contention() not implemented." ); |
9088 | done->Run(); |
9089 | } |
9090 | |
9091 | void hotspots::contention_non_responsive(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9092 | const ::brpc::HotspotsRequest*, |
9093 | ::brpc::HotspotsResponse*, |
9094 | ::google::protobuf::Closure* done) { |
9095 | controller->SetFailed("Method contention_non_responsive() not implemented." ); |
9096 | done->Run(); |
9097 | } |
9098 | |
9099 | void hotspots::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
9100 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9101 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
9102 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
9103 | ::google::protobuf::Closure* done) { |
9104 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[15]); |
9105 | switch(method->index()) { |
9106 | case 0: |
9107 | cpu(controller, |
9108 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::HotspotsRequest*>( |
9109 | request), |
9110 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::HotspotsResponse*>( |
9111 | response), |
9112 | done); |
9113 | break; |
9114 | case 1: |
9115 | cpu_non_responsive(controller, |
9116 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::HotspotsRequest*>( |
9117 | request), |
9118 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::HotspotsResponse*>( |
9119 | response), |
9120 | done); |
9121 | break; |
9122 | case 2: |
9123 | heap(controller, |
9124 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::HotspotsRequest*>( |
9125 | request), |
9126 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::HotspotsResponse*>( |
9127 | response), |
9128 | done); |
9129 | break; |
9130 | case 3: |
9131 | heap_non_responsive(controller, |
9132 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::HotspotsRequest*>( |
9133 | request), |
9134 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::HotspotsResponse*>( |
9135 | response), |
9136 | done); |
9137 | break; |
9138 | case 4: |
9139 | growth(controller, |
9140 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::HotspotsRequest*>( |
9141 | request), |
9142 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::HotspotsResponse*>( |
9143 | response), |
9144 | done); |
9145 | break; |
9146 | case 5: |
9147 | growth_non_responsive(controller, |
9148 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::HotspotsRequest*>( |
9149 | request), |
9150 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::HotspotsResponse*>( |
9151 | response), |
9152 | done); |
9153 | break; |
9154 | case 6: |
9155 | contention(controller, |
9156 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::HotspotsRequest*>( |
9157 | request), |
9158 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::HotspotsResponse*>( |
9159 | response), |
9160 | done); |
9161 | break; |
9162 | case 7: |
9163 | contention_non_responsive(controller, |
9164 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::HotspotsRequest*>( |
9165 | request), |
9166 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::HotspotsResponse*>( |
9167 | response), |
9168 | done); |
9169 | break; |
9170 | default: |
9171 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9172 | break; |
9173 | } |
9174 | } |
9175 | |
9176 | const ::PROTOBUF_NAMESPACE_ID::Message& hotspots::GetRequestPrototype( |
9177 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
9178 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
9179 | switch(method->index()) { |
9180 | case 0: |
9181 | return ::brpc::HotspotsRequest::default_instance(); |
9182 | case 1: |
9183 | return ::brpc::HotspotsRequest::default_instance(); |
9184 | case 2: |
9185 | return ::brpc::HotspotsRequest::default_instance(); |
9186 | case 3: |
9187 | return ::brpc::HotspotsRequest::default_instance(); |
9188 | case 4: |
9189 | return ::brpc::HotspotsRequest::default_instance(); |
9190 | case 5: |
9191 | return ::brpc::HotspotsRequest::default_instance(); |
9192 | case 6: |
9193 | return ::brpc::HotspotsRequest::default_instance(); |
9194 | case 7: |
9195 | return ::brpc::HotspotsRequest::default_instance(); |
9196 | default: |
9197 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9198 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
9199 | ->GetPrototype(method->input_type()); |
9200 | } |
9201 | } |
9202 | |
9203 | const ::PROTOBUF_NAMESPACE_ID::Message& hotspots::GetResponsePrototype( |
9204 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
9205 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
9206 | switch(method->index()) { |
9207 | case 0: |
9208 | return ::brpc::HotspotsResponse::default_instance(); |
9209 | case 1: |
9210 | return ::brpc::HotspotsResponse::default_instance(); |
9211 | case 2: |
9212 | return ::brpc::HotspotsResponse::default_instance(); |
9213 | case 3: |
9214 | return ::brpc::HotspotsResponse::default_instance(); |
9215 | case 4: |
9216 | return ::brpc::HotspotsResponse::default_instance(); |
9217 | case 5: |
9218 | return ::brpc::HotspotsResponse::default_instance(); |
9219 | case 6: |
9220 | return ::brpc::HotspotsResponse::default_instance(); |
9221 | case 7: |
9222 | return ::brpc::HotspotsResponse::default_instance(); |
9223 | default: |
9224 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9225 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
9226 | ->GetPrototype(method->output_type()); |
9227 | } |
9228 | } |
9229 | |
9230 | hotspots_Stub::hotspots_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
9231 | : channel_(channel), owns_channel_(false) {} |
9232 | hotspots_Stub::hotspots_Stub( |
9233 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
9234 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
9235 | : channel_(channel), |
9236 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
9237 | hotspots_Stub::~hotspots_Stub() { |
9238 | if (owns_channel_) delete channel_; |
9239 | } |
9240 | |
9241 | void hotspots_Stub::cpu(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9242 | const ::brpc::HotspotsRequest* request, |
9243 | ::brpc::HotspotsResponse* response, |
9244 | ::google::protobuf::Closure* done) { |
9245 | channel_->CallMethod(descriptor()->method(0), |
9246 | controller, request, response, done); |
9247 | } |
9248 | void hotspots_Stub::cpu_non_responsive(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9249 | const ::brpc::HotspotsRequest* request, |
9250 | ::brpc::HotspotsResponse* response, |
9251 | ::google::protobuf::Closure* done) { |
9252 | channel_->CallMethod(descriptor()->method(1), |
9253 | controller, request, response, done); |
9254 | } |
9255 | void hotspots_Stub::heap(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9256 | const ::brpc::HotspotsRequest* request, |
9257 | ::brpc::HotspotsResponse* response, |
9258 | ::google::protobuf::Closure* done) { |
9259 | channel_->CallMethod(descriptor()->method(2), |
9260 | controller, request, response, done); |
9261 | } |
9262 | void hotspots_Stub::heap_non_responsive(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9263 | const ::brpc::HotspotsRequest* request, |
9264 | ::brpc::HotspotsResponse* response, |
9265 | ::google::protobuf::Closure* done) { |
9266 | channel_->CallMethod(descriptor()->method(3), |
9267 | controller, request, response, done); |
9268 | } |
9269 | void hotspots_Stub::growth(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9270 | const ::brpc::HotspotsRequest* request, |
9271 | ::brpc::HotspotsResponse* response, |
9272 | ::google::protobuf::Closure* done) { |
9273 | channel_->CallMethod(descriptor()->method(4), |
9274 | controller, request, response, done); |
9275 | } |
9276 | void hotspots_Stub::growth_non_responsive(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9277 | const ::brpc::HotspotsRequest* request, |
9278 | ::brpc::HotspotsResponse* response, |
9279 | ::google::protobuf::Closure* done) { |
9280 | channel_->CallMethod(descriptor()->method(5), |
9281 | controller, request, response, done); |
9282 | } |
9283 | void hotspots_Stub::contention(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9284 | const ::brpc::HotspotsRequest* request, |
9285 | ::brpc::HotspotsResponse* response, |
9286 | ::google::protobuf::Closure* done) { |
9287 | channel_->CallMethod(descriptor()->method(6), |
9288 | controller, request, response, done); |
9289 | } |
9290 | void hotspots_Stub::contention_non_responsive(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9291 | const ::brpc::HotspotsRequest* request, |
9292 | ::brpc::HotspotsResponse* response, |
9293 | ::google::protobuf::Closure* done) { |
9294 | channel_->CallMethod(descriptor()->method(7), |
9295 | controller, request, response, done); |
9296 | } |
9297 | // =================================================================== |
9298 | |
9299 | flags::~flags() {} |
9300 | |
9301 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* flags::descriptor() { |
9302 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
9303 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[16]; |
9304 | } |
9305 | |
9306 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* flags::GetDescriptor() { |
9307 | return descriptor(); |
9308 | } |
9309 | |
9310 | void flags::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9311 | const ::brpc::FlagsRequest*, |
9312 | ::brpc::FlagsResponse*, |
9313 | ::google::protobuf::Closure* done) { |
9314 | controller->SetFailed("Method default_method() not implemented." ); |
9315 | done->Run(); |
9316 | } |
9317 | |
9318 | void flags::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
9319 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9320 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
9321 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
9322 | ::google::protobuf::Closure* done) { |
9323 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[16]); |
9324 | switch(method->index()) { |
9325 | case 0: |
9326 | default_method(controller, |
9327 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::FlagsRequest*>( |
9328 | request), |
9329 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::FlagsResponse*>( |
9330 | response), |
9331 | done); |
9332 | break; |
9333 | default: |
9334 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9335 | break; |
9336 | } |
9337 | } |
9338 | |
9339 | const ::PROTOBUF_NAMESPACE_ID::Message& flags::GetRequestPrototype( |
9340 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
9341 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
9342 | switch(method->index()) { |
9343 | case 0: |
9344 | return ::brpc::FlagsRequest::default_instance(); |
9345 | default: |
9346 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9347 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
9348 | ->GetPrototype(method->input_type()); |
9349 | } |
9350 | } |
9351 | |
9352 | const ::PROTOBUF_NAMESPACE_ID::Message& flags::GetResponsePrototype( |
9353 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
9354 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
9355 | switch(method->index()) { |
9356 | case 0: |
9357 | return ::brpc::FlagsResponse::default_instance(); |
9358 | default: |
9359 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9360 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
9361 | ->GetPrototype(method->output_type()); |
9362 | } |
9363 | } |
9364 | |
9365 | flags_Stub::flags_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
9366 | : channel_(channel), owns_channel_(false) {} |
9367 | flags_Stub::flags_Stub( |
9368 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
9369 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
9370 | : channel_(channel), |
9371 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
9372 | flags_Stub::~flags_Stub() { |
9373 | if (owns_channel_) delete channel_; |
9374 | } |
9375 | |
9376 | void flags_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9377 | const ::brpc::FlagsRequest* request, |
9378 | ::brpc::FlagsResponse* response, |
9379 | ::google::protobuf::Closure* done) { |
9380 | channel_->CallMethod(descriptor()->method(0), |
9381 | controller, request, response, done); |
9382 | } |
9383 | // =================================================================== |
9384 | |
9385 | vars::~vars() {} |
9386 | |
9387 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* vars::descriptor() { |
9388 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
9389 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[17]; |
9390 | } |
9391 | |
9392 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* vars::GetDescriptor() { |
9393 | return descriptor(); |
9394 | } |
9395 | |
9396 | void vars::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9397 | const ::brpc::VarsRequest*, |
9398 | ::brpc::VarsResponse*, |
9399 | ::google::protobuf::Closure* done) { |
9400 | controller->SetFailed("Method default_method() not implemented." ); |
9401 | done->Run(); |
9402 | } |
9403 | |
9404 | void vars::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
9405 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9406 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
9407 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
9408 | ::google::protobuf::Closure* done) { |
9409 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[17]); |
9410 | switch(method->index()) { |
9411 | case 0: |
9412 | default_method(controller, |
9413 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::VarsRequest*>( |
9414 | request), |
9415 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::VarsResponse*>( |
9416 | response), |
9417 | done); |
9418 | break; |
9419 | default: |
9420 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9421 | break; |
9422 | } |
9423 | } |
9424 | |
9425 | const ::PROTOBUF_NAMESPACE_ID::Message& vars::GetRequestPrototype( |
9426 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
9427 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
9428 | switch(method->index()) { |
9429 | case 0: |
9430 | return ::brpc::VarsRequest::default_instance(); |
9431 | default: |
9432 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9433 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
9434 | ->GetPrototype(method->input_type()); |
9435 | } |
9436 | } |
9437 | |
9438 | const ::PROTOBUF_NAMESPACE_ID::Message& vars::GetResponsePrototype( |
9439 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
9440 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
9441 | switch(method->index()) { |
9442 | case 0: |
9443 | return ::brpc::VarsResponse::default_instance(); |
9444 | default: |
9445 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9446 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
9447 | ->GetPrototype(method->output_type()); |
9448 | } |
9449 | } |
9450 | |
9451 | vars_Stub::vars_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
9452 | : channel_(channel), owns_channel_(false) {} |
9453 | vars_Stub::vars_Stub( |
9454 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
9455 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
9456 | : channel_(channel), |
9457 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
9458 | vars_Stub::~vars_Stub() { |
9459 | if (owns_channel_) delete channel_; |
9460 | } |
9461 | |
9462 | void vars_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9463 | const ::brpc::VarsRequest* request, |
9464 | ::brpc::VarsResponse* response, |
9465 | ::google::protobuf::Closure* done) { |
9466 | channel_->CallMethod(descriptor()->method(0), |
9467 | controller, request, response, done); |
9468 | } |
9469 | // =================================================================== |
9470 | |
9471 | rpcz::~rpcz() {} |
9472 | |
9473 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* rpcz::descriptor() { |
9474 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
9475 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[18]; |
9476 | } |
9477 | |
9478 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* rpcz::GetDescriptor() { |
9479 | return descriptor(); |
9480 | } |
9481 | |
9482 | void rpcz::enable(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9483 | const ::brpc::RpczRequest*, |
9484 | ::brpc::RpczResponse*, |
9485 | ::google::protobuf::Closure* done) { |
9486 | controller->SetFailed("Method enable() not implemented." ); |
9487 | done->Run(); |
9488 | } |
9489 | |
9490 | void rpcz::disable(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9491 | const ::brpc::RpczRequest*, |
9492 | ::brpc::RpczResponse*, |
9493 | ::google::protobuf::Closure* done) { |
9494 | controller->SetFailed("Method disable() not implemented." ); |
9495 | done->Run(); |
9496 | } |
9497 | |
9498 | void rpcz::stats(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9499 | const ::brpc::RpczRequest*, |
9500 | ::brpc::RpczResponse*, |
9501 | ::google::protobuf::Closure* done) { |
9502 | controller->SetFailed("Method stats() not implemented." ); |
9503 | done->Run(); |
9504 | } |
9505 | |
9506 | void rpcz::hex_log_id(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9507 | const ::brpc::RpczRequest*, |
9508 | ::brpc::RpczResponse*, |
9509 | ::google::protobuf::Closure* done) { |
9510 | controller->SetFailed("Method hex_log_id() not implemented." ); |
9511 | done->Run(); |
9512 | } |
9513 | |
9514 | void rpcz::dec_log_id(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9515 | const ::brpc::RpczRequest*, |
9516 | ::brpc::RpczResponse*, |
9517 | ::google::protobuf::Closure* done) { |
9518 | controller->SetFailed("Method dec_log_id() not implemented." ); |
9519 | done->Run(); |
9520 | } |
9521 | |
9522 | void rpcz::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9523 | const ::brpc::RpczRequest*, |
9524 | ::brpc::RpczResponse*, |
9525 | ::google::protobuf::Closure* done) { |
9526 | controller->SetFailed("Method default_method() not implemented." ); |
9527 | done->Run(); |
9528 | } |
9529 | |
9530 | void rpcz::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
9531 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9532 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
9533 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
9534 | ::google::protobuf::Closure* done) { |
9535 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[18]); |
9536 | switch(method->index()) { |
9537 | case 0: |
9538 | enable(controller, |
9539 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::RpczRequest*>( |
9540 | request), |
9541 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::RpczResponse*>( |
9542 | response), |
9543 | done); |
9544 | break; |
9545 | case 1: |
9546 | disable(controller, |
9547 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::RpczRequest*>( |
9548 | request), |
9549 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::RpczResponse*>( |
9550 | response), |
9551 | done); |
9552 | break; |
9553 | case 2: |
9554 | stats(controller, |
9555 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::RpczRequest*>( |
9556 | request), |
9557 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::RpczResponse*>( |
9558 | response), |
9559 | done); |
9560 | break; |
9561 | case 3: |
9562 | hex_log_id(controller, |
9563 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::RpczRequest*>( |
9564 | request), |
9565 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::RpczResponse*>( |
9566 | response), |
9567 | done); |
9568 | break; |
9569 | case 4: |
9570 | dec_log_id(controller, |
9571 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::RpczRequest*>( |
9572 | request), |
9573 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::RpczResponse*>( |
9574 | response), |
9575 | done); |
9576 | break; |
9577 | case 5: |
9578 | default_method(controller, |
9579 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::RpczRequest*>( |
9580 | request), |
9581 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::RpczResponse*>( |
9582 | response), |
9583 | done); |
9584 | break; |
9585 | default: |
9586 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9587 | break; |
9588 | } |
9589 | } |
9590 | |
9591 | const ::PROTOBUF_NAMESPACE_ID::Message& rpcz::GetRequestPrototype( |
9592 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
9593 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
9594 | switch(method->index()) { |
9595 | case 0: |
9596 | return ::brpc::RpczRequest::default_instance(); |
9597 | case 1: |
9598 | return ::brpc::RpczRequest::default_instance(); |
9599 | case 2: |
9600 | return ::brpc::RpczRequest::default_instance(); |
9601 | case 3: |
9602 | return ::brpc::RpczRequest::default_instance(); |
9603 | case 4: |
9604 | return ::brpc::RpczRequest::default_instance(); |
9605 | case 5: |
9606 | return ::brpc::RpczRequest::default_instance(); |
9607 | default: |
9608 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9609 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
9610 | ->GetPrototype(method->input_type()); |
9611 | } |
9612 | } |
9613 | |
9614 | const ::PROTOBUF_NAMESPACE_ID::Message& rpcz::GetResponsePrototype( |
9615 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
9616 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
9617 | switch(method->index()) { |
9618 | case 0: |
9619 | return ::brpc::RpczResponse::default_instance(); |
9620 | case 1: |
9621 | return ::brpc::RpczResponse::default_instance(); |
9622 | case 2: |
9623 | return ::brpc::RpczResponse::default_instance(); |
9624 | case 3: |
9625 | return ::brpc::RpczResponse::default_instance(); |
9626 | case 4: |
9627 | return ::brpc::RpczResponse::default_instance(); |
9628 | case 5: |
9629 | return ::brpc::RpczResponse::default_instance(); |
9630 | default: |
9631 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9632 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
9633 | ->GetPrototype(method->output_type()); |
9634 | } |
9635 | } |
9636 | |
9637 | rpcz_Stub::rpcz_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
9638 | : channel_(channel), owns_channel_(false) {} |
9639 | rpcz_Stub::rpcz_Stub( |
9640 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
9641 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
9642 | : channel_(channel), |
9643 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
9644 | rpcz_Stub::~rpcz_Stub() { |
9645 | if (owns_channel_) delete channel_; |
9646 | } |
9647 | |
9648 | void rpcz_Stub::enable(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9649 | const ::brpc::RpczRequest* request, |
9650 | ::brpc::RpczResponse* response, |
9651 | ::google::protobuf::Closure* done) { |
9652 | channel_->CallMethod(descriptor()->method(0), |
9653 | controller, request, response, done); |
9654 | } |
9655 | void rpcz_Stub::disable(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9656 | const ::brpc::RpczRequest* request, |
9657 | ::brpc::RpczResponse* response, |
9658 | ::google::protobuf::Closure* done) { |
9659 | channel_->CallMethod(descriptor()->method(1), |
9660 | controller, request, response, done); |
9661 | } |
9662 | void rpcz_Stub::stats(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9663 | const ::brpc::RpczRequest* request, |
9664 | ::brpc::RpczResponse* response, |
9665 | ::google::protobuf::Closure* done) { |
9666 | channel_->CallMethod(descriptor()->method(2), |
9667 | controller, request, response, done); |
9668 | } |
9669 | void rpcz_Stub::hex_log_id(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9670 | const ::brpc::RpczRequest* request, |
9671 | ::brpc::RpczResponse* response, |
9672 | ::google::protobuf::Closure* done) { |
9673 | channel_->CallMethod(descriptor()->method(3), |
9674 | controller, request, response, done); |
9675 | } |
9676 | void rpcz_Stub::dec_log_id(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9677 | const ::brpc::RpczRequest* request, |
9678 | ::brpc::RpczResponse* response, |
9679 | ::google::protobuf::Closure* done) { |
9680 | channel_->CallMethod(descriptor()->method(4), |
9681 | controller, request, response, done); |
9682 | } |
9683 | void rpcz_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9684 | const ::brpc::RpczRequest* request, |
9685 | ::brpc::RpczResponse* response, |
9686 | ::google::protobuf::Closure* done) { |
9687 | channel_->CallMethod(descriptor()->method(5), |
9688 | controller, request, response, done); |
9689 | } |
9690 | // =================================================================== |
9691 | |
9692 | dir::~dir() {} |
9693 | |
9694 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* dir::descriptor() { |
9695 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_brpc_2fbuiltin_5fservice_2eproto); |
9696 | return file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[19]; |
9697 | } |
9698 | |
9699 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* dir::GetDescriptor() { |
9700 | return descriptor(); |
9701 | } |
9702 | |
9703 | void dir::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9704 | const ::brpc::DirRequest*, |
9705 | ::brpc::DirResponse*, |
9706 | ::google::protobuf::Closure* done) { |
9707 | controller->SetFailed("Method default_method() not implemented." ); |
9708 | done->Run(); |
9709 | } |
9710 | |
9711 | void dir::CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
9712 | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9713 | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
9714 | ::PROTOBUF_NAMESPACE_ID::Message* response, |
9715 | ::google::protobuf::Closure* done) { |
9716 | GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_brpc_2fbuiltin_5fservice_2eproto[19]); |
9717 | switch(method->index()) { |
9718 | case 0: |
9719 | default_method(controller, |
9720 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ::brpc::DirRequest*>( |
9721 | request), |
9722 | ::PROTOBUF_NAMESPACE_ID::internal::DownCast<::brpc::DirResponse*>( |
9723 | response), |
9724 | done); |
9725 | break; |
9726 | default: |
9727 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9728 | break; |
9729 | } |
9730 | } |
9731 | |
9732 | const ::PROTOBUF_NAMESPACE_ID::Message& dir::GetRequestPrototype( |
9733 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
9734 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
9735 | switch(method->index()) { |
9736 | case 0: |
9737 | return ::brpc::DirRequest::default_instance(); |
9738 | default: |
9739 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9740 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
9741 | ->GetPrototype(method->input_type()); |
9742 | } |
9743 | } |
9744 | |
9745 | const ::PROTOBUF_NAMESPACE_ID::Message& dir::GetResponsePrototype( |
9746 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const { |
9747 | GOOGLE_DCHECK_EQ(method->service(), descriptor()); |
9748 | switch(method->index()) { |
9749 | case 0: |
9750 | return ::brpc::DirResponse::default_instance(); |
9751 | default: |
9752 | GOOGLE_LOG(FATAL) << "Bad method index; this should never happen." ; |
9753 | return *::PROTOBUF_NAMESPACE_ID::MessageFactory::generated_factory() |
9754 | ->GetPrototype(method->output_type()); |
9755 | } |
9756 | } |
9757 | |
9758 | dir_Stub::dir_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel) |
9759 | : channel_(channel), owns_channel_(false) {} |
9760 | dir_Stub::dir_Stub( |
9761 | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
9762 | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership) |
9763 | : channel_(channel), |
9764 | owns_channel_(ownership == ::PROTOBUF_NAMESPACE_ID::Service::STUB_OWNS_CHANNEL) {} |
9765 | dir_Stub::~dir_Stub() { |
9766 | if (owns_channel_) delete channel_; |
9767 | } |
9768 | |
9769 | void dir_Stub::default_method(::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
9770 | const ::brpc::DirRequest* request, |
9771 | ::brpc::DirResponse* response, |
9772 | ::google::protobuf::Closure* done) { |
9773 | channel_->CallMethod(descriptor()->method(0), |
9774 | controller, request, response, done); |
9775 | } |
9776 | |
9777 | // @@protoc_insertion_point(namespace_scope) |
9778 | } // namespace brpc |
9779 | PROTOBUF_NAMESPACE_OPEN |
9780 | template<> PROTOBUF_NOINLINE ::brpc::IndexRequest* Arena::CreateMaybeMessage< ::brpc::IndexRequest >(Arena* arena) { |
9781 | return Arena::CreateInternal< ::brpc::IndexRequest >(arena); |
9782 | } |
9783 | template<> PROTOBUF_NOINLINE ::brpc::IndexResponse* Arena::CreateMaybeMessage< ::brpc::IndexResponse >(Arena* arena) { |
9784 | return Arena::CreateInternal< ::brpc::IndexResponse >(arena); |
9785 | } |
9786 | template<> PROTOBUF_NOINLINE ::brpc::FlagsRequest* Arena::CreateMaybeMessage< ::brpc::FlagsRequest >(Arena* arena) { |
9787 | return Arena::CreateInternal< ::brpc::FlagsRequest >(arena); |
9788 | } |
9789 | template<> PROTOBUF_NOINLINE ::brpc::FlagsResponse* Arena::CreateMaybeMessage< ::brpc::FlagsResponse >(Arena* arena) { |
9790 | return Arena::CreateInternal< ::brpc::FlagsResponse >(arena); |
9791 | } |
9792 | template<> PROTOBUF_NOINLINE ::brpc::VersionRequest* Arena::CreateMaybeMessage< ::brpc::VersionRequest >(Arena* arena) { |
9793 | return Arena::CreateInternal< ::brpc::VersionRequest >(arena); |
9794 | } |
9795 | template<> PROTOBUF_NOINLINE ::brpc::VersionResponse* Arena::CreateMaybeMessage< ::brpc::VersionResponse >(Arena* arena) { |
9796 | return Arena::CreateInternal< ::brpc::VersionResponse >(arena); |
9797 | } |
9798 | template<> PROTOBUF_NOINLINE ::brpc::HealthRequest* Arena::CreateMaybeMessage< ::brpc::HealthRequest >(Arena* arena) { |
9799 | return Arena::CreateInternal< ::brpc::HealthRequest >(arena); |
9800 | } |
9801 | template<> PROTOBUF_NOINLINE ::brpc::HealthResponse* Arena::CreateMaybeMessage< ::brpc::HealthResponse >(Arena* arena) { |
9802 | return Arena::CreateInternal< ::brpc::HealthResponse >(arena); |
9803 | } |
9804 | template<> PROTOBUF_NOINLINE ::brpc::StatusRequest* Arena::CreateMaybeMessage< ::brpc::StatusRequest >(Arena* arena) { |
9805 | return Arena::CreateInternal< ::brpc::StatusRequest >(arena); |
9806 | } |
9807 | template<> PROTOBUF_NOINLINE ::brpc::StatusResponse* Arena::CreateMaybeMessage< ::brpc::StatusResponse >(Arena* arena) { |
9808 | return Arena::CreateInternal< ::brpc::StatusResponse >(arena); |
9809 | } |
9810 | template<> PROTOBUF_NOINLINE ::brpc::ProtobufsRequest* Arena::CreateMaybeMessage< ::brpc::ProtobufsRequest >(Arena* arena) { |
9811 | return Arena::CreateInternal< ::brpc::ProtobufsRequest >(arena); |
9812 | } |
9813 | template<> PROTOBUF_NOINLINE ::brpc::ProtobufsResponse* Arena::CreateMaybeMessage< ::brpc::ProtobufsResponse >(Arena* arena) { |
9814 | return Arena::CreateInternal< ::brpc::ProtobufsResponse >(arena); |
9815 | } |
9816 | template<> PROTOBUF_NOINLINE ::brpc::ConnectionsRequest* Arena::CreateMaybeMessage< ::brpc::ConnectionsRequest >(Arena* arena) { |
9817 | return Arena::CreateInternal< ::brpc::ConnectionsRequest >(arena); |
9818 | } |
9819 | template<> PROTOBUF_NOINLINE ::brpc::ConnectionsResponse* Arena::CreateMaybeMessage< ::brpc::ConnectionsResponse >(Arena* arena) { |
9820 | return Arena::CreateInternal< ::brpc::ConnectionsResponse >(arena); |
9821 | } |
9822 | template<> PROTOBUF_NOINLINE ::brpc::ListRequest* Arena::CreateMaybeMessage< ::brpc::ListRequest >(Arena* arena) { |
9823 | return Arena::CreateInternal< ::brpc::ListRequest >(arena); |
9824 | } |
9825 | template<> PROTOBUF_NOINLINE ::brpc::ListResponse* Arena::CreateMaybeMessage< ::brpc::ListResponse >(Arena* arena) { |
9826 | return Arena::CreateInternal< ::brpc::ListResponse >(arena); |
9827 | } |
9828 | template<> PROTOBUF_NOINLINE ::brpc::VarsRequest* Arena::CreateMaybeMessage< ::brpc::VarsRequest >(Arena* arena) { |
9829 | return Arena::CreateInternal< ::brpc::VarsRequest >(arena); |
9830 | } |
9831 | template<> PROTOBUF_NOINLINE ::brpc::VarsResponse* Arena::CreateMaybeMessage< ::brpc::VarsResponse >(Arena* arena) { |
9832 | return Arena::CreateInternal< ::brpc::VarsResponse >(arena); |
9833 | } |
9834 | template<> PROTOBUF_NOINLINE ::brpc::BthreadsRequest* Arena::CreateMaybeMessage< ::brpc::BthreadsRequest >(Arena* arena) { |
9835 | return Arena::CreateInternal< ::brpc::BthreadsRequest >(arena); |
9836 | } |
9837 | template<> PROTOBUF_NOINLINE ::brpc::BthreadsResponse* Arena::CreateMaybeMessage< ::brpc::BthreadsResponse >(Arena* arena) { |
9838 | return Arena::CreateInternal< ::brpc::BthreadsResponse >(arena); |
9839 | } |
9840 | template<> PROTOBUF_NOINLINE ::brpc::IdsRequest* Arena::CreateMaybeMessage< ::brpc::IdsRequest >(Arena* arena) { |
9841 | return Arena::CreateInternal< ::brpc::IdsRequest >(arena); |
9842 | } |
9843 | template<> PROTOBUF_NOINLINE ::brpc::IdsResponse* Arena::CreateMaybeMessage< ::brpc::IdsResponse >(Arena* arena) { |
9844 | return Arena::CreateInternal< ::brpc::IdsResponse >(arena); |
9845 | } |
9846 | template<> PROTOBUF_NOINLINE ::brpc::SocketsRequest* Arena::CreateMaybeMessage< ::brpc::SocketsRequest >(Arena* arena) { |
9847 | return Arena::CreateInternal< ::brpc::SocketsRequest >(arena); |
9848 | } |
9849 | template<> PROTOBUF_NOINLINE ::brpc::SocketsResponse* Arena::CreateMaybeMessage< ::brpc::SocketsResponse >(Arena* arena) { |
9850 | return Arena::CreateInternal< ::brpc::SocketsResponse >(arena); |
9851 | } |
9852 | template<> PROTOBUF_NOINLINE ::brpc::RpczRequest* Arena::CreateMaybeMessage< ::brpc::RpczRequest >(Arena* arena) { |
9853 | return Arena::CreateInternal< ::brpc::RpczRequest >(arena); |
9854 | } |
9855 | template<> PROTOBUF_NOINLINE ::brpc::RpczResponse* Arena::CreateMaybeMessage< ::brpc::RpczResponse >(Arena* arena) { |
9856 | return Arena::CreateInternal< ::brpc::RpczResponse >(arena); |
9857 | } |
9858 | template<> PROTOBUF_NOINLINE ::brpc::ThreadsRequest* Arena::CreateMaybeMessage< ::brpc::ThreadsRequest >(Arena* arena) { |
9859 | return Arena::CreateInternal< ::brpc::ThreadsRequest >(arena); |
9860 | } |
9861 | template<> PROTOBUF_NOINLINE ::brpc::ThreadsResponse* Arena::CreateMaybeMessage< ::brpc::ThreadsResponse >(Arena* arena) { |
9862 | return Arena::CreateInternal< ::brpc::ThreadsResponse >(arena); |
9863 | } |
9864 | template<> PROTOBUF_NOINLINE ::brpc::DirRequest* Arena::CreateMaybeMessage< ::brpc::DirRequest >(Arena* arena) { |
9865 | return Arena::CreateInternal< ::brpc::DirRequest >(arena); |
9866 | } |
9867 | template<> PROTOBUF_NOINLINE ::brpc::DirResponse* Arena::CreateMaybeMessage< ::brpc::DirResponse >(Arena* arena) { |
9868 | return Arena::CreateInternal< ::brpc::DirResponse >(arena); |
9869 | } |
9870 | template<> PROTOBUF_NOINLINE ::brpc::VLogRequest* Arena::CreateMaybeMessage< ::brpc::VLogRequest >(Arena* arena) { |
9871 | return Arena::CreateInternal< ::brpc::VLogRequest >(arena); |
9872 | } |
9873 | template<> PROTOBUF_NOINLINE ::brpc::VLogResponse* Arena::CreateMaybeMessage< ::brpc::VLogResponse >(Arena* arena) { |
9874 | return Arena::CreateInternal< ::brpc::VLogResponse >(arena); |
9875 | } |
9876 | template<> PROTOBUF_NOINLINE ::brpc::MetricsRequest* Arena::CreateMaybeMessage< ::brpc::MetricsRequest >(Arena* arena) { |
9877 | return Arena::CreateInternal< ::brpc::MetricsRequest >(arena); |
9878 | } |
9879 | template<> PROTOBUF_NOINLINE ::brpc::MetricsResponse* Arena::CreateMaybeMessage< ::brpc::MetricsResponse >(Arena* arena) { |
9880 | return Arena::CreateInternal< ::brpc::MetricsResponse >(arena); |
9881 | } |
9882 | template<> PROTOBUF_NOINLINE ::brpc::BadMethodRequest* Arena::CreateMaybeMessage< ::brpc::BadMethodRequest >(Arena* arena) { |
9883 | return Arena::CreateInternal< ::brpc::BadMethodRequest >(arena); |
9884 | } |
9885 | template<> PROTOBUF_NOINLINE ::brpc::BadMethodResponse* Arena::CreateMaybeMessage< ::brpc::BadMethodResponse >(Arena* arena) { |
9886 | return Arena::CreateInternal< ::brpc::BadMethodResponse >(arena); |
9887 | } |
9888 | template<> PROTOBUF_NOINLINE ::brpc::ProfileRequest* Arena::CreateMaybeMessage< ::brpc::ProfileRequest >(Arena* arena) { |
9889 | return Arena::CreateInternal< ::brpc::ProfileRequest >(arena); |
9890 | } |
9891 | template<> PROTOBUF_NOINLINE ::brpc::ProfileResponse* Arena::CreateMaybeMessage< ::brpc::ProfileResponse >(Arena* arena) { |
9892 | return Arena::CreateInternal< ::brpc::ProfileResponse >(arena); |
9893 | } |
9894 | template<> PROTOBUF_NOINLINE ::brpc::HotspotsRequest* Arena::CreateMaybeMessage< ::brpc::HotspotsRequest >(Arena* arena) { |
9895 | return Arena::CreateInternal< ::brpc::HotspotsRequest >(arena); |
9896 | } |
9897 | template<> PROTOBUF_NOINLINE ::brpc::HotspotsResponse* Arena::CreateMaybeMessage< ::brpc::HotspotsResponse >(Arena* arena) { |
9898 | return Arena::CreateInternal< ::brpc::HotspotsResponse >(arena); |
9899 | } |
9900 | PROTOBUF_NAMESPACE_CLOSE |
9901 | |
9902 | // @@protoc_insertion_point(global_scope) |
9903 | #include <google/protobuf/port_undef.inc> |
9904 | |