/src/brpc/build/brpc/proto_base.pb.h
Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: brpc/proto_base.proto |
3 | | |
4 | | #ifndef GOOGLE_PROTOBUF_INCLUDED_brpc_2fproto_5fbase_2eproto |
5 | | #define GOOGLE_PROTOBUF_INCLUDED_brpc_2fproto_5fbase_2eproto |
6 | | |
7 | | #include <limits> |
8 | | #include <string> |
9 | | |
10 | | #include <google/protobuf/port_def.inc> |
11 | | #if PROTOBUF_VERSION < 3021000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/port_undef.inc> |
23 | | #include <google/protobuf/io/coded_stream.h> |
24 | | #include <google/protobuf/arena.h> |
25 | | #include <google/protobuf/arenastring.h> |
26 | | #include <google/protobuf/generated_message_bases.h> |
27 | | #include <google/protobuf/generated_message_util.h> |
28 | | #include <google/protobuf/metadata_lite.h> |
29 | | #include <google/protobuf/generated_message_reflection.h> |
30 | | #include <google/protobuf/message.h> |
31 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
32 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
33 | | #include <google/protobuf/service.h> |
34 | | #include <google/protobuf/unknown_field_set.h> |
35 | | // @@protoc_insertion_point(includes) |
36 | | #include <google/protobuf/port_def.inc> |
37 | | #define PROTOBUF_INTERNAL_EXPORT_brpc_2fproto_5fbase_2eproto |
38 | | PROTOBUF_NAMESPACE_OPEN |
39 | | namespace internal { |
40 | | class AnyMetadata; |
41 | | } // namespace internal |
42 | | PROTOBUF_NAMESPACE_CLOSE |
43 | | |
44 | | // Internal implementation detail -- do not use these members. |
45 | | struct TableStruct_brpc_2fproto_5fbase_2eproto { |
46 | | static const uint32_t offsets[]; |
47 | | }; |
48 | | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_brpc_2fproto_5fbase_2eproto; |
49 | | namespace brpc { |
50 | | class CouchbaseRequestBase; |
51 | | struct CouchbaseRequestBaseDefaultTypeInternal; |
52 | | extern CouchbaseRequestBaseDefaultTypeInternal _CouchbaseRequestBase_default_instance_; |
53 | | class CouchbaseResponseBase; |
54 | | struct CouchbaseResponseBaseDefaultTypeInternal; |
55 | | extern CouchbaseResponseBaseDefaultTypeInternal _CouchbaseResponseBase_default_instance_; |
56 | | class DeserializerBase; |
57 | | struct DeserializerBaseDefaultTypeInternal; |
58 | | extern DeserializerBaseDefaultTypeInternal _DeserializerBase_default_instance_; |
59 | | class EspMessageBase; |
60 | | struct EspMessageBaseDefaultTypeInternal; |
61 | | extern EspMessageBaseDefaultTypeInternal _EspMessageBase_default_instance_; |
62 | | class MemcacheRequestBase; |
63 | | struct MemcacheRequestBaseDefaultTypeInternal; |
64 | | extern MemcacheRequestBaseDefaultTypeInternal _MemcacheRequestBase_default_instance_; |
65 | | class MemcacheResponseBase; |
66 | | struct MemcacheResponseBaseDefaultTypeInternal; |
67 | | extern MemcacheResponseBaseDefaultTypeInternal _MemcacheResponseBase_default_instance_; |
68 | | class NsheadMessageBase; |
69 | | struct NsheadMessageBaseDefaultTypeInternal; |
70 | | extern NsheadMessageBaseDefaultTypeInternal _NsheadMessageBase_default_instance_; |
71 | | class RedisRequestBase; |
72 | | struct RedisRequestBaseDefaultTypeInternal; |
73 | | extern RedisRequestBaseDefaultTypeInternal _RedisRequestBase_default_instance_; |
74 | | class RedisResponseBase; |
75 | | struct RedisResponseBaseDefaultTypeInternal; |
76 | | extern RedisResponseBaseDefaultTypeInternal _RedisResponseBase_default_instance_; |
77 | | class SerializedRequestBase; |
78 | | struct SerializedRequestBaseDefaultTypeInternal; |
79 | | extern SerializedRequestBaseDefaultTypeInternal _SerializedRequestBase_default_instance_; |
80 | | class SerializedResponseBase; |
81 | | struct SerializedResponseBaseDefaultTypeInternal; |
82 | | extern SerializedResponseBaseDefaultTypeInternal _SerializedResponseBase_default_instance_; |
83 | | class SerializerBase; |
84 | | struct SerializerBaseDefaultTypeInternal; |
85 | | extern SerializerBaseDefaultTypeInternal _SerializerBase_default_instance_; |
86 | | class ThriftFramedMessageBase; |
87 | | struct ThriftFramedMessageBaseDefaultTypeInternal; |
88 | | extern ThriftFramedMessageBaseDefaultTypeInternal _ThriftFramedMessageBase_default_instance_; |
89 | | } // namespace brpc |
90 | | PROTOBUF_NAMESPACE_OPEN |
91 | | template<> ::brpc::CouchbaseRequestBase* Arena::CreateMaybeMessage<::brpc::CouchbaseRequestBase>(Arena*); |
92 | | template<> ::brpc::CouchbaseResponseBase* Arena::CreateMaybeMessage<::brpc::CouchbaseResponseBase>(Arena*); |
93 | | template<> ::brpc::DeserializerBase* Arena::CreateMaybeMessage<::brpc::DeserializerBase>(Arena*); |
94 | | template<> ::brpc::EspMessageBase* Arena::CreateMaybeMessage<::brpc::EspMessageBase>(Arena*); |
95 | | template<> ::brpc::MemcacheRequestBase* Arena::CreateMaybeMessage<::brpc::MemcacheRequestBase>(Arena*); |
96 | | template<> ::brpc::MemcacheResponseBase* Arena::CreateMaybeMessage<::brpc::MemcacheResponseBase>(Arena*); |
97 | | template<> ::brpc::NsheadMessageBase* Arena::CreateMaybeMessage<::brpc::NsheadMessageBase>(Arena*); |
98 | | template<> ::brpc::RedisRequestBase* Arena::CreateMaybeMessage<::brpc::RedisRequestBase>(Arena*); |
99 | | template<> ::brpc::RedisResponseBase* Arena::CreateMaybeMessage<::brpc::RedisResponseBase>(Arena*); |
100 | | template<> ::brpc::SerializedRequestBase* Arena::CreateMaybeMessage<::brpc::SerializedRequestBase>(Arena*); |
101 | | template<> ::brpc::SerializedResponseBase* Arena::CreateMaybeMessage<::brpc::SerializedResponseBase>(Arena*); |
102 | | template<> ::brpc::SerializerBase* Arena::CreateMaybeMessage<::brpc::SerializerBase>(Arena*); |
103 | | template<> ::brpc::ThriftFramedMessageBase* Arena::CreateMaybeMessage<::brpc::ThriftFramedMessageBase>(Arena*); |
104 | | PROTOBUF_NAMESPACE_CLOSE |
105 | | namespace brpc { |
106 | | |
107 | | // =================================================================== |
108 | | |
109 | | class RedisRequestBase final : |
110 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.RedisRequestBase) */ { |
111 | | public: |
112 | 0 | inline RedisRequestBase() : RedisRequestBase(nullptr) {} |
113 | | explicit PROTOBUF_CONSTEXPR RedisRequestBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
114 | | |
115 | | RedisRequestBase(const RedisRequestBase& from); |
116 | | RedisRequestBase(RedisRequestBase&& from) noexcept |
117 | 0 | : RedisRequestBase() { |
118 | 0 | *this = ::std::move(from); |
119 | 0 | } |
120 | | |
121 | 0 | inline RedisRequestBase& operator=(const RedisRequestBase& from) { |
122 | 0 | CopyFrom(from); |
123 | 0 | return *this; |
124 | 0 | } |
125 | 0 | inline RedisRequestBase& operator=(RedisRequestBase&& from) noexcept { |
126 | 0 | if (this == &from) return *this; |
127 | 0 | if (GetOwningArena() == from.GetOwningArena() |
128 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
129 | 0 | && GetOwningArena() != nullptr |
130 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
131 | 0 | ) { |
132 | 0 | InternalSwap(&from); |
133 | 0 | } else { |
134 | 0 | CopyFrom(from); |
135 | 0 | } |
136 | 0 | return *this; |
137 | 0 | } |
138 | | |
139 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
140 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
141 | 0 | } |
142 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
143 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
144 | 0 | } |
145 | | |
146 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
147 | 0 | return GetDescriptor(); |
148 | 0 | } |
149 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
150 | 0 | return default_instance().GetMetadata().descriptor; |
151 | 0 | } |
152 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
153 | 0 | return default_instance().GetMetadata().reflection; |
154 | 0 | } |
155 | 0 | static const RedisRequestBase& default_instance() { |
156 | 0 | return *internal_default_instance(); |
157 | 0 | } |
158 | 0 | static inline const RedisRequestBase* internal_default_instance() { |
159 | 0 | return reinterpret_cast<const RedisRequestBase*>( |
160 | 0 | &_RedisRequestBase_default_instance_); |
161 | 0 | } |
162 | | static constexpr int kIndexInFileMessages = |
163 | | 0; |
164 | | |
165 | 0 | friend void swap(RedisRequestBase& a, RedisRequestBase& b) { |
166 | 0 | a.Swap(&b); |
167 | 0 | } |
168 | 0 | inline void Swap(RedisRequestBase* other) { |
169 | 0 | if (other == this) return; |
170 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
171 | 0 | if (GetOwningArena() != nullptr && |
172 | 0 | GetOwningArena() == other->GetOwningArena()) { |
173 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
174 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
175 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
176 | 0 | InternalSwap(other); |
177 | 0 | } else { |
178 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
179 | 0 | } |
180 | 0 | } |
181 | 0 | void UnsafeArenaSwap(RedisRequestBase* other) { |
182 | 0 | if (other == this) return; |
183 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
184 | 0 | InternalSwap(other); |
185 | 0 | } |
186 | | |
187 | | // implements Message ---------------------------------------------- |
188 | | |
189 | 0 | RedisRequestBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
190 | 0 | return CreateMaybeMessage<RedisRequestBase>(arena); |
191 | 0 | } |
192 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
193 | 0 | inline void CopyFrom(const RedisRequestBase& from) { |
194 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
195 | 0 | } |
196 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
197 | 0 | void MergeFrom(const RedisRequestBase& from) { |
198 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
199 | 0 | } |
200 | | public: |
201 | | |
202 | | private: |
203 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
204 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
205 | 0 | return "brpc.RedisRequestBase"; |
206 | 0 | } |
207 | | protected: |
208 | | explicit RedisRequestBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
209 | | bool is_message_owned = false); |
210 | | public: |
211 | | |
212 | | static const ClassData _class_data_; |
213 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
214 | | |
215 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
216 | | |
217 | | // nested types ---------------------------------------------------- |
218 | | |
219 | | // accessors ------------------------------------------------------- |
220 | | |
221 | | // @@protoc_insertion_point(class_scope:brpc.RedisRequestBase) |
222 | | private: |
223 | | class _Internal; |
224 | | |
225 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
226 | | typedef void InternalArenaConstructable_; |
227 | | typedef void DestructorSkippable_; |
228 | | struct Impl_ { |
229 | | }; |
230 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
231 | | }; |
232 | | // ------------------------------------------------------------------- |
233 | | |
234 | | class RedisResponseBase final : |
235 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.RedisResponseBase) */ { |
236 | | public: |
237 | 0 | inline RedisResponseBase() : RedisResponseBase(nullptr) {} |
238 | | explicit PROTOBUF_CONSTEXPR RedisResponseBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
239 | | |
240 | | RedisResponseBase(const RedisResponseBase& from); |
241 | | RedisResponseBase(RedisResponseBase&& from) noexcept |
242 | 0 | : RedisResponseBase() { |
243 | 0 | *this = ::std::move(from); |
244 | 0 | } |
245 | | |
246 | 0 | inline RedisResponseBase& operator=(const RedisResponseBase& from) { |
247 | 0 | CopyFrom(from); |
248 | 0 | return *this; |
249 | 0 | } |
250 | 0 | inline RedisResponseBase& operator=(RedisResponseBase&& from) noexcept { |
251 | 0 | if (this == &from) return *this; |
252 | 0 | if (GetOwningArena() == from.GetOwningArena() |
253 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
254 | 0 | && GetOwningArena() != nullptr |
255 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
256 | 0 | ) { |
257 | 0 | InternalSwap(&from); |
258 | 0 | } else { |
259 | 0 | CopyFrom(from); |
260 | 0 | } |
261 | 0 | return *this; |
262 | 0 | } |
263 | | |
264 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
265 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
266 | 0 | } |
267 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
268 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
269 | 0 | } |
270 | | |
271 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
272 | 0 | return GetDescriptor(); |
273 | 0 | } |
274 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
275 | 0 | return default_instance().GetMetadata().descriptor; |
276 | 0 | } |
277 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
278 | 0 | return default_instance().GetMetadata().reflection; |
279 | 0 | } |
280 | 0 | static const RedisResponseBase& default_instance() { |
281 | 0 | return *internal_default_instance(); |
282 | 0 | } |
283 | 0 | static inline const RedisResponseBase* internal_default_instance() { |
284 | 0 | return reinterpret_cast<const RedisResponseBase*>( |
285 | 0 | &_RedisResponseBase_default_instance_); |
286 | 0 | } |
287 | | static constexpr int kIndexInFileMessages = |
288 | | 1; |
289 | | |
290 | 0 | friend void swap(RedisResponseBase& a, RedisResponseBase& b) { |
291 | 0 | a.Swap(&b); |
292 | 0 | } |
293 | 0 | inline void Swap(RedisResponseBase* other) { |
294 | 0 | if (other == this) return; |
295 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
296 | 0 | if (GetOwningArena() != nullptr && |
297 | 0 | GetOwningArena() == other->GetOwningArena()) { |
298 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
299 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
300 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
301 | 0 | InternalSwap(other); |
302 | 0 | } else { |
303 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
304 | 0 | } |
305 | 0 | } |
306 | 0 | void UnsafeArenaSwap(RedisResponseBase* other) { |
307 | 0 | if (other == this) return; |
308 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
309 | 0 | InternalSwap(other); |
310 | 0 | } |
311 | | |
312 | | // implements Message ---------------------------------------------- |
313 | | |
314 | 0 | RedisResponseBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
315 | 0 | return CreateMaybeMessage<RedisResponseBase>(arena); |
316 | 0 | } |
317 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
318 | 0 | inline void CopyFrom(const RedisResponseBase& from) { |
319 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
320 | 0 | } |
321 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
322 | 0 | void MergeFrom(const RedisResponseBase& from) { |
323 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
324 | 0 | } |
325 | | public: |
326 | | |
327 | | private: |
328 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
329 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
330 | 0 | return "brpc.RedisResponseBase"; |
331 | 0 | } |
332 | | protected: |
333 | | explicit RedisResponseBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
334 | | bool is_message_owned = false); |
335 | | public: |
336 | | |
337 | | static const ClassData _class_data_; |
338 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
339 | | |
340 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
341 | | |
342 | | // nested types ---------------------------------------------------- |
343 | | |
344 | | // accessors ------------------------------------------------------- |
345 | | |
346 | | // @@protoc_insertion_point(class_scope:brpc.RedisResponseBase) |
347 | | private: |
348 | | class _Internal; |
349 | | |
350 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
351 | | typedef void InternalArenaConstructable_; |
352 | | typedef void DestructorSkippable_; |
353 | | struct Impl_ { |
354 | | }; |
355 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
356 | | }; |
357 | | // ------------------------------------------------------------------- |
358 | | |
359 | | class EspMessageBase final : |
360 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.EspMessageBase) */ { |
361 | | public: |
362 | 0 | inline EspMessageBase() : EspMessageBase(nullptr) {} |
363 | | explicit PROTOBUF_CONSTEXPR EspMessageBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
364 | | |
365 | | EspMessageBase(const EspMessageBase& from); |
366 | | EspMessageBase(EspMessageBase&& from) noexcept |
367 | 0 | : EspMessageBase() { |
368 | 0 | *this = ::std::move(from); |
369 | 0 | } |
370 | | |
371 | 0 | inline EspMessageBase& operator=(const EspMessageBase& from) { |
372 | 0 | CopyFrom(from); |
373 | 0 | return *this; |
374 | 0 | } |
375 | 0 | inline EspMessageBase& operator=(EspMessageBase&& from) noexcept { |
376 | 0 | if (this == &from) return *this; |
377 | 0 | if (GetOwningArena() == from.GetOwningArena() |
378 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
379 | 0 | && GetOwningArena() != nullptr |
380 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
381 | 0 | ) { |
382 | 0 | InternalSwap(&from); |
383 | 0 | } else { |
384 | 0 | CopyFrom(from); |
385 | 0 | } |
386 | 0 | return *this; |
387 | 0 | } |
388 | | |
389 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
390 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
391 | 0 | } |
392 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
393 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
394 | 0 | } |
395 | | |
396 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
397 | 0 | return GetDescriptor(); |
398 | 0 | } |
399 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
400 | 0 | return default_instance().GetMetadata().descriptor; |
401 | 0 | } |
402 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
403 | 0 | return default_instance().GetMetadata().reflection; |
404 | 0 | } |
405 | 0 | static const EspMessageBase& default_instance() { |
406 | 0 | return *internal_default_instance(); |
407 | 0 | } |
408 | 0 | static inline const EspMessageBase* internal_default_instance() { |
409 | 0 | return reinterpret_cast<const EspMessageBase*>( |
410 | 0 | &_EspMessageBase_default_instance_); |
411 | 0 | } |
412 | | static constexpr int kIndexInFileMessages = |
413 | | 2; |
414 | | |
415 | 0 | friend void swap(EspMessageBase& a, EspMessageBase& b) { |
416 | 0 | a.Swap(&b); |
417 | 0 | } |
418 | 0 | inline void Swap(EspMessageBase* other) { |
419 | 0 | if (other == this) return; |
420 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
421 | 0 | if (GetOwningArena() != nullptr && |
422 | 0 | GetOwningArena() == other->GetOwningArena()) { |
423 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
424 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
425 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
426 | 0 | InternalSwap(other); |
427 | 0 | } else { |
428 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
429 | 0 | } |
430 | 0 | } |
431 | 0 | void UnsafeArenaSwap(EspMessageBase* other) { |
432 | 0 | if (other == this) return; |
433 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
434 | 0 | InternalSwap(other); |
435 | 0 | } |
436 | | |
437 | | // implements Message ---------------------------------------------- |
438 | | |
439 | 0 | EspMessageBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
440 | 0 | return CreateMaybeMessage<EspMessageBase>(arena); |
441 | 0 | } |
442 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
443 | 0 | inline void CopyFrom(const EspMessageBase& from) { |
444 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
445 | 0 | } |
446 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
447 | 0 | void MergeFrom(const EspMessageBase& from) { |
448 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
449 | 0 | } |
450 | | public: |
451 | | |
452 | | private: |
453 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
454 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
455 | 0 | return "brpc.EspMessageBase"; |
456 | 0 | } |
457 | | protected: |
458 | | explicit EspMessageBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
459 | | bool is_message_owned = false); |
460 | | public: |
461 | | |
462 | | static const ClassData _class_data_; |
463 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
464 | | |
465 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
466 | | |
467 | | // nested types ---------------------------------------------------- |
468 | | |
469 | | // accessors ------------------------------------------------------- |
470 | | |
471 | | // @@protoc_insertion_point(class_scope:brpc.EspMessageBase) |
472 | | private: |
473 | | class _Internal; |
474 | | |
475 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
476 | | typedef void InternalArenaConstructable_; |
477 | | typedef void DestructorSkippable_; |
478 | | struct Impl_ { |
479 | | }; |
480 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
481 | | }; |
482 | | // ------------------------------------------------------------------- |
483 | | |
484 | | class CouchbaseRequestBase final : |
485 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.CouchbaseRequestBase) */ { |
486 | | public: |
487 | 0 | inline CouchbaseRequestBase() : CouchbaseRequestBase(nullptr) {} |
488 | | explicit PROTOBUF_CONSTEXPR CouchbaseRequestBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
489 | | |
490 | | CouchbaseRequestBase(const CouchbaseRequestBase& from); |
491 | | CouchbaseRequestBase(CouchbaseRequestBase&& from) noexcept |
492 | 0 | : CouchbaseRequestBase() { |
493 | 0 | *this = ::std::move(from); |
494 | 0 | } |
495 | | |
496 | 0 | inline CouchbaseRequestBase& operator=(const CouchbaseRequestBase& from) { |
497 | 0 | CopyFrom(from); |
498 | 0 | return *this; |
499 | 0 | } |
500 | 0 | inline CouchbaseRequestBase& operator=(CouchbaseRequestBase&& from) noexcept { |
501 | 0 | if (this == &from) return *this; |
502 | 0 | if (GetOwningArena() == from.GetOwningArena() |
503 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
504 | 0 | && GetOwningArena() != nullptr |
505 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
506 | 0 | ) { |
507 | 0 | InternalSwap(&from); |
508 | 0 | } else { |
509 | 0 | CopyFrom(from); |
510 | 0 | } |
511 | 0 | return *this; |
512 | 0 | } |
513 | | |
514 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
515 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
516 | 0 | } |
517 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
518 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
519 | 0 | } |
520 | | |
521 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
522 | 0 | return GetDescriptor(); |
523 | 0 | } |
524 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
525 | 0 | return default_instance().GetMetadata().descriptor; |
526 | 0 | } |
527 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
528 | 0 | return default_instance().GetMetadata().reflection; |
529 | 0 | } |
530 | 0 | static const CouchbaseRequestBase& default_instance() { |
531 | 0 | return *internal_default_instance(); |
532 | 0 | } |
533 | 0 | static inline const CouchbaseRequestBase* internal_default_instance() { |
534 | 0 | return reinterpret_cast<const CouchbaseRequestBase*>( |
535 | 0 | &_CouchbaseRequestBase_default_instance_); |
536 | 0 | } |
537 | | static constexpr int kIndexInFileMessages = |
538 | | 3; |
539 | | |
540 | 0 | friend void swap(CouchbaseRequestBase& a, CouchbaseRequestBase& b) { |
541 | 0 | a.Swap(&b); |
542 | 0 | } |
543 | 0 | inline void Swap(CouchbaseRequestBase* other) { |
544 | 0 | if (other == this) return; |
545 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
546 | 0 | if (GetOwningArena() != nullptr && |
547 | 0 | GetOwningArena() == other->GetOwningArena()) { |
548 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
549 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
550 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
551 | 0 | InternalSwap(other); |
552 | 0 | } else { |
553 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
554 | 0 | } |
555 | 0 | } |
556 | 0 | void UnsafeArenaSwap(CouchbaseRequestBase* other) { |
557 | 0 | if (other == this) return; |
558 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
559 | 0 | InternalSwap(other); |
560 | 0 | } |
561 | | |
562 | | // implements Message ---------------------------------------------- |
563 | | |
564 | 0 | CouchbaseRequestBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
565 | 0 | return CreateMaybeMessage<CouchbaseRequestBase>(arena); |
566 | 0 | } |
567 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
568 | 0 | inline void CopyFrom(const CouchbaseRequestBase& from) { |
569 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
570 | 0 | } |
571 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
572 | 0 | void MergeFrom(const CouchbaseRequestBase& from) { |
573 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
574 | 0 | } |
575 | | public: |
576 | | |
577 | | private: |
578 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
579 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
580 | 0 | return "brpc.CouchbaseRequestBase"; |
581 | 0 | } |
582 | | protected: |
583 | | explicit CouchbaseRequestBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
584 | | bool is_message_owned = false); |
585 | | public: |
586 | | |
587 | | static const ClassData _class_data_; |
588 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
589 | | |
590 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
591 | | |
592 | | // nested types ---------------------------------------------------- |
593 | | |
594 | | // accessors ------------------------------------------------------- |
595 | | |
596 | | // @@protoc_insertion_point(class_scope:brpc.CouchbaseRequestBase) |
597 | | private: |
598 | | class _Internal; |
599 | | |
600 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
601 | | typedef void InternalArenaConstructable_; |
602 | | typedef void DestructorSkippable_; |
603 | | struct Impl_ { |
604 | | }; |
605 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
606 | | }; |
607 | | // ------------------------------------------------------------------- |
608 | | |
609 | | class CouchbaseResponseBase final : |
610 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.CouchbaseResponseBase) */ { |
611 | | public: |
612 | 0 | inline CouchbaseResponseBase() : CouchbaseResponseBase(nullptr) {} |
613 | | explicit PROTOBUF_CONSTEXPR CouchbaseResponseBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
614 | | |
615 | | CouchbaseResponseBase(const CouchbaseResponseBase& from); |
616 | | CouchbaseResponseBase(CouchbaseResponseBase&& from) noexcept |
617 | 0 | : CouchbaseResponseBase() { |
618 | 0 | *this = ::std::move(from); |
619 | 0 | } |
620 | | |
621 | 0 | inline CouchbaseResponseBase& operator=(const CouchbaseResponseBase& from) { |
622 | 0 | CopyFrom(from); |
623 | 0 | return *this; |
624 | 0 | } |
625 | 0 | inline CouchbaseResponseBase& operator=(CouchbaseResponseBase&& from) noexcept { |
626 | 0 | if (this == &from) return *this; |
627 | 0 | if (GetOwningArena() == from.GetOwningArena() |
628 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
629 | 0 | && GetOwningArena() != nullptr |
630 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
631 | 0 | ) { |
632 | 0 | InternalSwap(&from); |
633 | 0 | } else { |
634 | 0 | CopyFrom(from); |
635 | 0 | } |
636 | 0 | return *this; |
637 | 0 | } |
638 | | |
639 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
640 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
641 | 0 | } |
642 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
643 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
644 | 0 | } |
645 | | |
646 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
647 | 0 | return GetDescriptor(); |
648 | 0 | } |
649 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
650 | 0 | return default_instance().GetMetadata().descriptor; |
651 | 0 | } |
652 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
653 | 0 | return default_instance().GetMetadata().reflection; |
654 | 0 | } |
655 | 0 | static const CouchbaseResponseBase& default_instance() { |
656 | 0 | return *internal_default_instance(); |
657 | 0 | } |
658 | 0 | static inline const CouchbaseResponseBase* internal_default_instance() { |
659 | 0 | return reinterpret_cast<const CouchbaseResponseBase*>( |
660 | 0 | &_CouchbaseResponseBase_default_instance_); |
661 | 0 | } |
662 | | static constexpr int kIndexInFileMessages = |
663 | | 4; |
664 | | |
665 | 0 | friend void swap(CouchbaseResponseBase& a, CouchbaseResponseBase& b) { |
666 | 0 | a.Swap(&b); |
667 | 0 | } |
668 | 0 | inline void Swap(CouchbaseResponseBase* other) { |
669 | 0 | if (other == this) return; |
670 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
671 | 0 | if (GetOwningArena() != nullptr && |
672 | 0 | GetOwningArena() == other->GetOwningArena()) { |
673 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
674 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
675 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
676 | 0 | InternalSwap(other); |
677 | 0 | } else { |
678 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
679 | 0 | } |
680 | 0 | } |
681 | 0 | void UnsafeArenaSwap(CouchbaseResponseBase* other) { |
682 | 0 | if (other == this) return; |
683 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
684 | 0 | InternalSwap(other); |
685 | 0 | } |
686 | | |
687 | | // implements Message ---------------------------------------------- |
688 | | |
689 | 0 | CouchbaseResponseBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
690 | 0 | return CreateMaybeMessage<CouchbaseResponseBase>(arena); |
691 | 0 | } |
692 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
693 | 0 | inline void CopyFrom(const CouchbaseResponseBase& from) { |
694 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
695 | 0 | } |
696 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
697 | 0 | void MergeFrom(const CouchbaseResponseBase& from) { |
698 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
699 | 0 | } |
700 | | public: |
701 | | |
702 | | private: |
703 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
704 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
705 | 0 | return "brpc.CouchbaseResponseBase"; |
706 | 0 | } |
707 | | protected: |
708 | | explicit CouchbaseResponseBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
709 | | bool is_message_owned = false); |
710 | | public: |
711 | | |
712 | | static const ClassData _class_data_; |
713 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
714 | | |
715 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
716 | | |
717 | | // nested types ---------------------------------------------------- |
718 | | |
719 | | // accessors ------------------------------------------------------- |
720 | | |
721 | | // @@protoc_insertion_point(class_scope:brpc.CouchbaseResponseBase) |
722 | | private: |
723 | | class _Internal; |
724 | | |
725 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
726 | | typedef void InternalArenaConstructable_; |
727 | | typedef void DestructorSkippable_; |
728 | | struct Impl_ { |
729 | | }; |
730 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
731 | | }; |
732 | | // ------------------------------------------------------------------- |
733 | | |
734 | | class MemcacheRequestBase final : |
735 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.MemcacheRequestBase) */ { |
736 | | public: |
737 | 0 | inline MemcacheRequestBase() : MemcacheRequestBase(nullptr) {} |
738 | | explicit PROTOBUF_CONSTEXPR MemcacheRequestBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
739 | | |
740 | | MemcacheRequestBase(const MemcacheRequestBase& from); |
741 | | MemcacheRequestBase(MemcacheRequestBase&& from) noexcept |
742 | 0 | : MemcacheRequestBase() { |
743 | 0 | *this = ::std::move(from); |
744 | 0 | } |
745 | | |
746 | 0 | inline MemcacheRequestBase& operator=(const MemcacheRequestBase& from) { |
747 | 0 | CopyFrom(from); |
748 | 0 | return *this; |
749 | 0 | } |
750 | 0 | inline MemcacheRequestBase& operator=(MemcacheRequestBase&& from) noexcept { |
751 | 0 | if (this == &from) return *this; |
752 | 0 | if (GetOwningArena() == from.GetOwningArena() |
753 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
754 | 0 | && GetOwningArena() != nullptr |
755 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
756 | 0 | ) { |
757 | 0 | InternalSwap(&from); |
758 | 0 | } else { |
759 | 0 | CopyFrom(from); |
760 | 0 | } |
761 | 0 | return *this; |
762 | 0 | } |
763 | | |
764 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
765 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
766 | 0 | } |
767 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
768 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
769 | 0 | } |
770 | | |
771 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
772 | 0 | return GetDescriptor(); |
773 | 0 | } |
774 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
775 | 0 | return default_instance().GetMetadata().descriptor; |
776 | 0 | } |
777 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
778 | 0 | return default_instance().GetMetadata().reflection; |
779 | 0 | } |
780 | 0 | static const MemcacheRequestBase& default_instance() { |
781 | 0 | return *internal_default_instance(); |
782 | 0 | } |
783 | 0 | static inline const MemcacheRequestBase* internal_default_instance() { |
784 | 0 | return reinterpret_cast<const MemcacheRequestBase*>( |
785 | 0 | &_MemcacheRequestBase_default_instance_); |
786 | 0 | } |
787 | | static constexpr int kIndexInFileMessages = |
788 | | 5; |
789 | | |
790 | 0 | friend void swap(MemcacheRequestBase& a, MemcacheRequestBase& b) { |
791 | 0 | a.Swap(&b); |
792 | 0 | } |
793 | 0 | inline void Swap(MemcacheRequestBase* other) { |
794 | 0 | if (other == this) return; |
795 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
796 | 0 | if (GetOwningArena() != nullptr && |
797 | 0 | GetOwningArena() == other->GetOwningArena()) { |
798 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
799 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
800 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
801 | 0 | InternalSwap(other); |
802 | 0 | } else { |
803 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
804 | 0 | } |
805 | 0 | } |
806 | 0 | void UnsafeArenaSwap(MemcacheRequestBase* other) { |
807 | 0 | if (other == this) return; |
808 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
809 | 0 | InternalSwap(other); |
810 | 0 | } |
811 | | |
812 | | // implements Message ---------------------------------------------- |
813 | | |
814 | 0 | MemcacheRequestBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
815 | 0 | return CreateMaybeMessage<MemcacheRequestBase>(arena); |
816 | 0 | } |
817 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
818 | 0 | inline void CopyFrom(const MemcacheRequestBase& from) { |
819 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
820 | 0 | } |
821 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
822 | 0 | void MergeFrom(const MemcacheRequestBase& from) { |
823 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
824 | 0 | } |
825 | | public: |
826 | | |
827 | | private: |
828 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
829 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
830 | 0 | return "brpc.MemcacheRequestBase"; |
831 | 0 | } |
832 | | protected: |
833 | | explicit MemcacheRequestBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
834 | | bool is_message_owned = false); |
835 | | public: |
836 | | |
837 | | static const ClassData _class_data_; |
838 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
839 | | |
840 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
841 | | |
842 | | // nested types ---------------------------------------------------- |
843 | | |
844 | | // accessors ------------------------------------------------------- |
845 | | |
846 | | // @@protoc_insertion_point(class_scope:brpc.MemcacheRequestBase) |
847 | | private: |
848 | | class _Internal; |
849 | | |
850 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
851 | | typedef void InternalArenaConstructable_; |
852 | | typedef void DestructorSkippable_; |
853 | | struct Impl_ { |
854 | | }; |
855 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
856 | | }; |
857 | | // ------------------------------------------------------------------- |
858 | | |
859 | | class MemcacheResponseBase final : |
860 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.MemcacheResponseBase) */ { |
861 | | public: |
862 | 0 | inline MemcacheResponseBase() : MemcacheResponseBase(nullptr) {} |
863 | | explicit PROTOBUF_CONSTEXPR MemcacheResponseBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
864 | | |
865 | | MemcacheResponseBase(const MemcacheResponseBase& from); |
866 | | MemcacheResponseBase(MemcacheResponseBase&& from) noexcept |
867 | 0 | : MemcacheResponseBase() { |
868 | 0 | *this = ::std::move(from); |
869 | 0 | } |
870 | | |
871 | 0 | inline MemcacheResponseBase& operator=(const MemcacheResponseBase& from) { |
872 | 0 | CopyFrom(from); |
873 | 0 | return *this; |
874 | 0 | } |
875 | 0 | inline MemcacheResponseBase& operator=(MemcacheResponseBase&& from) noexcept { |
876 | 0 | if (this == &from) return *this; |
877 | 0 | if (GetOwningArena() == from.GetOwningArena() |
878 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
879 | 0 | && GetOwningArena() != nullptr |
880 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
881 | 0 | ) { |
882 | 0 | InternalSwap(&from); |
883 | 0 | } else { |
884 | 0 | CopyFrom(from); |
885 | 0 | } |
886 | 0 | return *this; |
887 | 0 | } |
888 | | |
889 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
890 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
891 | 0 | } |
892 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
893 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
894 | 0 | } |
895 | | |
896 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
897 | 0 | return GetDescriptor(); |
898 | 0 | } |
899 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
900 | 0 | return default_instance().GetMetadata().descriptor; |
901 | 0 | } |
902 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
903 | 0 | return default_instance().GetMetadata().reflection; |
904 | 0 | } |
905 | 0 | static const MemcacheResponseBase& default_instance() { |
906 | 0 | return *internal_default_instance(); |
907 | 0 | } |
908 | 0 | static inline const MemcacheResponseBase* internal_default_instance() { |
909 | 0 | return reinterpret_cast<const MemcacheResponseBase*>( |
910 | 0 | &_MemcacheResponseBase_default_instance_); |
911 | 0 | } |
912 | | static constexpr int kIndexInFileMessages = |
913 | | 6; |
914 | | |
915 | 0 | friend void swap(MemcacheResponseBase& a, MemcacheResponseBase& b) { |
916 | 0 | a.Swap(&b); |
917 | 0 | } |
918 | 0 | inline void Swap(MemcacheResponseBase* other) { |
919 | 0 | if (other == this) return; |
920 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
921 | 0 | if (GetOwningArena() != nullptr && |
922 | 0 | GetOwningArena() == other->GetOwningArena()) { |
923 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
924 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
925 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
926 | 0 | InternalSwap(other); |
927 | 0 | } else { |
928 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
929 | 0 | } |
930 | 0 | } |
931 | 0 | void UnsafeArenaSwap(MemcacheResponseBase* other) { |
932 | 0 | if (other == this) return; |
933 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
934 | 0 | InternalSwap(other); |
935 | 0 | } |
936 | | |
937 | | // implements Message ---------------------------------------------- |
938 | | |
939 | 0 | MemcacheResponseBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
940 | 0 | return CreateMaybeMessage<MemcacheResponseBase>(arena); |
941 | 0 | } |
942 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
943 | 0 | inline void CopyFrom(const MemcacheResponseBase& from) { |
944 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
945 | 0 | } |
946 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
947 | 0 | void MergeFrom(const MemcacheResponseBase& from) { |
948 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
949 | 0 | } |
950 | | public: |
951 | | |
952 | | private: |
953 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
954 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
955 | 0 | return "brpc.MemcacheResponseBase"; |
956 | 0 | } |
957 | | protected: |
958 | | explicit MemcacheResponseBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
959 | | bool is_message_owned = false); |
960 | | public: |
961 | | |
962 | | static const ClassData _class_data_; |
963 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
964 | | |
965 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
966 | | |
967 | | // nested types ---------------------------------------------------- |
968 | | |
969 | | // accessors ------------------------------------------------------- |
970 | | |
971 | | // @@protoc_insertion_point(class_scope:brpc.MemcacheResponseBase) |
972 | | private: |
973 | | class _Internal; |
974 | | |
975 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
976 | | typedef void InternalArenaConstructable_; |
977 | | typedef void DestructorSkippable_; |
978 | | struct Impl_ { |
979 | | }; |
980 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
981 | | }; |
982 | | // ------------------------------------------------------------------- |
983 | | |
984 | | class NsheadMessageBase final : |
985 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.NsheadMessageBase) */ { |
986 | | public: |
987 | 0 | inline NsheadMessageBase() : NsheadMessageBase(nullptr) {} |
988 | | explicit PROTOBUF_CONSTEXPR NsheadMessageBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
989 | | |
990 | | NsheadMessageBase(const NsheadMessageBase& from); |
991 | | NsheadMessageBase(NsheadMessageBase&& from) noexcept |
992 | 0 | : NsheadMessageBase() { |
993 | 0 | *this = ::std::move(from); |
994 | 0 | } |
995 | | |
996 | 0 | inline NsheadMessageBase& operator=(const NsheadMessageBase& from) { |
997 | 0 | CopyFrom(from); |
998 | 0 | return *this; |
999 | 0 | } |
1000 | 0 | inline NsheadMessageBase& operator=(NsheadMessageBase&& from) noexcept { |
1001 | 0 | if (this == &from) return *this; |
1002 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1003 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1004 | 0 | && GetOwningArena() != nullptr |
1005 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1006 | 0 | ) { |
1007 | 0 | InternalSwap(&from); |
1008 | 0 | } else { |
1009 | 0 | CopyFrom(from); |
1010 | 0 | } |
1011 | 0 | return *this; |
1012 | 0 | } |
1013 | | |
1014 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1015 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1016 | 0 | } |
1017 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1018 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1019 | 0 | } |
1020 | | |
1021 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1022 | 0 | return GetDescriptor(); |
1023 | 0 | } |
1024 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1025 | 0 | return default_instance().GetMetadata().descriptor; |
1026 | 0 | } |
1027 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1028 | 0 | return default_instance().GetMetadata().reflection; |
1029 | 0 | } |
1030 | 0 | static const NsheadMessageBase& default_instance() { |
1031 | 0 | return *internal_default_instance(); |
1032 | 0 | } |
1033 | 0 | static inline const NsheadMessageBase* internal_default_instance() { |
1034 | 0 | return reinterpret_cast<const NsheadMessageBase*>( |
1035 | 0 | &_NsheadMessageBase_default_instance_); |
1036 | 0 | } |
1037 | | static constexpr int kIndexInFileMessages = |
1038 | | 7; |
1039 | | |
1040 | 0 | friend void swap(NsheadMessageBase& a, NsheadMessageBase& b) { |
1041 | 0 | a.Swap(&b); |
1042 | 0 | } |
1043 | 0 | inline void Swap(NsheadMessageBase* other) { |
1044 | 0 | if (other == this) return; |
1045 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1046 | 0 | if (GetOwningArena() != nullptr && |
1047 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1048 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1049 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1050 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1051 | 0 | InternalSwap(other); |
1052 | 0 | } else { |
1053 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1054 | 0 | } |
1055 | 0 | } |
1056 | 0 | void UnsafeArenaSwap(NsheadMessageBase* other) { |
1057 | 0 | if (other == this) return; |
1058 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1059 | 0 | InternalSwap(other); |
1060 | 0 | } |
1061 | | |
1062 | | // implements Message ---------------------------------------------- |
1063 | | |
1064 | 0 | NsheadMessageBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1065 | 0 | return CreateMaybeMessage<NsheadMessageBase>(arena); |
1066 | 0 | } |
1067 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
1068 | 0 | inline void CopyFrom(const NsheadMessageBase& from) { |
1069 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
1070 | 0 | } |
1071 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
1072 | 0 | void MergeFrom(const NsheadMessageBase& from) { |
1073 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
1074 | 0 | } |
1075 | | public: |
1076 | | |
1077 | | private: |
1078 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1079 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1080 | 0 | return "brpc.NsheadMessageBase"; |
1081 | 0 | } |
1082 | | protected: |
1083 | | explicit NsheadMessageBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1084 | | bool is_message_owned = false); |
1085 | | public: |
1086 | | |
1087 | | static const ClassData _class_data_; |
1088 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1089 | | |
1090 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1091 | | |
1092 | | // nested types ---------------------------------------------------- |
1093 | | |
1094 | | // accessors ------------------------------------------------------- |
1095 | | |
1096 | | // @@protoc_insertion_point(class_scope:brpc.NsheadMessageBase) |
1097 | | private: |
1098 | | class _Internal; |
1099 | | |
1100 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1101 | | typedef void InternalArenaConstructable_; |
1102 | | typedef void DestructorSkippable_; |
1103 | | struct Impl_ { |
1104 | | }; |
1105 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
1106 | | }; |
1107 | | // ------------------------------------------------------------------- |
1108 | | |
1109 | | class SerializedRequestBase final : |
1110 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.SerializedRequestBase) */ { |
1111 | | public: |
1112 | 0 | inline SerializedRequestBase() : SerializedRequestBase(nullptr) {} |
1113 | | explicit PROTOBUF_CONSTEXPR SerializedRequestBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1114 | | |
1115 | | SerializedRequestBase(const SerializedRequestBase& from); |
1116 | | SerializedRequestBase(SerializedRequestBase&& from) noexcept |
1117 | 0 | : SerializedRequestBase() { |
1118 | 0 | *this = ::std::move(from); |
1119 | 0 | } |
1120 | | |
1121 | 0 | inline SerializedRequestBase& operator=(const SerializedRequestBase& from) { |
1122 | 0 | CopyFrom(from); |
1123 | 0 | return *this; |
1124 | 0 | } |
1125 | 0 | inline SerializedRequestBase& operator=(SerializedRequestBase&& from) noexcept { |
1126 | 0 | if (this == &from) return *this; |
1127 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1128 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1129 | 0 | && GetOwningArena() != nullptr |
1130 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1131 | 0 | ) { |
1132 | 0 | InternalSwap(&from); |
1133 | 0 | } else { |
1134 | 0 | CopyFrom(from); |
1135 | 0 | } |
1136 | 0 | return *this; |
1137 | 0 | } |
1138 | | |
1139 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1140 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1141 | 0 | } |
1142 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1143 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1144 | 0 | } |
1145 | | |
1146 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1147 | 0 | return GetDescriptor(); |
1148 | 0 | } |
1149 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1150 | 0 | return default_instance().GetMetadata().descriptor; |
1151 | 0 | } |
1152 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1153 | 0 | return default_instance().GetMetadata().reflection; |
1154 | 0 | } |
1155 | 0 | static const SerializedRequestBase& default_instance() { |
1156 | 0 | return *internal_default_instance(); |
1157 | 0 | } |
1158 | 0 | static inline const SerializedRequestBase* internal_default_instance() { |
1159 | 0 | return reinterpret_cast<const SerializedRequestBase*>( |
1160 | 0 | &_SerializedRequestBase_default_instance_); |
1161 | 0 | } |
1162 | | static constexpr int kIndexInFileMessages = |
1163 | | 8; |
1164 | | |
1165 | 0 | friend void swap(SerializedRequestBase& a, SerializedRequestBase& b) { |
1166 | 0 | a.Swap(&b); |
1167 | 0 | } |
1168 | 0 | inline void Swap(SerializedRequestBase* other) { |
1169 | 0 | if (other == this) return; |
1170 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1171 | 0 | if (GetOwningArena() != nullptr && |
1172 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1173 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1174 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1175 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1176 | 0 | InternalSwap(other); |
1177 | 0 | } else { |
1178 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1179 | 0 | } |
1180 | 0 | } |
1181 | 0 | void UnsafeArenaSwap(SerializedRequestBase* other) { |
1182 | 0 | if (other == this) return; |
1183 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1184 | 0 | InternalSwap(other); |
1185 | 0 | } |
1186 | | |
1187 | | // implements Message ---------------------------------------------- |
1188 | | |
1189 | 0 | SerializedRequestBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1190 | 0 | return CreateMaybeMessage<SerializedRequestBase>(arena); |
1191 | 0 | } |
1192 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
1193 | 0 | inline void CopyFrom(const SerializedRequestBase& from) { |
1194 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
1195 | 0 | } |
1196 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
1197 | 0 | void MergeFrom(const SerializedRequestBase& from) { |
1198 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
1199 | 0 | } |
1200 | | public: |
1201 | | |
1202 | | private: |
1203 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1204 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1205 | 0 | return "brpc.SerializedRequestBase"; |
1206 | 0 | } |
1207 | | protected: |
1208 | | explicit SerializedRequestBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1209 | | bool is_message_owned = false); |
1210 | | public: |
1211 | | |
1212 | | static const ClassData _class_data_; |
1213 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1214 | | |
1215 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1216 | | |
1217 | | // nested types ---------------------------------------------------- |
1218 | | |
1219 | | // accessors ------------------------------------------------------- |
1220 | | |
1221 | | // @@protoc_insertion_point(class_scope:brpc.SerializedRequestBase) |
1222 | | private: |
1223 | | class _Internal; |
1224 | | |
1225 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1226 | | typedef void InternalArenaConstructable_; |
1227 | | typedef void DestructorSkippable_; |
1228 | | struct Impl_ { |
1229 | | }; |
1230 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
1231 | | }; |
1232 | | // ------------------------------------------------------------------- |
1233 | | |
1234 | | class SerializedResponseBase final : |
1235 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.SerializedResponseBase) */ { |
1236 | | public: |
1237 | 0 | inline SerializedResponseBase() : SerializedResponseBase(nullptr) {} |
1238 | | explicit PROTOBUF_CONSTEXPR SerializedResponseBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1239 | | |
1240 | | SerializedResponseBase(const SerializedResponseBase& from); |
1241 | | SerializedResponseBase(SerializedResponseBase&& from) noexcept |
1242 | 0 | : SerializedResponseBase() { |
1243 | 0 | *this = ::std::move(from); |
1244 | 0 | } |
1245 | | |
1246 | 0 | inline SerializedResponseBase& operator=(const SerializedResponseBase& from) { |
1247 | 0 | CopyFrom(from); |
1248 | 0 | return *this; |
1249 | 0 | } |
1250 | 0 | inline SerializedResponseBase& operator=(SerializedResponseBase&& from) noexcept { |
1251 | 0 | if (this == &from) return *this; |
1252 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1253 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1254 | 0 | && GetOwningArena() != nullptr |
1255 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1256 | 0 | ) { |
1257 | 0 | InternalSwap(&from); |
1258 | 0 | } else { |
1259 | 0 | CopyFrom(from); |
1260 | 0 | } |
1261 | 0 | return *this; |
1262 | 0 | } |
1263 | | |
1264 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1265 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1266 | 0 | } |
1267 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1268 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1269 | 0 | } |
1270 | | |
1271 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1272 | 0 | return GetDescriptor(); |
1273 | 0 | } |
1274 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1275 | 0 | return default_instance().GetMetadata().descriptor; |
1276 | 0 | } |
1277 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1278 | 0 | return default_instance().GetMetadata().reflection; |
1279 | 0 | } |
1280 | 0 | static const SerializedResponseBase& default_instance() { |
1281 | 0 | return *internal_default_instance(); |
1282 | 0 | } |
1283 | 0 | static inline const SerializedResponseBase* internal_default_instance() { |
1284 | 0 | return reinterpret_cast<const SerializedResponseBase*>( |
1285 | 0 | &_SerializedResponseBase_default_instance_); |
1286 | 0 | } |
1287 | | static constexpr int kIndexInFileMessages = |
1288 | | 9; |
1289 | | |
1290 | 0 | friend void swap(SerializedResponseBase& a, SerializedResponseBase& b) { |
1291 | 0 | a.Swap(&b); |
1292 | 0 | } |
1293 | 0 | inline void Swap(SerializedResponseBase* other) { |
1294 | 0 | if (other == this) return; |
1295 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1296 | 0 | if (GetOwningArena() != nullptr && |
1297 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1298 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1299 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1300 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1301 | 0 | InternalSwap(other); |
1302 | 0 | } else { |
1303 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1304 | 0 | } |
1305 | 0 | } |
1306 | 0 | void UnsafeArenaSwap(SerializedResponseBase* other) { |
1307 | 0 | if (other == this) return; |
1308 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1309 | 0 | InternalSwap(other); |
1310 | 0 | } |
1311 | | |
1312 | | // implements Message ---------------------------------------------- |
1313 | | |
1314 | 0 | SerializedResponseBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1315 | 0 | return CreateMaybeMessage<SerializedResponseBase>(arena); |
1316 | 0 | } |
1317 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
1318 | 0 | inline void CopyFrom(const SerializedResponseBase& from) { |
1319 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
1320 | 0 | } |
1321 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
1322 | 0 | void MergeFrom(const SerializedResponseBase& from) { |
1323 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
1324 | 0 | } |
1325 | | public: |
1326 | | |
1327 | | private: |
1328 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1329 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1330 | 0 | return "brpc.SerializedResponseBase"; |
1331 | 0 | } |
1332 | | protected: |
1333 | | explicit SerializedResponseBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1334 | | bool is_message_owned = false); |
1335 | | public: |
1336 | | |
1337 | | static const ClassData _class_data_; |
1338 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1339 | | |
1340 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1341 | | |
1342 | | // nested types ---------------------------------------------------- |
1343 | | |
1344 | | // accessors ------------------------------------------------------- |
1345 | | |
1346 | | // @@protoc_insertion_point(class_scope:brpc.SerializedResponseBase) |
1347 | | private: |
1348 | | class _Internal; |
1349 | | |
1350 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1351 | | typedef void InternalArenaConstructable_; |
1352 | | typedef void DestructorSkippable_; |
1353 | | struct Impl_ { |
1354 | | }; |
1355 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
1356 | | }; |
1357 | | // ------------------------------------------------------------------- |
1358 | | |
1359 | | class SerializerBase final : |
1360 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.SerializerBase) */ { |
1361 | | public: |
1362 | 0 | inline SerializerBase() : SerializerBase(nullptr) {} |
1363 | | explicit PROTOBUF_CONSTEXPR SerializerBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1364 | | |
1365 | | SerializerBase(const SerializerBase& from); |
1366 | | SerializerBase(SerializerBase&& from) noexcept |
1367 | 0 | : SerializerBase() { |
1368 | 0 | *this = ::std::move(from); |
1369 | 0 | } |
1370 | | |
1371 | 0 | inline SerializerBase& operator=(const SerializerBase& from) { |
1372 | 0 | CopyFrom(from); |
1373 | 0 | return *this; |
1374 | 0 | } |
1375 | 0 | inline SerializerBase& operator=(SerializerBase&& from) noexcept { |
1376 | 0 | if (this == &from) return *this; |
1377 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1378 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1379 | 0 | && GetOwningArena() != nullptr |
1380 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1381 | 0 | ) { |
1382 | 0 | InternalSwap(&from); |
1383 | 0 | } else { |
1384 | 0 | CopyFrom(from); |
1385 | 0 | } |
1386 | 0 | return *this; |
1387 | 0 | } |
1388 | | |
1389 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1390 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1391 | 0 | } |
1392 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1393 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1394 | 0 | } |
1395 | | |
1396 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1397 | 0 | return GetDescriptor(); |
1398 | 0 | } |
1399 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1400 | 0 | return default_instance().GetMetadata().descriptor; |
1401 | 0 | } |
1402 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1403 | 0 | return default_instance().GetMetadata().reflection; |
1404 | 0 | } |
1405 | 0 | static const SerializerBase& default_instance() { |
1406 | 0 | return *internal_default_instance(); |
1407 | 0 | } |
1408 | 0 | static inline const SerializerBase* internal_default_instance() { |
1409 | 0 | return reinterpret_cast<const SerializerBase*>( |
1410 | 0 | &_SerializerBase_default_instance_); |
1411 | 0 | } |
1412 | | static constexpr int kIndexInFileMessages = |
1413 | | 10; |
1414 | | |
1415 | 0 | friend void swap(SerializerBase& a, SerializerBase& b) { |
1416 | 0 | a.Swap(&b); |
1417 | 0 | } |
1418 | 0 | inline void Swap(SerializerBase* other) { |
1419 | 0 | if (other == this) return; |
1420 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1421 | 0 | if (GetOwningArena() != nullptr && |
1422 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1423 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1424 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1425 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1426 | 0 | InternalSwap(other); |
1427 | 0 | } else { |
1428 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1429 | 0 | } |
1430 | 0 | } |
1431 | 0 | void UnsafeArenaSwap(SerializerBase* other) { |
1432 | 0 | if (other == this) return; |
1433 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1434 | 0 | InternalSwap(other); |
1435 | 0 | } |
1436 | | |
1437 | | // implements Message ---------------------------------------------- |
1438 | | |
1439 | 0 | SerializerBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1440 | 0 | return CreateMaybeMessage<SerializerBase>(arena); |
1441 | 0 | } |
1442 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
1443 | 0 | inline void CopyFrom(const SerializerBase& from) { |
1444 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
1445 | 0 | } |
1446 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
1447 | 0 | void MergeFrom(const SerializerBase& from) { |
1448 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
1449 | 0 | } |
1450 | | public: |
1451 | | |
1452 | | private: |
1453 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1454 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1455 | 0 | return "brpc.SerializerBase"; |
1456 | 0 | } |
1457 | | protected: |
1458 | | explicit SerializerBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1459 | | bool is_message_owned = false); |
1460 | | public: |
1461 | | |
1462 | | static const ClassData _class_data_; |
1463 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1464 | | |
1465 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1466 | | |
1467 | | // nested types ---------------------------------------------------- |
1468 | | |
1469 | | // accessors ------------------------------------------------------- |
1470 | | |
1471 | | // @@protoc_insertion_point(class_scope:brpc.SerializerBase) |
1472 | | private: |
1473 | | class _Internal; |
1474 | | |
1475 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1476 | | typedef void InternalArenaConstructable_; |
1477 | | typedef void DestructorSkippable_; |
1478 | | struct Impl_ { |
1479 | | }; |
1480 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
1481 | | }; |
1482 | | // ------------------------------------------------------------------- |
1483 | | |
1484 | | class DeserializerBase final : |
1485 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.DeserializerBase) */ { |
1486 | | public: |
1487 | 0 | inline DeserializerBase() : DeserializerBase(nullptr) {} |
1488 | | explicit PROTOBUF_CONSTEXPR DeserializerBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1489 | | |
1490 | | DeserializerBase(const DeserializerBase& from); |
1491 | | DeserializerBase(DeserializerBase&& from) noexcept |
1492 | 0 | : DeserializerBase() { |
1493 | 0 | *this = ::std::move(from); |
1494 | 0 | } |
1495 | | |
1496 | 0 | inline DeserializerBase& operator=(const DeserializerBase& from) { |
1497 | 0 | CopyFrom(from); |
1498 | 0 | return *this; |
1499 | 0 | } |
1500 | 0 | inline DeserializerBase& operator=(DeserializerBase&& from) noexcept { |
1501 | 0 | if (this == &from) return *this; |
1502 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1503 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1504 | 0 | && GetOwningArena() != nullptr |
1505 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1506 | 0 | ) { |
1507 | 0 | InternalSwap(&from); |
1508 | 0 | } else { |
1509 | 0 | CopyFrom(from); |
1510 | 0 | } |
1511 | 0 | return *this; |
1512 | 0 | } |
1513 | | |
1514 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1515 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1516 | 0 | } |
1517 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1518 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1519 | 0 | } |
1520 | | |
1521 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1522 | 0 | return GetDescriptor(); |
1523 | 0 | } |
1524 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1525 | 0 | return default_instance().GetMetadata().descriptor; |
1526 | 0 | } |
1527 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1528 | 0 | return default_instance().GetMetadata().reflection; |
1529 | 0 | } |
1530 | 0 | static const DeserializerBase& default_instance() { |
1531 | 0 | return *internal_default_instance(); |
1532 | 0 | } |
1533 | 0 | static inline const DeserializerBase* internal_default_instance() { |
1534 | 0 | return reinterpret_cast<const DeserializerBase*>( |
1535 | 0 | &_DeserializerBase_default_instance_); |
1536 | 0 | } |
1537 | | static constexpr int kIndexInFileMessages = |
1538 | | 11; |
1539 | | |
1540 | 0 | friend void swap(DeserializerBase& a, DeserializerBase& b) { |
1541 | 0 | a.Swap(&b); |
1542 | 0 | } |
1543 | 0 | inline void Swap(DeserializerBase* other) { |
1544 | 0 | if (other == this) return; |
1545 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1546 | 0 | if (GetOwningArena() != nullptr && |
1547 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1548 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1549 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1550 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1551 | 0 | InternalSwap(other); |
1552 | 0 | } else { |
1553 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1554 | 0 | } |
1555 | 0 | } |
1556 | 0 | void UnsafeArenaSwap(DeserializerBase* other) { |
1557 | 0 | if (other == this) return; |
1558 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1559 | 0 | InternalSwap(other); |
1560 | 0 | } |
1561 | | |
1562 | | // implements Message ---------------------------------------------- |
1563 | | |
1564 | 0 | DeserializerBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1565 | 0 | return CreateMaybeMessage<DeserializerBase>(arena); |
1566 | 0 | } |
1567 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
1568 | 0 | inline void CopyFrom(const DeserializerBase& from) { |
1569 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
1570 | 0 | } |
1571 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
1572 | 0 | void MergeFrom(const DeserializerBase& from) { |
1573 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
1574 | 0 | } |
1575 | | public: |
1576 | | |
1577 | | private: |
1578 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1579 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1580 | 0 | return "brpc.DeserializerBase"; |
1581 | 0 | } |
1582 | | protected: |
1583 | | explicit DeserializerBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1584 | | bool is_message_owned = false); |
1585 | | public: |
1586 | | |
1587 | | static const ClassData _class_data_; |
1588 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1589 | | |
1590 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1591 | | |
1592 | | // nested types ---------------------------------------------------- |
1593 | | |
1594 | | // accessors ------------------------------------------------------- |
1595 | | |
1596 | | // @@protoc_insertion_point(class_scope:brpc.DeserializerBase) |
1597 | | private: |
1598 | | class _Internal; |
1599 | | |
1600 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1601 | | typedef void InternalArenaConstructable_; |
1602 | | typedef void DestructorSkippable_; |
1603 | | struct Impl_ { |
1604 | | }; |
1605 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
1606 | | }; |
1607 | | // ------------------------------------------------------------------- |
1608 | | |
1609 | | class ThriftFramedMessageBase final : |
1610 | | public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:brpc.ThriftFramedMessageBase) */ { |
1611 | | public: |
1612 | 0 | inline ThriftFramedMessageBase() : ThriftFramedMessageBase(nullptr) {} |
1613 | | explicit PROTOBUF_CONSTEXPR ThriftFramedMessageBase(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1614 | | |
1615 | | ThriftFramedMessageBase(const ThriftFramedMessageBase& from); |
1616 | | ThriftFramedMessageBase(ThriftFramedMessageBase&& from) noexcept |
1617 | 0 | : ThriftFramedMessageBase() { |
1618 | 0 | *this = ::std::move(from); |
1619 | 0 | } |
1620 | | |
1621 | 0 | inline ThriftFramedMessageBase& operator=(const ThriftFramedMessageBase& from) { |
1622 | 0 | CopyFrom(from); |
1623 | 0 | return *this; |
1624 | 0 | } |
1625 | 0 | inline ThriftFramedMessageBase& operator=(ThriftFramedMessageBase&& from) noexcept { |
1626 | 0 | if (this == &from) return *this; |
1627 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1628 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1629 | 0 | && GetOwningArena() != nullptr |
1630 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1631 | 0 | ) { |
1632 | 0 | InternalSwap(&from); |
1633 | 0 | } else { |
1634 | 0 | CopyFrom(from); |
1635 | 0 | } |
1636 | 0 | return *this; |
1637 | 0 | } |
1638 | | |
1639 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1640 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1641 | 0 | } |
1642 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1643 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1644 | 0 | } |
1645 | | |
1646 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1647 | 0 | return GetDescriptor(); |
1648 | 0 | } |
1649 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1650 | 0 | return default_instance().GetMetadata().descriptor; |
1651 | 0 | } |
1652 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1653 | 0 | return default_instance().GetMetadata().reflection; |
1654 | 0 | } |
1655 | 0 | static const ThriftFramedMessageBase& default_instance() { |
1656 | 0 | return *internal_default_instance(); |
1657 | 0 | } |
1658 | 0 | static inline const ThriftFramedMessageBase* internal_default_instance() { |
1659 | 0 | return reinterpret_cast<const ThriftFramedMessageBase*>( |
1660 | 0 | &_ThriftFramedMessageBase_default_instance_); |
1661 | 0 | } |
1662 | | static constexpr int kIndexInFileMessages = |
1663 | | 12; |
1664 | | |
1665 | 0 | friend void swap(ThriftFramedMessageBase& a, ThriftFramedMessageBase& b) { |
1666 | 0 | a.Swap(&b); |
1667 | 0 | } |
1668 | 0 | inline void Swap(ThriftFramedMessageBase* other) { |
1669 | 0 | if (other == this) return; |
1670 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1671 | 0 | if (GetOwningArena() != nullptr && |
1672 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1673 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1674 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1675 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1676 | 0 | InternalSwap(other); |
1677 | 0 | } else { |
1678 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1679 | 0 | } |
1680 | 0 | } |
1681 | 0 | void UnsafeArenaSwap(ThriftFramedMessageBase* other) { |
1682 | 0 | if (other == this) return; |
1683 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1684 | 0 | InternalSwap(other); |
1685 | 0 | } |
1686 | | |
1687 | | // implements Message ---------------------------------------------- |
1688 | | |
1689 | 0 | ThriftFramedMessageBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1690 | 0 | return CreateMaybeMessage<ThriftFramedMessageBase>(arena); |
1691 | 0 | } |
1692 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom; |
1693 | 0 | inline void CopyFrom(const ThriftFramedMessageBase& from) { |
1694 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from); |
1695 | 0 | } |
1696 | | using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom; |
1697 | 0 | void MergeFrom(const ThriftFramedMessageBase& from) { |
1698 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from); |
1699 | 0 | } |
1700 | | public: |
1701 | | |
1702 | | private: |
1703 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1704 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1705 | 0 | return "brpc.ThriftFramedMessageBase"; |
1706 | 0 | } |
1707 | | protected: |
1708 | | explicit ThriftFramedMessageBase(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1709 | | bool is_message_owned = false); |
1710 | | public: |
1711 | | |
1712 | | static const ClassData _class_data_; |
1713 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1714 | | |
1715 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1716 | | |
1717 | | // nested types ---------------------------------------------------- |
1718 | | |
1719 | | // accessors ------------------------------------------------------- |
1720 | | |
1721 | | // @@protoc_insertion_point(class_scope:brpc.ThriftFramedMessageBase) |
1722 | | private: |
1723 | | class _Internal; |
1724 | | |
1725 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1726 | | typedef void InternalArenaConstructable_; |
1727 | | typedef void DestructorSkippable_; |
1728 | | struct Impl_ { |
1729 | | }; |
1730 | | friend struct ::TableStruct_brpc_2fproto_5fbase_2eproto; |
1731 | | }; |
1732 | | // =================================================================== |
1733 | | |
1734 | | class BaiduMasterServiceBase_Stub; |
1735 | | |
1736 | | class BaiduMasterServiceBase : public ::PROTOBUF_NAMESPACE_ID::Service { |
1737 | | protected: |
1738 | | // This class should be treated as an abstract interface. |
1739 | 0 | inline BaiduMasterServiceBase() {}; |
1740 | | public: |
1741 | | virtual ~BaiduMasterServiceBase(); |
1742 | | |
1743 | | typedef BaiduMasterServiceBase_Stub Stub; |
1744 | | |
1745 | | static const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* descriptor(); |
1746 | | |
1747 | | |
1748 | | // implements Service ---------------------------------------------- |
1749 | | |
1750 | | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor* GetDescriptor(); |
1751 | | void CallMethod(const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method, |
1752 | | ::PROTOBUF_NAMESPACE_ID::RpcController* controller, |
1753 | | const ::PROTOBUF_NAMESPACE_ID::Message* request, |
1754 | | ::PROTOBUF_NAMESPACE_ID::Message* response, |
1755 | | ::google::protobuf::Closure* done); |
1756 | | const ::PROTOBUF_NAMESPACE_ID::Message& GetRequestPrototype( |
1757 | | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; |
1758 | | const ::PROTOBUF_NAMESPACE_ID::Message& GetResponsePrototype( |
1759 | | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptor* method) const; |
1760 | | |
1761 | | private: |
1762 | | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(BaiduMasterServiceBase); |
1763 | | }; |
1764 | | |
1765 | | class BaiduMasterServiceBase_Stub : public BaiduMasterServiceBase { |
1766 | | public: |
1767 | | BaiduMasterServiceBase_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel); |
1768 | | BaiduMasterServiceBase_Stub(::PROTOBUF_NAMESPACE_ID::RpcChannel* channel, |
1769 | | ::PROTOBUF_NAMESPACE_ID::Service::ChannelOwnership ownership); |
1770 | | ~BaiduMasterServiceBase_Stub(); |
1771 | | |
1772 | 0 | inline ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel() { return channel_; } |
1773 | | |
1774 | | // implements BaiduMasterServiceBase ------------------------------------------ |
1775 | | |
1776 | | private: |
1777 | | ::PROTOBUF_NAMESPACE_ID::RpcChannel* channel_; |
1778 | | bool owns_channel_; |
1779 | | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(BaiduMasterServiceBase_Stub); |
1780 | | }; |
1781 | | |
1782 | | |
1783 | | // =================================================================== |
1784 | | |
1785 | | |
1786 | | // =================================================================== |
1787 | | |
1788 | | #ifdef __GNUC__ |
1789 | | #pragma GCC diagnostic push |
1790 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
1791 | | #endif // __GNUC__ |
1792 | | // RedisRequestBase |
1793 | | |
1794 | | // ------------------------------------------------------------------- |
1795 | | |
1796 | | // RedisResponseBase |
1797 | | |
1798 | | // ------------------------------------------------------------------- |
1799 | | |
1800 | | // EspMessageBase |
1801 | | |
1802 | | // ------------------------------------------------------------------- |
1803 | | |
1804 | | // CouchbaseRequestBase |
1805 | | |
1806 | | // ------------------------------------------------------------------- |
1807 | | |
1808 | | // CouchbaseResponseBase |
1809 | | |
1810 | | // ------------------------------------------------------------------- |
1811 | | |
1812 | | // MemcacheRequestBase |
1813 | | |
1814 | | // ------------------------------------------------------------------- |
1815 | | |
1816 | | // MemcacheResponseBase |
1817 | | |
1818 | | // ------------------------------------------------------------------- |
1819 | | |
1820 | | // NsheadMessageBase |
1821 | | |
1822 | | // ------------------------------------------------------------------- |
1823 | | |
1824 | | // SerializedRequestBase |
1825 | | |
1826 | | // ------------------------------------------------------------------- |
1827 | | |
1828 | | // SerializedResponseBase |
1829 | | |
1830 | | // ------------------------------------------------------------------- |
1831 | | |
1832 | | // SerializerBase |
1833 | | |
1834 | | // ------------------------------------------------------------------- |
1835 | | |
1836 | | // DeserializerBase |
1837 | | |
1838 | | // ------------------------------------------------------------------- |
1839 | | |
1840 | | // ThriftFramedMessageBase |
1841 | | |
1842 | | #ifdef __GNUC__ |
1843 | | #pragma GCC diagnostic pop |
1844 | | #endif // __GNUC__ |
1845 | | // ------------------------------------------------------------------- |
1846 | | |
1847 | | // ------------------------------------------------------------------- |
1848 | | |
1849 | | // ------------------------------------------------------------------- |
1850 | | |
1851 | | // ------------------------------------------------------------------- |
1852 | | |
1853 | | // ------------------------------------------------------------------- |
1854 | | |
1855 | | // ------------------------------------------------------------------- |
1856 | | |
1857 | | // ------------------------------------------------------------------- |
1858 | | |
1859 | | // ------------------------------------------------------------------- |
1860 | | |
1861 | | // ------------------------------------------------------------------- |
1862 | | |
1863 | | // ------------------------------------------------------------------- |
1864 | | |
1865 | | // ------------------------------------------------------------------- |
1866 | | |
1867 | | // ------------------------------------------------------------------- |
1868 | | |
1869 | | |
1870 | | // @@protoc_insertion_point(namespace_scope) |
1871 | | |
1872 | | } // namespace brpc |
1873 | | |
1874 | | // @@protoc_insertion_point(global_scope) |
1875 | | |
1876 | | #include <google/protobuf/port_undef.inc> |
1877 | | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_brpc_2fproto_5fbase_2eproto |