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