/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 PROTOBUF_INCLUDED_brpc_2fget_5ffavicon_2eproto |
5 | | #define PROTOBUF_INCLUDED_brpc_2fget_5ffavicon_2eproto |
6 | | |
7 | | #include <string> |
8 | | |
9 | | #include <google/protobuf/stubs/common.h> |
10 | | |
11 | | #if GOOGLE_PROTOBUF_VERSION < 3006001 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/io/coded_stream.h> |
23 | | #include <google/protobuf/arena.h> |
24 | | #include <google/protobuf/arenastring.h> |
25 | | #include <google/protobuf/generated_message_table_driven.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/inlined_string_field.h> |
28 | | #include <google/protobuf/metadata.h> |
29 | | #include <google/protobuf/message.h> |
30 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
31 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
32 | | #include <google/protobuf/service.h> |
33 | | #include <google/protobuf/unknown_field_set.h> |
34 | | // @@protoc_insertion_point(includes) |
35 | | #define PROTOBUF_INTERNAL_EXPORT_protobuf_brpc_2fget_5ffavicon_2eproto |
36 | | |
37 | | namespace protobuf_brpc_2fget_5ffavicon_2eproto { |
38 | | // Internal implementation detail -- do not use these members. |
39 | | struct TableStruct { |
40 | | static const ::google::protobuf::internal::ParseTableField entries[]; |
41 | | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
42 | | static const ::google::protobuf::internal::ParseTable schema[2]; |
43 | | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
44 | | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
45 | | static const ::google::protobuf::uint32 offsets[]; |
46 | | }; |
47 | | void AddDescriptors(); |
48 | | } // namespace protobuf_brpc_2fget_5ffavicon_2eproto |
49 | | namespace brpc { |
50 | | class GetFaviconRequest; |
51 | | class GetFaviconRequestDefaultTypeInternal; |
52 | | extern GetFaviconRequestDefaultTypeInternal _GetFaviconRequest_default_instance_; |
53 | | class GetFaviconResponse; |
54 | | class GetFaviconResponseDefaultTypeInternal; |
55 | | extern GetFaviconResponseDefaultTypeInternal _GetFaviconResponse_default_instance_; |
56 | | } // namespace brpc |
57 | | namespace google { |
58 | | namespace protobuf { |
59 | | template<> ::brpc::GetFaviconRequest* Arena::CreateMaybeMessage<::brpc::GetFaviconRequest>(Arena*); |
60 | | template<> ::brpc::GetFaviconResponse* Arena::CreateMaybeMessage<::brpc::GetFaviconResponse>(Arena*); |
61 | | } // namespace protobuf |
62 | | } // namespace google |
63 | | namespace brpc { |
64 | | |
65 | | // =================================================================== |
66 | | |
67 | | class GetFaviconRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:brpc.GetFaviconRequest) */ { |
68 | | public: |
69 | | GetFaviconRequest(); |
70 | | virtual ~GetFaviconRequest(); |
71 | | |
72 | | GetFaviconRequest(const GetFaviconRequest& from); |
73 | | |
74 | 0 | inline GetFaviconRequest& operator=(const GetFaviconRequest& from) { |
75 | 0 | CopyFrom(from); |
76 | 0 | return *this; |
77 | 0 | } |
78 | | #if LANG_CXX11 |
79 | | GetFaviconRequest(GetFaviconRequest&& from) noexcept |
80 | 0 | : GetFaviconRequest() { |
81 | 0 | *this = ::std::move(from); |
82 | 0 | } |
83 | | |
84 | 0 | inline GetFaviconRequest& operator=(GetFaviconRequest&& from) noexcept { |
85 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
86 | 0 | if (this != &from) InternalSwap(&from); |
87 | 0 | } else { |
88 | 0 | CopyFrom(from); |
89 | 0 | } |
90 | 0 | return *this; |
91 | 0 | } |
92 | | #endif |
93 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
94 | 0 | return _internal_metadata_.unknown_fields(); |
95 | 0 | } |
96 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
97 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
98 | 0 | } |
99 | | |
100 | | static const ::google::protobuf::Descriptor* descriptor(); |
101 | | static const GetFaviconRequest& default_instance(); |
102 | | |
103 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
104 | 0 | static inline const GetFaviconRequest* internal_default_instance() { |
105 | 0 | return reinterpret_cast<const GetFaviconRequest*>( |
106 | 0 | &_GetFaviconRequest_default_instance_); |
107 | 0 | } |
108 | | static constexpr int kIndexInFileMessages = |
109 | | 0; |
110 | | |
111 | | void Swap(GetFaviconRequest* other); |
112 | 0 | friend void swap(GetFaviconRequest& a, GetFaviconRequest& b) { |
113 | 0 | a.Swap(&b); |
114 | 0 | } |
115 | | |
116 | | // implements Message ---------------------------------------------- |
117 | | |
118 | 0 | inline GetFaviconRequest* New() const final { |
119 | 0 | return CreateMaybeMessage<GetFaviconRequest>(NULL); |
120 | 0 | } |
121 | | |
122 | 0 | GetFaviconRequest* New(::google::protobuf::Arena* arena) const final { |
123 | 0 | return CreateMaybeMessage<GetFaviconRequest>(arena); |
124 | 0 | } |
125 | | void CopyFrom(const ::google::protobuf::Message& from) final; |
126 | | void MergeFrom(const ::google::protobuf::Message& from) final; |
127 | | void CopyFrom(const GetFaviconRequest& from); |
128 | | void MergeFrom(const GetFaviconRequest& from); |
129 | | void Clear() final; |
130 | | bool IsInitialized() const final; |
131 | | |
132 | | size_t ByteSizeLong() const final; |
133 | | bool MergePartialFromCodedStream( |
134 | | ::google::protobuf::io::CodedInputStream* input) final; |
135 | | void SerializeWithCachedSizes( |
136 | | ::google::protobuf::io::CodedOutputStream* output) const final; |
137 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
138 | | bool deterministic, ::google::protobuf::uint8* target) const final; |
139 | 0 | int GetCachedSize() const final { return _cached_size_.Get(); } |
140 | | |
141 | | private: |
142 | | void SharedCtor(); |
143 | | void SharedDtor(); |
144 | | void SetCachedSize(int size) const final; |
145 | | void InternalSwap(GetFaviconRequest* other); |
146 | | private: |
147 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
148 | 0 | return NULL; |
149 | 0 | } |
150 | 0 | inline void* MaybeArenaPtr() const { |
151 | 0 | return NULL; |
152 | 0 | } |
153 | | public: |
154 | | |
155 | | ::google::protobuf::Metadata GetMetadata() const final; |
156 | | |
157 | | // nested types ---------------------------------------------------- |
158 | | |
159 | | // accessors ------------------------------------------------------- |
160 | | |
161 | | // @@protoc_insertion_point(class_scope:brpc.GetFaviconRequest) |
162 | | private: |
163 | | |
164 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
165 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
166 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
167 | | friend struct ::protobuf_brpc_2fget_5ffavicon_2eproto::TableStruct; |
168 | | }; |
169 | | // ------------------------------------------------------------------- |
170 | | |
171 | | class GetFaviconResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:brpc.GetFaviconResponse) */ { |
172 | | public: |
173 | | GetFaviconResponse(); |
174 | | virtual ~GetFaviconResponse(); |
175 | | |
176 | | GetFaviconResponse(const GetFaviconResponse& from); |
177 | | |
178 | 0 | inline GetFaviconResponse& operator=(const GetFaviconResponse& from) { |
179 | 0 | CopyFrom(from); |
180 | 0 | return *this; |
181 | 0 | } |
182 | | #if LANG_CXX11 |
183 | | GetFaviconResponse(GetFaviconResponse&& from) noexcept |
184 | 0 | : GetFaviconResponse() { |
185 | 0 | *this = ::std::move(from); |
186 | 0 | } |
187 | | |
188 | 0 | inline GetFaviconResponse& operator=(GetFaviconResponse&& from) noexcept { |
189 | 0 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
190 | 0 | if (this != &from) InternalSwap(&from); |
191 | 0 | } else { |
192 | 0 | CopyFrom(from); |
193 | 0 | } |
194 | 0 | return *this; |
195 | 0 | } |
196 | | #endif |
197 | 0 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
198 | 0 | return _internal_metadata_.unknown_fields(); |
199 | 0 | } |
200 | 0 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
201 | 0 | return _internal_metadata_.mutable_unknown_fields(); |
202 | 0 | } |
203 | | |
204 | | static const ::google::protobuf::Descriptor* descriptor(); |
205 | | static const GetFaviconResponse& default_instance(); |
206 | | |
207 | | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
208 | 0 | static inline const GetFaviconResponse* internal_default_instance() { |
209 | 0 | return reinterpret_cast<const GetFaviconResponse*>( |
210 | 0 | &_GetFaviconResponse_default_instance_); |
211 | 0 | } |
212 | | static constexpr int kIndexInFileMessages = |
213 | | 1; |
214 | | |
215 | | void Swap(GetFaviconResponse* other); |
216 | 0 | friend void swap(GetFaviconResponse& a, GetFaviconResponse& b) { |
217 | 0 | a.Swap(&b); |
218 | 0 | } |
219 | | |
220 | | // implements Message ---------------------------------------------- |
221 | | |
222 | 0 | inline GetFaviconResponse* New() const final { |
223 | 0 | return CreateMaybeMessage<GetFaviconResponse>(NULL); |
224 | 0 | } |
225 | | |
226 | 0 | GetFaviconResponse* New(::google::protobuf::Arena* arena) const final { |
227 | 0 | return CreateMaybeMessage<GetFaviconResponse>(arena); |
228 | 0 | } |
229 | | void CopyFrom(const ::google::protobuf::Message& from) final; |
230 | | void MergeFrom(const ::google::protobuf::Message& from) final; |
231 | | void CopyFrom(const GetFaviconResponse& from); |
232 | | void MergeFrom(const GetFaviconResponse& from); |
233 | | void Clear() final; |
234 | | bool IsInitialized() const final; |
235 | | |
236 | | size_t ByteSizeLong() const final; |
237 | | bool MergePartialFromCodedStream( |
238 | | ::google::protobuf::io::CodedInputStream* input) final; |
239 | | void SerializeWithCachedSizes( |
240 | | ::google::protobuf::io::CodedOutputStream* output) const final; |
241 | | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
242 | | bool deterministic, ::google::protobuf::uint8* target) const final; |
243 | 0 | int GetCachedSize() const final { return _cached_size_.Get(); } |
244 | | |
245 | | private: |
246 | | void SharedCtor(); |
247 | | void SharedDtor(); |
248 | | void SetCachedSize(int size) const final; |
249 | | void InternalSwap(GetFaviconResponse* other); |
250 | | private: |
251 | 0 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
252 | 0 | return NULL; |
253 | 0 | } |
254 | 0 | inline void* MaybeArenaPtr() const { |
255 | 0 | return NULL; |
256 | 0 | } |
257 | | public: |
258 | | |
259 | | ::google::protobuf::Metadata GetMetadata() const final; |
260 | | |
261 | | // nested types ---------------------------------------------------- |
262 | | |
263 | | // accessors ------------------------------------------------------- |
264 | | |
265 | | // @@protoc_insertion_point(class_scope:brpc.GetFaviconResponse) |
266 | | private: |
267 | | |
268 | | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
269 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
270 | | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
271 | | friend struct ::protobuf_brpc_2fget_5ffavicon_2eproto::TableStruct; |
272 | | }; |
273 | | // =================================================================== |
274 | | |
275 | | class ico_Stub; |
276 | | |
277 | | class ico : public ::google::protobuf::Service { |
278 | | protected: |
279 | | // This class should be treated as an abstract interface. |
280 | 0 | inline ico() {}; |
281 | | public: |
282 | | virtual ~ico(); |
283 | | |
284 | | typedef ico_Stub Stub; |
285 | | |
286 | | static const ::google::protobuf::ServiceDescriptor* descriptor(); |
287 | | |
288 | | virtual void default_method(::google::protobuf::RpcController* controller, |
289 | | const ::brpc::GetFaviconRequest* request, |
290 | | ::brpc::GetFaviconResponse* response, |
291 | | ::google::protobuf::Closure* done); |
292 | | |
293 | | // implements Service ---------------------------------------------- |
294 | | |
295 | | const ::google::protobuf::ServiceDescriptor* GetDescriptor(); |
296 | | void CallMethod(const ::google::protobuf::MethodDescriptor* method, |
297 | | ::google::protobuf::RpcController* controller, |
298 | | const ::google::protobuf::Message* request, |
299 | | ::google::protobuf::Message* response, |
300 | | ::google::protobuf::Closure* done); |
301 | | const ::google::protobuf::Message& GetRequestPrototype( |
302 | | const ::google::protobuf::MethodDescriptor* method) const; |
303 | | const ::google::protobuf::Message& GetResponsePrototype( |
304 | | const ::google::protobuf::MethodDescriptor* method) const; |
305 | | |
306 | | private: |
307 | | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ico); |
308 | | }; |
309 | | |
310 | | class ico_Stub : public ico { |
311 | | public: |
312 | | ico_Stub(::google::protobuf::RpcChannel* channel); |
313 | | ico_Stub(::google::protobuf::RpcChannel* channel, |
314 | | ::google::protobuf::Service::ChannelOwnership ownership); |
315 | | ~ico_Stub(); |
316 | | |
317 | 0 | inline ::google::protobuf::RpcChannel* channel() { return channel_; } |
318 | | |
319 | | // implements ico ------------------------------------------ |
320 | | |
321 | | void default_method(::google::protobuf::RpcController* controller, |
322 | | const ::brpc::GetFaviconRequest* request, |
323 | | ::brpc::GetFaviconResponse* response, |
324 | | ::google::protobuf::Closure* done); |
325 | | private: |
326 | | ::google::protobuf::RpcChannel* channel_; |
327 | | bool owns_channel_; |
328 | | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ico_Stub); |
329 | | }; |
330 | | |
331 | | |
332 | | // =================================================================== |
333 | | |
334 | | |
335 | | // =================================================================== |
336 | | |
337 | | #ifdef __GNUC__ |
338 | | #pragma GCC diagnostic push |
339 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
340 | | #endif // __GNUC__ |
341 | | // GetFaviconRequest |
342 | | |
343 | | // ------------------------------------------------------------------- |
344 | | |
345 | | // GetFaviconResponse |
346 | | |
347 | | #ifdef __GNUC__ |
348 | | #pragma GCC diagnostic pop |
349 | | #endif // __GNUC__ |
350 | | // ------------------------------------------------------------------- |
351 | | |
352 | | |
353 | | // @@protoc_insertion_point(namespace_scope) |
354 | | |
355 | | } // namespace brpc |
356 | | |
357 | | // @@protoc_insertion_point(global_scope) |
358 | | |
359 | | #endif // PROTOBUF_INCLUDED_brpc_2fget_5ffavicon_2eproto |