/src/brpc/build/test/message.pb.cc
Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: message.proto |
3 | | |
4 | | #include "message.pb.h" |
5 | | |
6 | | #include <algorithm> |
7 | | |
8 | | #include <google/protobuf/stubs/common.h> |
9 | | #include <google/protobuf/stubs/port.h> |
10 | | #include <google/protobuf/io/coded_stream.h> |
11 | | #include <google/protobuf/wire_format_lite_inl.h> |
12 | | #include <google/protobuf/descriptor.h> |
13 | | #include <google/protobuf/generated_message_reflection.h> |
14 | | #include <google/protobuf/reflection_ops.h> |
15 | | #include <google/protobuf/wire_format.h> |
16 | | // This is a temporary google only hack |
17 | | #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS |
18 | | #include "third_party/protobuf/version.h" |
19 | | #endif |
20 | | // @@protoc_insertion_point(includes) |
21 | | |
22 | | namespace protobuf_message_2eproto { |
23 | | extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_UserAgent; |
24 | | extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_app_info_t; |
25 | | extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_gss_src_req_t; |
26 | | extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_item_t; |
27 | | extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_sub_url_t; |
28 | | extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ua_info_t; |
29 | | extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_debug_info_t; |
30 | | extern PROTOBUF_INTERNAL_EXPORT_protobuf_message_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_gss_res_t; |
31 | | } // namespace protobuf_message_2eproto |
32 | | namespace gss { |
33 | | namespace message { |
34 | | class gss_src_req_tDefaultTypeInternal { |
35 | | public: |
36 | | ::google::protobuf::internal::ExplicitlyConstructed<gss_src_req_t> |
37 | | _instance; |
38 | | } _gss_src_req_t_default_instance_; |
39 | | class ua_info_tDefaultTypeInternal { |
40 | | public: |
41 | | ::google::protobuf::internal::ExplicitlyConstructed<ua_info_t> |
42 | | _instance; |
43 | | } _ua_info_t_default_instance_; |
44 | | class app_info_tDefaultTypeInternal { |
45 | | public: |
46 | | ::google::protobuf::internal::ExplicitlyConstructed<app_info_t> |
47 | | _instance; |
48 | | } _app_info_t_default_instance_; |
49 | | class us_gss_req_tDefaultTypeInternal { |
50 | | public: |
51 | | ::google::protobuf::internal::ExplicitlyConstructed<us_gss_req_t> |
52 | | _instance; |
53 | | } _us_gss_req_t_default_instance_; |
54 | | class UserAgentDefaultTypeInternal { |
55 | | public: |
56 | | ::google::protobuf::internal::ExplicitlyConstructed<UserAgent> |
57 | | _instance; |
58 | | } _UserAgent_default_instance_; |
59 | | class sub_url_tDefaultTypeInternal { |
60 | | public: |
61 | | ::google::protobuf::internal::ExplicitlyConstructed<sub_url_t> |
62 | | _instance; |
63 | | } _sub_url_t_default_instance_; |
64 | | class gss_res_tDefaultTypeInternal { |
65 | | public: |
66 | | ::google::protobuf::internal::ExplicitlyConstructed<gss_res_t> |
67 | | _instance; |
68 | | } _gss_res_t_default_instance_; |
69 | | class item_tDefaultTypeInternal { |
70 | | public: |
71 | | ::google::protobuf::internal::ExplicitlyConstructed<item_t> |
72 | | _instance; |
73 | | } _item_t_default_instance_; |
74 | | class debug_info_tDefaultTypeInternal { |
75 | | public: |
76 | | ::google::protobuf::internal::ExplicitlyConstructed<debug_info_t> |
77 | | _instance; |
78 | | } _debug_info_t_default_instance_; |
79 | | class gss_us_res_tDefaultTypeInternal { |
80 | | public: |
81 | | ::google::protobuf::internal::ExplicitlyConstructed<gss_us_res_t> |
82 | | _instance; |
83 | | } _gss_us_res_t_default_instance_; |
84 | | } // namespace message |
85 | | } // namespace gss |
86 | | namespace protobuf_message_2eproto { |
87 | 2 | static void InitDefaultsgss_src_req_t() { |
88 | 2 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
89 | | |
90 | 2 | ::gss::message::gss_src_req_t::_i_give_permission_to_break_this_code_default_retformat_.DefaultConstruct(); |
91 | 2 | *::gss::message::gss_src_req_t::_i_give_permission_to_break_this_code_default_retformat_.get_mutable() = ::std::string("html", 4); |
92 | 2 | ::google::protobuf::internal::OnShutdownDestroyString( |
93 | 2 | ::gss::message::gss_src_req_t::_i_give_permission_to_break_this_code_default_retformat_.get_mutable()); |
94 | 2 | { |
95 | 2 | void* ptr = &::gss::message::_gss_src_req_t_default_instance_; |
96 | 2 | new (ptr) ::gss::message::gss_src_req_t(); |
97 | 2 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
98 | 2 | } |
99 | 2 | ::gss::message::gss_src_req_t::InitAsDefaultInstance(); |
100 | 2 | } |
101 | | |
102 | | ::google::protobuf::internal::SCCInfo<0> scc_info_gss_src_req_t = |
103 | | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsgss_src_req_t}, {}}; |
104 | | |
105 | 2 | static void InitDefaultsua_info_t() { |
106 | 2 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
107 | | |
108 | 2 | { |
109 | 2 | void* ptr = &::gss::message::_ua_info_t_default_instance_; |
110 | 2 | new (ptr) ::gss::message::ua_info_t(); |
111 | 2 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
112 | 2 | } |
113 | 2 | ::gss::message::ua_info_t::InitAsDefaultInstance(); |
114 | 2 | } |
115 | | |
116 | | ::google::protobuf::internal::SCCInfo<0> scc_info_ua_info_t = |
117 | | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsua_info_t}, {}}; |
118 | | |
119 | 2 | static void InitDefaultsapp_info_t() { |
120 | 2 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
121 | | |
122 | 2 | { |
123 | 2 | void* ptr = &::gss::message::_app_info_t_default_instance_; |
124 | 2 | new (ptr) ::gss::message::app_info_t(); |
125 | 2 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
126 | 2 | } |
127 | 2 | ::gss::message::app_info_t::InitAsDefaultInstance(); |
128 | 2 | } |
129 | | |
130 | | ::google::protobuf::internal::SCCInfo<0> scc_info_app_info_t = |
131 | | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsapp_info_t}, {}}; |
132 | | |
133 | 2 | static void InitDefaultsus_gss_req_t() { |
134 | 2 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
135 | | |
136 | 2 | ::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_clientname_.DefaultConstruct(); |
137 | 2 | *::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_clientname_.get_mutable() = ::std::string("unknow", 6); |
138 | 2 | ::google::protobuf::internal::OnShutdownDestroyString( |
139 | 2 | ::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_clientname_.get_mutable()); |
140 | 2 | ::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_from_.DefaultConstruct(); |
141 | 2 | *::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_from_.get_mutable() = ::std::string("www", 3); |
142 | 2 | ::google::protobuf::internal::OnShutdownDestroyString( |
143 | 2 | ::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_from_.get_mutable()); |
144 | 2 | ::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_fmt_.DefaultConstruct(); |
145 | 2 | *::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_fmt_.get_mutable() = ::std::string("html", 4); |
146 | 2 | ::google::protobuf::internal::OnShutdownDestroyString( |
147 | 2 | ::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_fmt_.get_mutable()); |
148 | 2 | { |
149 | 2 | void* ptr = &::gss::message::_us_gss_req_t_default_instance_; |
150 | 2 | new (ptr) ::gss::message::us_gss_req_t(); |
151 | 2 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
152 | 2 | } |
153 | 2 | ::gss::message::us_gss_req_t::InitAsDefaultInstance(); |
154 | 2 | } |
155 | | |
156 | | ::google::protobuf::internal::SCCInfo<4> scc_info_us_gss_req_t = |
157 | | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 4, InitDefaultsus_gss_req_t}, { |
158 | | &protobuf_message_2eproto::scc_info_gss_src_req_t.base, |
159 | | &protobuf_message_2eproto::scc_info_app_info_t.base, |
160 | | &protobuf_message_2eproto::scc_info_ua_info_t.base, |
161 | | &protobuf_message_2eproto::scc_info_UserAgent.base,}}; |
162 | | |
163 | 2 | static void InitDefaultsUserAgent() { |
164 | 2 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
165 | | |
166 | 2 | { |
167 | 2 | void* ptr = &::gss::message::_UserAgent_default_instance_; |
168 | 2 | new (ptr) ::gss::message::UserAgent(); |
169 | 2 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
170 | 2 | } |
171 | 2 | ::gss::message::UserAgent::InitAsDefaultInstance(); |
172 | 2 | } |
173 | | |
174 | | ::google::protobuf::internal::SCCInfo<0> scc_info_UserAgent = |
175 | | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsUserAgent}, {}}; |
176 | | |
177 | 2 | static void InitDefaultssub_url_t() { |
178 | 2 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
179 | | |
180 | 2 | { |
181 | 2 | void* ptr = &::gss::message::_sub_url_t_default_instance_; |
182 | 2 | new (ptr) ::gss::message::sub_url_t(); |
183 | 2 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
184 | 2 | } |
185 | 2 | ::gss::message::sub_url_t::InitAsDefaultInstance(); |
186 | 2 | } |
187 | | |
188 | | ::google::protobuf::internal::SCCInfo<0> scc_info_sub_url_t = |
189 | | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultssub_url_t}, {}}; |
190 | | |
191 | 2 | static void InitDefaultsgss_res_t() { |
192 | 2 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
193 | | |
194 | 2 | { |
195 | 2 | void* ptr = &::gss::message::_gss_res_t_default_instance_; |
196 | 2 | new (ptr) ::gss::message::gss_res_t(); |
197 | 2 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
198 | 2 | } |
199 | 2 | ::gss::message::gss_res_t::InitAsDefaultInstance(); |
200 | 2 | } |
201 | | |
202 | | ::google::protobuf::internal::SCCInfo<1> scc_info_gss_res_t = |
203 | | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsgss_res_t}, { |
204 | | &protobuf_message_2eproto::scc_info_sub_url_t.base,}}; |
205 | | |
206 | 2 | static void InitDefaultsitem_t() { |
207 | 2 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
208 | | |
209 | 2 | { |
210 | 2 | void* ptr = &::gss::message::_item_t_default_instance_; |
211 | 2 | new (ptr) ::gss::message::item_t(); |
212 | 2 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
213 | 2 | } |
214 | 2 | ::gss::message::item_t::InitAsDefaultInstance(); |
215 | 2 | } |
216 | | |
217 | | ::google::protobuf::internal::SCCInfo<0> scc_info_item_t = |
218 | | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsitem_t}, {}}; |
219 | | |
220 | 2 | static void InitDefaultsdebug_info_t() { |
221 | 2 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
222 | | |
223 | 2 | { |
224 | 2 | void* ptr = &::gss::message::_debug_info_t_default_instance_; |
225 | 2 | new (ptr) ::gss::message::debug_info_t(); |
226 | 2 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
227 | 2 | } |
228 | 2 | ::gss::message::debug_info_t::InitAsDefaultInstance(); |
229 | 2 | } |
230 | | |
231 | | ::google::protobuf::internal::SCCInfo<1> scc_info_debug_info_t = |
232 | | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsdebug_info_t}, { |
233 | | &protobuf_message_2eproto::scc_info_item_t.base,}}; |
234 | | |
235 | 2 | static void InitDefaultsgss_us_res_t() { |
236 | 2 | GOOGLE_PROTOBUF_VERIFY_VERSION; |
237 | | |
238 | 2 | { |
239 | 2 | void* ptr = &::gss::message::_gss_us_res_t_default_instance_; |
240 | 2 | new (ptr) ::gss::message::gss_us_res_t(); |
241 | 2 | ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); |
242 | 2 | } |
243 | 2 | ::gss::message::gss_us_res_t::InitAsDefaultInstance(); |
244 | 2 | } |
245 | | |
246 | | ::google::protobuf::internal::SCCInfo<2> scc_info_gss_us_res_t = |
247 | | {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsgss_us_res_t}, { |
248 | | &protobuf_message_2eproto::scc_info_gss_res_t.base, |
249 | | &protobuf_message_2eproto::scc_info_debug_info_t.base,}}; |
250 | | |
251 | 2 | void InitDefaults() { |
252 | 2 | ::google::protobuf::internal::InitSCC(&scc_info_gss_src_req_t.base); |
253 | 2 | ::google::protobuf::internal::InitSCC(&scc_info_ua_info_t.base); |
254 | 2 | ::google::protobuf::internal::InitSCC(&scc_info_app_info_t.base); |
255 | 2 | ::google::protobuf::internal::InitSCC(&scc_info_us_gss_req_t.base); |
256 | 2 | ::google::protobuf::internal::InitSCC(&scc_info_UserAgent.base); |
257 | 2 | ::google::protobuf::internal::InitSCC(&scc_info_sub_url_t.base); |
258 | 2 | ::google::protobuf::internal::InitSCC(&scc_info_gss_res_t.base); |
259 | 2 | ::google::protobuf::internal::InitSCC(&scc_info_item_t.base); |
260 | 2 | ::google::protobuf::internal::InitSCC(&scc_info_debug_info_t.base); |
261 | 2 | ::google::protobuf::internal::InitSCC(&scc_info_gss_us_res_t.base); |
262 | 2 | } |
263 | | |
264 | | ::google::protobuf::Metadata file_level_metadata[10]; |
265 | | |
266 | | const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
267 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, _has_bits_), |
268 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, _internal_metadata_), |
269 | | ~0u, // no _extensions_ |
270 | | ~0u, // no _oneof_case_ |
271 | | ~0u, // no _weak_field_map_ |
272 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, transquery_), |
273 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, exttype_), |
274 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, srcid_), |
275 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, pos_), |
276 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, place_), |
277 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, degree_), |
278 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, key_), |
279 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, reqkey_), |
280 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, querytype_), |
281 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, highlight_), |
282 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, retformat_), |
283 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, tagfilter_), |
284 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, spreqtype_), |
285 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, urikey_), |
286 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_src_req_t, entityname_), |
287 | | ~0u, |
288 | | ~0u, |
289 | | 7, |
290 | | 8, |
291 | | 9, |
292 | | 10, |
293 | | 0, |
294 | | 1, |
295 | | 11, |
296 | | 2, |
297 | | 3, |
298 | | 4, |
299 | | 12, |
300 | | 5, |
301 | | 6, |
302 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::ua_info_t, _has_bits_), |
303 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::ua_info_t, _internal_metadata_), |
304 | | ~0u, // no _extensions_ |
305 | | ~0u, // no _oneof_case_ |
306 | | ~0u, // no _weak_field_map_ |
307 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::ua_info_t, ua_os_), |
308 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::ua_info_t, ua_browser_), |
309 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::ua_info_t, ua_modal_), |
310 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::ua_info_t, ua_measure_), |
311 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::ua_info_t, ua_res_x_), |
312 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::ua_info_t, ua_res_y_), |
313 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::ua_info_t, ua_ext_), |
314 | | 0, |
315 | | 1, |
316 | | 2, |
317 | | 3, |
318 | | 5, |
319 | | 6, |
320 | | 4, |
321 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::app_info_t, _has_bits_), |
322 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::app_info_t, _internal_metadata_), |
323 | | ~0u, // no _extensions_ |
324 | | ~0u, // no _oneof_case_ |
325 | | ~0u, // no _weak_field_map_ |
326 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::app_info_t, package_), |
327 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::app_info_t, version_), |
328 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::app_info_t, signmd5_), |
329 | | 0, |
330 | | 1, |
331 | | 2, |
332 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, _has_bits_), |
333 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, _internal_metadata_), |
334 | | ~0u, // no _extensions_ |
335 | | ~0u, // no _oneof_case_ |
336 | | ~0u, // no _weak_field_map_ |
337 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, originquery_), |
338 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, userip_), |
339 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, timingneed_), |
340 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, queryid64_), |
341 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, clientname_), |
342 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, resnum_), |
343 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, pagenum_), |
344 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, ctpl_or_php_), |
345 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, setype_), |
346 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, templatename_), |
347 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, sid_), |
348 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, urlparapack_), |
349 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, gssqa_), |
350 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, cookie_), |
351 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, province_name_), |
352 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, city_name_), |
353 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, isp_name_), |
354 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, srcnum_), |
355 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, from_), |
356 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, fmt_), |
357 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, highlight_), |
358 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, needhilightstr_), |
359 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, srcarr_), |
360 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, resultlang_), |
361 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, resultlocale_), |
362 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, appinfoarr_), |
363 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, uainfo_), |
364 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, useragent_full_), |
365 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, uid_), |
366 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, uname_), |
367 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, open_gssda_recall_), |
368 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, prefetch_flag_), |
369 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, service_name_), |
370 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, caller_), |
371 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::us_gss_req_t, user_agent_), |
372 | | 0, |
373 | | 18, |
374 | | 19, |
375 | | 20, |
376 | | 1, |
377 | | 31, |
378 | | 21, |
379 | | 22, |
380 | | 23, |
381 | | 2, |
382 | | ~0u, |
383 | | 3, |
384 | | 4, |
385 | | 5, |
386 | | 6, |
387 | | 7, |
388 | | 8, |
389 | | 24, |
390 | | 9, |
391 | | 10, |
392 | | 11, |
393 | | 27, |
394 | | ~0u, |
395 | | 25, |
396 | | 26, |
397 | | ~0u, |
398 | | 16, |
399 | | 12, |
400 | | 28, |
401 | | 13, |
402 | | 29, |
403 | | 30, |
404 | | 14, |
405 | | 15, |
406 | | 17, |
407 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::UserAgent, _has_bits_), |
408 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::UserAgent, _internal_metadata_), |
409 | | ~0u, // no _extensions_ |
410 | | ~0u, // no _oneof_case_ |
411 | | ~0u, // no _weak_field_map_ |
412 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::UserAgent, dsp_), |
413 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::UserAgent, os_), |
414 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::UserAgent, osv_), |
415 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::UserAgent, mb_), |
416 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::UserAgent, mbv_), |
417 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::UserAgent, apn_), |
418 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::UserAgent, arn_), |
419 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::UserAgent, cuid_), |
420 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::UserAgent, net_type_), |
421 | | 0, |
422 | | 1, |
423 | | 2, |
424 | | 3, |
425 | | 4, |
426 | | 7, |
427 | | 8, |
428 | | 5, |
429 | | 6, |
430 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::sub_url_t, _has_bits_), |
431 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::sub_url_t, _internal_metadata_), |
432 | | ~0u, // no _extensions_ |
433 | | ~0u, // no _oneof_case_ |
434 | | ~0u, // no _weak_field_map_ |
435 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::sub_url_t, suburl_), |
436 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::sub_url_t, suburi_), |
437 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::sub_url_t, subname_), |
438 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::sub_url_t, subpath_), |
439 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::sub_url_t, siteid_), |
440 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::sub_url_t, subex_), |
441 | | 0, |
442 | | 1, |
443 | | 2, |
444 | | 3, |
445 | | 5, |
446 | | 4, |
447 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, _has_bits_), |
448 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, _internal_metadata_), |
449 | | ~0u, // no _extensions_ |
450 | | ~0u, // no _oneof_case_ |
451 | | ~0u, // no _weak_field_map_ |
452 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, resulturl_), |
453 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, display_), |
454 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, weight_), |
455 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, sort_), |
456 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, srcid_), |
457 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, timingneed_), |
458 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, wisestrategyflag_), |
459 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, degree_), |
460 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, clickneed_), |
461 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, strategyinfo_), |
462 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, spreqtype_), |
463 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, urikey_), |
464 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, entityname_), |
465 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, subresult_), |
466 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, subresnum_), |
467 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, displaylog_), |
468 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, displaydata_), |
469 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, restype_), |
470 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, title_), |
471 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_res_t, recovercachetime_), |
472 | | 0, |
473 | | 1, |
474 | | 7, |
475 | | 8, |
476 | | 9, |
477 | | 10, |
478 | | 11, |
479 | | 12, |
480 | | 13, |
481 | | 14, |
482 | | 15, |
483 | | 2, |
484 | | 3, |
485 | | ~0u, |
486 | | 16, |
487 | | 4, |
488 | | 5, |
489 | | 17, |
490 | | 6, |
491 | | 18, |
492 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::item_t, _has_bits_), |
493 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::item_t, _internal_metadata_), |
494 | | ~0u, // no _extensions_ |
495 | | ~0u, // no _oneof_case_ |
496 | | ~0u, // no _weak_field_map_ |
497 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::item_t, title_), |
498 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::item_t, content_), |
499 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::item_t, parent_), |
500 | | 0, |
501 | | 1, |
502 | | 2, |
503 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::debug_info_t, _has_bits_), |
504 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::debug_info_t, _internal_metadata_), |
505 | | ~0u, // no _extensions_ |
506 | | ~0u, // no _oneof_case_ |
507 | | ~0u, // no _weak_field_map_ |
508 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::debug_info_t, idebug_), |
509 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::debug_info_t, item_info_), |
510 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::debug_info_t, anchor_info_), |
511 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::debug_info_t, debug_info_), |
512 | | 0, |
513 | | ~0u, |
514 | | ~0u, |
515 | | ~0u, |
516 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_us_res_t, _has_bits_), |
517 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_us_res_t, _internal_metadata_), |
518 | | ~0u, // no _extensions_ |
519 | | ~0u, // no _oneof_case_ |
520 | | ~0u, // no _weak_field_map_ |
521 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_us_res_t, resultcode_), |
522 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_us_res_t, queryid_), |
523 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_us_res_t, result_), |
524 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_us_res_t, resultnum_), |
525 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_us_res_t, info_), |
526 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_us_res_t, bfe_cached_time_), |
527 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_us_res_t, bfe_cached_islocate_), |
528 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_us_res_t, disp_data_url_ex_), |
529 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_us_res_t, disp_data_query_ex_), |
530 | | GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::gss::message::gss_us_res_t, name_), |
531 | | 5, |
532 | | 4, |
533 | | ~0u, |
534 | | 6, |
535 | | 3, |
536 | | 7, |
537 | | 8, |
538 | | 0, |
539 | | 1, |
540 | | 2, |
541 | | }; |
542 | | static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
543 | | { 0, 20, sizeof(::gss::message::gss_src_req_t)}, |
544 | | { 35, 47, sizeof(::gss::message::ua_info_t)}, |
545 | | { 54, 62, sizeof(::gss::message::app_info_t)}, |
546 | | { 65, 105, sizeof(::gss::message::us_gss_req_t)}, |
547 | | { 140, 154, sizeof(::gss::message::UserAgent)}, |
548 | | { 163, 174, sizeof(::gss::message::sub_url_t)}, |
549 | | { 180, 205, sizeof(::gss::message::gss_res_t)}, |
550 | | { 225, 233, sizeof(::gss::message::item_t)}, |
551 | | { 236, 245, sizeof(::gss::message::debug_info_t)}, |
552 | | { 249, 264, sizeof(::gss::message::gss_us_res_t)}, |
553 | | }; |
554 | | |
555 | | static ::google::protobuf::Message const * const file_default_instances[] = { |
556 | | reinterpret_cast<const ::google::protobuf::Message*>(&::gss::message::_gss_src_req_t_default_instance_), |
557 | | reinterpret_cast<const ::google::protobuf::Message*>(&::gss::message::_ua_info_t_default_instance_), |
558 | | reinterpret_cast<const ::google::protobuf::Message*>(&::gss::message::_app_info_t_default_instance_), |
559 | | reinterpret_cast<const ::google::protobuf::Message*>(&::gss::message::_us_gss_req_t_default_instance_), |
560 | | reinterpret_cast<const ::google::protobuf::Message*>(&::gss::message::_UserAgent_default_instance_), |
561 | | reinterpret_cast<const ::google::protobuf::Message*>(&::gss::message::_sub_url_t_default_instance_), |
562 | | reinterpret_cast<const ::google::protobuf::Message*>(&::gss::message::_gss_res_t_default_instance_), |
563 | | reinterpret_cast<const ::google::protobuf::Message*>(&::gss::message::_item_t_default_instance_), |
564 | | reinterpret_cast<const ::google::protobuf::Message*>(&::gss::message::_debug_info_t_default_instance_), |
565 | | reinterpret_cast<const ::google::protobuf::Message*>(&::gss::message::_gss_us_res_t_default_instance_), |
566 | | }; |
567 | | |
568 | 0 | void protobuf_AssignDescriptors() { |
569 | 0 | AddDescriptors(); |
570 | 0 | AssignDescriptors( |
571 | 0 | "message.proto", schemas, file_default_instances, TableStruct::offsets, |
572 | 0 | file_level_metadata, NULL, NULL); |
573 | 0 | } |
574 | | |
575 | 0 | void protobuf_AssignDescriptorsOnce() { |
576 | 0 | static ::google::protobuf::internal::once_flag once; |
577 | 0 | ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors); |
578 | 0 | } |
579 | | |
580 | | void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD; |
581 | 0 | void protobuf_RegisterTypes(const ::std::string&) { |
582 | 0 | protobuf_AssignDescriptorsOnce(); |
583 | 0 | ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 10); |
584 | 0 | } |
585 | | |
586 | 2 | void AddDescriptorsImpl() { |
587 | 2 | InitDefaults(); |
588 | 2 | static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
589 | 2 | "\n\rmessage.proto\022\013gss.message\"\225\002\n\rgss_src" |
590 | 2 | "_req_t\022\022\n\nTransQuery\030\001 \003(\t\022\017\n\007ExtType\030\002 " |
591 | 2 | "\003(\005\022\r\n\005SrcID\030\003 \001(\005\022\013\n\003Pos\030\005 \001(\005\022\r\n\005Place" |
592 | 2 | "\030\006 \001(\005\022\016\n\006Degree\030\007 \001(\005\022\013\n\003Key\030\010 \001(\t\022\016\n\006R" |
593 | 2 | "eqKey\030\t \001(\t\022\021\n\tQueryType\030\n \001(\005\022\021\n\tHighLi" |
594 | 2 | "ght\030\013 \001(\014\022\027\n\tRetFormat\030\014 \001(\t:\004html\022\021\n\tTa" |
595 | 2 | "gFilter\030\r \001(\t\022\021\n\tSpReqType\030\016 \001(\005\022\016\n\006UriK" |
596 | 2 | "ey\030\017 \001(\t\022\022\n\nEntityName\030\020 \001(\t\"\210\001\n\tua_info" |
597 | 2 | "_t\022\r\n\005ua_os\030\001 \001(\t\022\022\n\nua_browser\030\002 \001(\t\022\020\n" |
598 | 2 | "\010ua_modal\030\003 \001(\t\022\022\n\nua_measure\030\004 \001(\t\022\020\n\010u" |
599 | 2 | "a_res_x\030\005 \001(\005\022\020\n\010ua_res_y\030\006 \001(\005\022\016\n\006ua_ex" |
600 | 2 | "t\030\007 \001(\014\"\?\n\napp_info_t\022\017\n\007package\030\001 \002(\t\022\017" |
601 | 2 | "\n\007version\030\002 \002(\005\022\017\n\007signmd5\030\003 \002(\r\"\246\006\n\014us_" |
602 | 2 | "gss_req_t\022\023\n\013OriginQuery\030\001 \002(\t\022\016\n\006UserIP" |
603 | 2 | "\030\002 \002(\005\022\022\n\nTimingNeed\030\003 \002(\005\022\024\n\tQueryID64\030" |
604 | 2 | "\004 \001(\004:\0010\022\032\n\nClientName\030\005 \001(\t:\006unknow\022\022\n\006" |
605 | 2 | "ResNum\030\013 \001(\005:\00220\022\022\n\007PageNum\030\014 \001(\005:\0010\022\026\n\013" |
606 | 2 | "ctpl_or_php\030\r \001(\005:\0010\022\021\n\006SeType\030\016 \001(\005:\0010\022" |
607 | 2 | "\024\n\014TemplateName\030\017 \002(\t\022\013\n\003sid\030\020 \003(\005\022\023\n\013Ur" |
608 | 2 | "lParaPack\030\021 \001(\014\022\r\n\005gssqa\030\022 \001(\014\022\016\n\006Cookie" |
609 | 2 | "\030\023 \001(\t\022\025\n\rprovince_name\030\037 \001(\t\022\021\n\tcity_na" |
610 | 2 | "me\030 \001(\t\022\020\n\010isp_name\030! \001(\t\022\016\n\006SrcNum\030\" \002" |
611 | 2 | "(\r\022\021\n\004From\030# \001(\t:\003www\022\021\n\003Fmt\030$ \001(\t:\004html" |
612 | 2 | "\022\021\n\tHighLight\030% \001(\014\022\031\n\016NeedHilightStr\030& " |
613 | 2 | "\001(\005:\0010\022*\n\006SrcArr\030\' \003(\0132\032.gss.message.gss" |
614 | 2 | "_src_req_t\022\022\n\nresultLang\030( \001(\003\022\024\n\014result" |
615 | 2 | "Locale\030) \001(\003\022+\n\nAppInfoArr\030* \003(\0132\027.gss.m" |
616 | 2 | "essage.app_info_t\022&\n\006uaInfo\030+ \001(\0132\026.gss." |
617 | 2 | "message.ua_info_t\022\026\n\016useragent_full\030, \001(" |
618 | 2 | "\t\022\013\n\003uid\030- \001(\005\022\r\n\005uname\030. \001(\t\022\031\n\021open_gs" |
619 | 2 | "sda_recall\030/ \001(\005\022\025\n\rprefetch_flag\0300 \001(\005\022" |
620 | 2 | "\024\n\014service_name\030G \001(\t\022\016\n\006caller\030H \001(\t\022*\n" |
621 | 2 | "\nuser_agent\030I \001(\0132\026.gss.message.UserAgen" |
622 | 2 | "t\"\204\001\n\tUserAgent\022\013\n\003dsp\030\001 \001(\t\022\n\n\002os\030\002 \001(\t" |
623 | 2 | "\022\013\n\003osv\030\003 \001(\t\022\n\n\002mb\030\004 \001(\t\022\013\n\003mbv\030\005 \001(\t\022\013" |
624 | 2 | "\n\003apn\030\006 \001(\005\022\013\n\003arn\030\007 \001(\005\022\014\n\004cuid\030\010 \001(\t\022\020" |
625 | 2 | "\n\010net_type\030\t \001(\t\"l\n\tsub_url_t\022\016\n\006SubURL\030" |
626 | 2 | "\001 \002(\t\022\016\n\006SubURI\030\002 \001(\t\022\017\n\007SubName\030\003 \001(\t\022\017" |
627 | 2 | "\n\007SubPath\030\004 \001(\t\022\016\n\006SiteId\030\005 \001(\005\022\r\n\005SubEx" |
628 | 2 | "\030\006 \001(\t\"\233\003\n\tgss_res_t\022\021\n\tResultURL\030\002 \002(\t\022" |
629 | 2 | "\017\n\007Display\030\003 \001(\t\022\016\n\006Weight\030\004 \002(\005\022\014\n\004Sort" |
630 | 2 | "\030\005 \001(\005\022\r\n\005SrcID\030\006 \001(\005\022\022\n\nTimingNeed\030\007 \002(" |
631 | 2 | "\005\022\030\n\020WiseStrategyFlag\030\010 \001(\r\022\016\n\006Degree\030\t " |
632 | 2 | "\001(\005\022\021\n\tClickNeed\030\n \001(\005\022\024\n\014StrategyInfo\030\013" |
633 | 2 | " \001(\005\022\021\n\tSpReqType\030\014 \001(\005\022\016\n\006UriKey\030\r \001(\t\022" |
634 | 2 | "\022\n\nEntityName\030\016 \001(\t\022)\n\tSubResult\030\017 \003(\0132\026" |
635 | 2 | ".gss.message.sub_url_t\022\021\n\tSubResNum\030\020 \001(" |
636 | 2 | "\005\022\022\n\nDisplayLog\030\021 \001(\t\022\023\n\013DisplayData\030\022 \001" |
637 | 2 | "(\014\022\017\n\007ResType\030\023 \001(\r\022\r\n\005Title\030\024 \001(\t\022\030\n\020Re" |
638 | 2 | "coverCacheTime\030\025 \001(\005\"8\n\006item_t\022\r\n\005title\030" |
639 | 2 | "\001 \002(\t\022\017\n\007content\030\002 \002(\t\022\016\n\006parent\030\003 \002(\005\"s" |
640 | 2 | "\n\014debug_info_t\022\016\n\006idebug\030\001 \001(\014\022\021\n\titem_i" |
641 | 2 | "nfo\030\002 \003(\t\022\023\n\013anchor_info\030\003 \003(\t\022+\n\ndebug_" |
642 | 2 | "info\030\004 \003(\0132\023.gss.message.item_tB\002\030\001\"\221\002\n\014" |
643 | 2 | "gss_us_res_t\022\022\n\nResultCode\030\001 \002(\005\022\017\n\007Quer" |
644 | 2 | "yID\030\002 \002(\004\022&\n\006Result\030\003 \003(\0132\026.gss.message." |
645 | 2 | "gss_res_t\022\021\n\tResultNum\030\004 \002(\r\022\'\n\004info\030\005 \001" |
646 | 2 | "(\0132\031.gss.message.debug_info_t\022\027\n\017bfe_cac" |
647 | 2 | "hed_time\030\006 \001(\005\022\033\n\023bfe_cached_islocate\030\007 " |
648 | 2 | "\001(\005\022\030\n\020disp_data_url_ex\030\010 \001(\014\022\032\n\022disp_da" |
649 | 2 | "ta_query_ex\030\t \001(\014\022\014\n\004name\030\024 \001(\t" |
650 | 2 | }; |
651 | 2 | ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( |
652 | 2 | descriptor, 2431); |
653 | 2 | ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( |
654 | 2 | "message.proto", &protobuf_RegisterTypes); |
655 | 2 | } |
656 | | |
657 | 2 | void AddDescriptors() { |
658 | 2 | static ::google::protobuf::internal::once_flag once; |
659 | 2 | ::google::protobuf::internal::call_once(once, AddDescriptorsImpl); |
660 | 2 | } |
661 | | // Force AddDescriptors() to be called at dynamic initialization time. |
662 | | struct StaticDescriptorInitializer { |
663 | 2 | StaticDescriptorInitializer() { |
664 | 2 | AddDescriptors(); |
665 | 2 | } |
666 | | } static_descriptor_initializer; |
667 | | } // namespace protobuf_message_2eproto |
668 | | namespace gss { |
669 | | namespace message { |
670 | | |
671 | | // =================================================================== |
672 | | |
673 | 2 | void gss_src_req_t::InitAsDefaultInstance() { |
674 | 2 | } |
675 | | ::google::protobuf::internal::ExplicitlyConstructed<::std::string> gss_src_req_t::_i_give_permission_to_break_this_code_default_retformat_; |
676 | | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
677 | | const int gss_src_req_t::kTransQueryFieldNumber; |
678 | | const int gss_src_req_t::kExtTypeFieldNumber; |
679 | | const int gss_src_req_t::kSrcIDFieldNumber; |
680 | | const int gss_src_req_t::kPosFieldNumber; |
681 | | const int gss_src_req_t::kPlaceFieldNumber; |
682 | | const int gss_src_req_t::kDegreeFieldNumber; |
683 | | const int gss_src_req_t::kKeyFieldNumber; |
684 | | const int gss_src_req_t::kReqKeyFieldNumber; |
685 | | const int gss_src_req_t::kQueryTypeFieldNumber; |
686 | | const int gss_src_req_t::kHighLightFieldNumber; |
687 | | const int gss_src_req_t::kRetFormatFieldNumber; |
688 | | const int gss_src_req_t::kTagFilterFieldNumber; |
689 | | const int gss_src_req_t::kSpReqTypeFieldNumber; |
690 | | const int gss_src_req_t::kUriKeyFieldNumber; |
691 | | const int gss_src_req_t::kEntityNameFieldNumber; |
692 | | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
693 | | |
694 | | gss_src_req_t::gss_src_req_t() |
695 | 2 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
696 | 2 | ::google::protobuf::internal::InitSCC( |
697 | 2 | &protobuf_message_2eproto::scc_info_gss_src_req_t.base); |
698 | 2 | SharedCtor(); |
699 | | // @@protoc_insertion_point(constructor:gss.message.gss_src_req_t) |
700 | 2 | } |
701 | | gss_src_req_t::gss_src_req_t(const gss_src_req_t& from) |
702 | 0 | : ::google::protobuf::Message(), |
703 | 0 | _internal_metadata_(NULL), |
704 | 0 | _has_bits_(from._has_bits_), |
705 | 0 | transquery_(from.transquery_), |
706 | 0 | exttype_(from.exttype_) { |
707 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
708 | 0 | key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
709 | 0 | if (from.has_key()) { |
710 | 0 | key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); |
711 | 0 | } |
712 | 0 | reqkey_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
713 | 0 | if (from.has_reqkey()) { |
714 | 0 | reqkey_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reqkey_); |
715 | 0 | } |
716 | 0 | highlight_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
717 | 0 | if (from.has_highlight()) { |
718 | 0 | highlight_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.highlight_); |
719 | 0 | } |
720 | 0 | retformat_.UnsafeSetDefault(&::gss::message::gss_src_req_t::_i_give_permission_to_break_this_code_default_retformat_.get()); |
721 | 0 | if (from.has_retformat()) { |
722 | 0 | retformat_.AssignWithDefault(&::gss::message::gss_src_req_t::_i_give_permission_to_break_this_code_default_retformat_.get(), from.retformat_); |
723 | 0 | } |
724 | 0 | tagfilter_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
725 | 0 | if (from.has_tagfilter()) { |
726 | 0 | tagfilter_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tagfilter_); |
727 | 0 | } |
728 | 0 | urikey_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
729 | 0 | if (from.has_urikey()) { |
730 | 0 | urikey_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.urikey_); |
731 | 0 | } |
732 | 0 | entityname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
733 | 0 | if (from.has_entityname()) { |
734 | 0 | entityname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.entityname_); |
735 | 0 | } |
736 | 0 | ::memcpy(&srcid_, &from.srcid_, |
737 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&spreqtype_) - |
738 | 0 | reinterpret_cast<char*>(&srcid_)) + sizeof(spreqtype_)); |
739 | | // @@protoc_insertion_point(copy_constructor:gss.message.gss_src_req_t) |
740 | 0 | } |
741 | | |
742 | 2 | void gss_src_req_t::SharedCtor() { |
743 | 2 | key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
744 | 2 | reqkey_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
745 | 2 | highlight_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
746 | 2 | retformat_.UnsafeSetDefault(&::gss::message::gss_src_req_t::_i_give_permission_to_break_this_code_default_retformat_.get()); |
747 | 2 | tagfilter_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
748 | 2 | urikey_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
749 | 2 | entityname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
750 | 2 | ::memset(&srcid_, 0, static_cast<size_t>( |
751 | 2 | reinterpret_cast<char*>(&spreqtype_) - |
752 | 2 | reinterpret_cast<char*>(&srcid_)) + sizeof(spreqtype_)); |
753 | 2 | } |
754 | | |
755 | 0 | gss_src_req_t::~gss_src_req_t() { |
756 | | // @@protoc_insertion_point(destructor:gss.message.gss_src_req_t) |
757 | 0 | SharedDtor(); |
758 | 0 | } |
759 | | |
760 | 0 | void gss_src_req_t::SharedDtor() { |
761 | 0 | key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
762 | 0 | reqkey_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
763 | 0 | highlight_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
764 | 0 | retformat_.DestroyNoArena(&::gss::message::gss_src_req_t::_i_give_permission_to_break_this_code_default_retformat_.get()); |
765 | 0 | tagfilter_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
766 | 0 | urikey_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
767 | 0 | entityname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
768 | 0 | } |
769 | | |
770 | 0 | void gss_src_req_t::SetCachedSize(int size) const { |
771 | 0 | _cached_size_.Set(size); |
772 | 0 | } |
773 | 0 | const ::google::protobuf::Descriptor* gss_src_req_t::descriptor() { |
774 | 0 | ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
775 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
776 | 0 | } |
777 | | |
778 | 0 | const gss_src_req_t& gss_src_req_t::default_instance() { |
779 | 0 | ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_gss_src_req_t.base); |
780 | 0 | return *internal_default_instance(); |
781 | 0 | } |
782 | | |
783 | | |
784 | 0 | void gss_src_req_t::Clear() { |
785 | | // @@protoc_insertion_point(message_clear_start:gss.message.gss_src_req_t) |
786 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
787 | | // Prevent compiler warnings about cached_has_bits being unused |
788 | 0 | (void) cached_has_bits; |
789 | |
|
790 | 0 | transquery_.Clear(); |
791 | 0 | exttype_.Clear(); |
792 | 0 | cached_has_bits = _has_bits_[0]; |
793 | 0 | if (cached_has_bits & 127u) { |
794 | 0 | if (cached_has_bits & 0x00000001u) { |
795 | 0 | key_.ClearNonDefaultToEmptyNoArena(); |
796 | 0 | } |
797 | 0 | if (cached_has_bits & 0x00000002u) { |
798 | 0 | reqkey_.ClearNonDefaultToEmptyNoArena(); |
799 | 0 | } |
800 | 0 | if (cached_has_bits & 0x00000004u) { |
801 | 0 | highlight_.ClearNonDefaultToEmptyNoArena(); |
802 | 0 | } |
803 | 0 | if (cached_has_bits & 0x00000008u) { |
804 | 0 | retformat_.UnsafeMutablePointer()->assign(*&::gss::message::gss_src_req_t::_i_give_permission_to_break_this_code_default_retformat_.get()); |
805 | 0 | } |
806 | 0 | if (cached_has_bits & 0x00000010u) { |
807 | 0 | tagfilter_.ClearNonDefaultToEmptyNoArena(); |
808 | 0 | } |
809 | 0 | if (cached_has_bits & 0x00000020u) { |
810 | 0 | urikey_.ClearNonDefaultToEmptyNoArena(); |
811 | 0 | } |
812 | 0 | if (cached_has_bits & 0x00000040u) { |
813 | 0 | entityname_.ClearNonDefaultToEmptyNoArena(); |
814 | 0 | } |
815 | 0 | } |
816 | 0 | srcid_ = 0; |
817 | 0 | if (cached_has_bits & 7936u) { |
818 | 0 | ::memset(&pos_, 0, static_cast<size_t>( |
819 | 0 | reinterpret_cast<char*>(&spreqtype_) - |
820 | 0 | reinterpret_cast<char*>(&pos_)) + sizeof(spreqtype_)); |
821 | 0 | } |
822 | 0 | _has_bits_.Clear(); |
823 | 0 | _internal_metadata_.Clear(); |
824 | 0 | } |
825 | | |
826 | | bool gss_src_req_t::MergePartialFromCodedStream( |
827 | 0 | ::google::protobuf::io::CodedInputStream* input) { |
828 | 0 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
829 | 0 | ::google::protobuf::uint32 tag; |
830 | | // @@protoc_insertion_point(parse_start:gss.message.gss_src_req_t) |
831 | 0 | for (;;) { |
832 | 0 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); |
833 | 0 | tag = p.first; |
834 | 0 | if (!p.second) goto handle_unusual; |
835 | 0 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
836 | | // repeated string TransQuery = 1; |
837 | 0 | case 1: { |
838 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
839 | 0 | static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
840 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
841 | 0 | input, this->add_transquery())); |
842 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
843 | 0 | this->transquery(this->transquery_size() - 1).data(), |
844 | 0 | static_cast<int>(this->transquery(this->transquery_size() - 1).length()), |
845 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
846 | 0 | "gss.message.gss_src_req_t.TransQuery"); |
847 | 0 | } else { |
848 | 0 | goto handle_unusual; |
849 | 0 | } |
850 | 0 | break; |
851 | 0 | } |
852 | | |
853 | | // repeated int32 ExtType = 2; |
854 | 0 | case 2: { |
855 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
856 | 0 | static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
857 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< |
858 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
859 | 0 | 1, 16u, input, this->mutable_exttype()))); |
860 | 0 | } else if ( |
861 | 0 | static_cast< ::google::protobuf::uint8>(tag) == |
862 | 0 | static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
863 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< |
864 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
865 | 0 | input, this->mutable_exttype()))); |
866 | 0 | } else { |
867 | 0 | goto handle_unusual; |
868 | 0 | } |
869 | 0 | break; |
870 | 0 | } |
871 | | |
872 | | // optional int32 SrcID = 3; |
873 | 0 | case 3: { |
874 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
875 | 0 | static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
876 | 0 | set_has_srcid(); |
877 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
878 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
879 | 0 | input, &srcid_))); |
880 | 0 | } else { |
881 | 0 | goto handle_unusual; |
882 | 0 | } |
883 | 0 | break; |
884 | 0 | } |
885 | | |
886 | | // optional int32 Pos = 5; |
887 | 0 | case 5: { |
888 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
889 | 0 | static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { |
890 | 0 | set_has_pos(); |
891 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
892 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
893 | 0 | input, &pos_))); |
894 | 0 | } else { |
895 | 0 | goto handle_unusual; |
896 | 0 | } |
897 | 0 | break; |
898 | 0 | } |
899 | | |
900 | | // optional int32 Place = 6; |
901 | 0 | case 6: { |
902 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
903 | 0 | static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { |
904 | 0 | set_has_place(); |
905 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
906 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
907 | 0 | input, &place_))); |
908 | 0 | } else { |
909 | 0 | goto handle_unusual; |
910 | 0 | } |
911 | 0 | break; |
912 | 0 | } |
913 | | |
914 | | // optional int32 Degree = 7; |
915 | 0 | case 7: { |
916 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
917 | 0 | static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { |
918 | 0 | set_has_degree(); |
919 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
920 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
921 | 0 | input, °ree_))); |
922 | 0 | } else { |
923 | 0 | goto handle_unusual; |
924 | 0 | } |
925 | 0 | break; |
926 | 0 | } |
927 | | |
928 | | // optional string Key = 8; |
929 | 0 | case 8: { |
930 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
931 | 0 | static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) { |
932 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
933 | 0 | input, this->mutable_key())); |
934 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
935 | 0 | this->key().data(), static_cast<int>(this->key().length()), |
936 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
937 | 0 | "gss.message.gss_src_req_t.Key"); |
938 | 0 | } else { |
939 | 0 | goto handle_unusual; |
940 | 0 | } |
941 | 0 | break; |
942 | 0 | } |
943 | | |
944 | | // optional string ReqKey = 9; |
945 | 0 | case 9: { |
946 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
947 | 0 | static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) { |
948 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
949 | 0 | input, this->mutable_reqkey())); |
950 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
951 | 0 | this->reqkey().data(), static_cast<int>(this->reqkey().length()), |
952 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
953 | 0 | "gss.message.gss_src_req_t.ReqKey"); |
954 | 0 | } else { |
955 | 0 | goto handle_unusual; |
956 | 0 | } |
957 | 0 | break; |
958 | 0 | } |
959 | | |
960 | | // optional int32 QueryType = 10; |
961 | 0 | case 10: { |
962 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
963 | 0 | static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) { |
964 | 0 | set_has_querytype(); |
965 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
966 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
967 | 0 | input, &querytype_))); |
968 | 0 | } else { |
969 | 0 | goto handle_unusual; |
970 | 0 | } |
971 | 0 | break; |
972 | 0 | } |
973 | | |
974 | | // optional bytes HighLight = 11; |
975 | 0 | case 11: { |
976 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
977 | 0 | static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) { |
978 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( |
979 | 0 | input, this->mutable_highlight())); |
980 | 0 | } else { |
981 | 0 | goto handle_unusual; |
982 | 0 | } |
983 | 0 | break; |
984 | 0 | } |
985 | | |
986 | | // optional string RetFormat = 12 [default = "html"]; |
987 | 0 | case 12: { |
988 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
989 | 0 | static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) { |
990 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
991 | 0 | input, this->mutable_retformat())); |
992 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
993 | 0 | this->retformat().data(), static_cast<int>(this->retformat().length()), |
994 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
995 | 0 | "gss.message.gss_src_req_t.RetFormat"); |
996 | 0 | } else { |
997 | 0 | goto handle_unusual; |
998 | 0 | } |
999 | 0 | break; |
1000 | 0 | } |
1001 | | |
1002 | | // optional string TagFilter = 13; |
1003 | 0 | case 13: { |
1004 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1005 | 0 | static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) { |
1006 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
1007 | 0 | input, this->mutable_tagfilter())); |
1008 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1009 | 0 | this->tagfilter().data(), static_cast<int>(this->tagfilter().length()), |
1010 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
1011 | 0 | "gss.message.gss_src_req_t.TagFilter"); |
1012 | 0 | } else { |
1013 | 0 | goto handle_unusual; |
1014 | 0 | } |
1015 | 0 | break; |
1016 | 0 | } |
1017 | | |
1018 | | // optional int32 SpReqType = 14; |
1019 | 0 | case 14: { |
1020 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1021 | 0 | static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) { |
1022 | 0 | set_has_spreqtype(); |
1023 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
1024 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
1025 | 0 | input, &spreqtype_))); |
1026 | 0 | } else { |
1027 | 0 | goto handle_unusual; |
1028 | 0 | } |
1029 | 0 | break; |
1030 | 0 | } |
1031 | | |
1032 | | // optional string UriKey = 15; |
1033 | 0 | case 15: { |
1034 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1035 | 0 | static_cast< ::google::protobuf::uint8>(122u /* 122 & 0xFF */)) { |
1036 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
1037 | 0 | input, this->mutable_urikey())); |
1038 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1039 | 0 | this->urikey().data(), static_cast<int>(this->urikey().length()), |
1040 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
1041 | 0 | "gss.message.gss_src_req_t.UriKey"); |
1042 | 0 | } else { |
1043 | 0 | goto handle_unusual; |
1044 | 0 | } |
1045 | 0 | break; |
1046 | 0 | } |
1047 | | |
1048 | | // optional string EntityName = 16; |
1049 | 0 | case 16: { |
1050 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1051 | 0 | static_cast< ::google::protobuf::uint8>(130u /* 130 & 0xFF */)) { |
1052 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
1053 | 0 | input, this->mutable_entityname())); |
1054 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1055 | 0 | this->entityname().data(), static_cast<int>(this->entityname().length()), |
1056 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
1057 | 0 | "gss.message.gss_src_req_t.EntityName"); |
1058 | 0 | } else { |
1059 | 0 | goto handle_unusual; |
1060 | 0 | } |
1061 | 0 | break; |
1062 | 0 | } |
1063 | | |
1064 | 0 | default: { |
1065 | 0 | handle_unusual: |
1066 | 0 | if (tag == 0) { |
1067 | 0 | goto success; |
1068 | 0 | } |
1069 | 0 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
1070 | 0 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
1071 | 0 | break; |
1072 | 0 | } |
1073 | 0 | } |
1074 | 0 | } |
1075 | 0 | success: |
1076 | | // @@protoc_insertion_point(parse_success:gss.message.gss_src_req_t) |
1077 | 0 | return true; |
1078 | 0 | failure: |
1079 | | // @@protoc_insertion_point(parse_failure:gss.message.gss_src_req_t) |
1080 | 0 | return false; |
1081 | 0 | #undef DO_ |
1082 | 0 | } |
1083 | | |
1084 | | void gss_src_req_t::SerializeWithCachedSizes( |
1085 | 0 | ::google::protobuf::io::CodedOutputStream* output) const { |
1086 | | // @@protoc_insertion_point(serialize_start:gss.message.gss_src_req_t) |
1087 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
1088 | 0 | (void) cached_has_bits; |
1089 | | |
1090 | | // repeated string TransQuery = 1; |
1091 | 0 | for (int i = 0, n = this->transquery_size(); i < n; i++) { |
1092 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1093 | 0 | this->transquery(i).data(), static_cast<int>(this->transquery(i).length()), |
1094 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1095 | 0 | "gss.message.gss_src_req_t.TransQuery"); |
1096 | 0 | ::google::protobuf::internal::WireFormatLite::WriteString( |
1097 | 0 | 1, this->transquery(i), output); |
1098 | 0 | } |
1099 | | |
1100 | | // repeated int32 ExtType = 2; |
1101 | 0 | for (int i = 0, n = this->exttype_size(); i < n; i++) { |
1102 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32( |
1103 | 0 | 2, this->exttype(i), output); |
1104 | 0 | } |
1105 | |
|
1106 | 0 | cached_has_bits = _has_bits_[0]; |
1107 | | // optional int32 SrcID = 3; |
1108 | 0 | if (cached_has_bits & 0x00000080u) { |
1109 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->srcid(), output); |
1110 | 0 | } |
1111 | | |
1112 | | // optional int32 Pos = 5; |
1113 | 0 | if (cached_has_bits & 0x00000100u) { |
1114 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->pos(), output); |
1115 | 0 | } |
1116 | | |
1117 | | // optional int32 Place = 6; |
1118 | 0 | if (cached_has_bits & 0x00000200u) { |
1119 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->place(), output); |
1120 | 0 | } |
1121 | | |
1122 | | // optional int32 Degree = 7; |
1123 | 0 | if (cached_has_bits & 0x00000400u) { |
1124 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->degree(), output); |
1125 | 0 | } |
1126 | | |
1127 | | // optional string Key = 8; |
1128 | 0 | if (cached_has_bits & 0x00000001u) { |
1129 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1130 | 0 | this->key().data(), static_cast<int>(this->key().length()), |
1131 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1132 | 0 | "gss.message.gss_src_req_t.Key"); |
1133 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
1134 | 0 | 8, this->key(), output); |
1135 | 0 | } |
1136 | | |
1137 | | // optional string ReqKey = 9; |
1138 | 0 | if (cached_has_bits & 0x00000002u) { |
1139 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1140 | 0 | this->reqkey().data(), static_cast<int>(this->reqkey().length()), |
1141 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1142 | 0 | "gss.message.gss_src_req_t.ReqKey"); |
1143 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
1144 | 0 | 9, this->reqkey(), output); |
1145 | 0 | } |
1146 | | |
1147 | | // optional int32 QueryType = 10; |
1148 | 0 | if (cached_has_bits & 0x00000800u) { |
1149 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->querytype(), output); |
1150 | 0 | } |
1151 | | |
1152 | | // optional bytes HighLight = 11; |
1153 | 0 | if (cached_has_bits & 0x00000004u) { |
1154 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( |
1155 | 0 | 11, this->highlight(), output); |
1156 | 0 | } |
1157 | | |
1158 | | // optional string RetFormat = 12 [default = "html"]; |
1159 | 0 | if (cached_has_bits & 0x00000008u) { |
1160 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1161 | 0 | this->retformat().data(), static_cast<int>(this->retformat().length()), |
1162 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1163 | 0 | "gss.message.gss_src_req_t.RetFormat"); |
1164 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
1165 | 0 | 12, this->retformat(), output); |
1166 | 0 | } |
1167 | | |
1168 | | // optional string TagFilter = 13; |
1169 | 0 | if (cached_has_bits & 0x00000010u) { |
1170 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1171 | 0 | this->tagfilter().data(), static_cast<int>(this->tagfilter().length()), |
1172 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1173 | 0 | "gss.message.gss_src_req_t.TagFilter"); |
1174 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
1175 | 0 | 13, this->tagfilter(), output); |
1176 | 0 | } |
1177 | | |
1178 | | // optional int32 SpReqType = 14; |
1179 | 0 | if (cached_has_bits & 0x00001000u) { |
1180 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->spreqtype(), output); |
1181 | 0 | } |
1182 | | |
1183 | | // optional string UriKey = 15; |
1184 | 0 | if (cached_has_bits & 0x00000020u) { |
1185 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1186 | 0 | this->urikey().data(), static_cast<int>(this->urikey().length()), |
1187 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1188 | 0 | "gss.message.gss_src_req_t.UriKey"); |
1189 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
1190 | 0 | 15, this->urikey(), output); |
1191 | 0 | } |
1192 | | |
1193 | | // optional string EntityName = 16; |
1194 | 0 | if (cached_has_bits & 0x00000040u) { |
1195 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1196 | 0 | this->entityname().data(), static_cast<int>(this->entityname().length()), |
1197 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1198 | 0 | "gss.message.gss_src_req_t.EntityName"); |
1199 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
1200 | 0 | 16, this->entityname(), output); |
1201 | 0 | } |
1202 | |
|
1203 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
1204 | 0 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
1205 | 0 | _internal_metadata_.unknown_fields(), output); |
1206 | 0 | } |
1207 | | // @@protoc_insertion_point(serialize_end:gss.message.gss_src_req_t) |
1208 | 0 | } |
1209 | | |
1210 | | ::google::protobuf::uint8* gss_src_req_t::InternalSerializeWithCachedSizesToArray( |
1211 | 0 | bool deterministic, ::google::protobuf::uint8* target) const { |
1212 | 0 | (void)deterministic; // Unused |
1213 | | // @@protoc_insertion_point(serialize_to_array_start:gss.message.gss_src_req_t) |
1214 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
1215 | 0 | (void) cached_has_bits; |
1216 | | |
1217 | | // repeated string TransQuery = 1; |
1218 | 0 | for (int i = 0, n = this->transquery_size(); i < n; i++) { |
1219 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1220 | 0 | this->transquery(i).data(), static_cast<int>(this->transquery(i).length()), |
1221 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1222 | 0 | "gss.message.gss_src_req_t.TransQuery"); |
1223 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
1224 | 0 | WriteStringToArray(1, this->transquery(i), target); |
1225 | 0 | } |
1226 | | |
1227 | | // repeated int32 ExtType = 2; |
1228 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
1229 | 0 | WriteInt32ToArray(2, this->exttype_, target); |
1230 | |
|
1231 | 0 | cached_has_bits = _has_bits_[0]; |
1232 | | // optional int32 SrcID = 3; |
1233 | 0 | if (cached_has_bits & 0x00000080u) { |
1234 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->srcid(), target); |
1235 | 0 | } |
1236 | | |
1237 | | // optional int32 Pos = 5; |
1238 | 0 | if (cached_has_bits & 0x00000100u) { |
1239 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->pos(), target); |
1240 | 0 | } |
1241 | | |
1242 | | // optional int32 Place = 6; |
1243 | 0 | if (cached_has_bits & 0x00000200u) { |
1244 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->place(), target); |
1245 | 0 | } |
1246 | | |
1247 | | // optional int32 Degree = 7; |
1248 | 0 | if (cached_has_bits & 0x00000400u) { |
1249 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->degree(), target); |
1250 | 0 | } |
1251 | | |
1252 | | // optional string Key = 8; |
1253 | 0 | if (cached_has_bits & 0x00000001u) { |
1254 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1255 | 0 | this->key().data(), static_cast<int>(this->key().length()), |
1256 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1257 | 0 | "gss.message.gss_src_req_t.Key"); |
1258 | 0 | target = |
1259 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
1260 | 0 | 8, this->key(), target); |
1261 | 0 | } |
1262 | | |
1263 | | // optional string ReqKey = 9; |
1264 | 0 | if (cached_has_bits & 0x00000002u) { |
1265 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1266 | 0 | this->reqkey().data(), static_cast<int>(this->reqkey().length()), |
1267 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1268 | 0 | "gss.message.gss_src_req_t.ReqKey"); |
1269 | 0 | target = |
1270 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
1271 | 0 | 9, this->reqkey(), target); |
1272 | 0 | } |
1273 | | |
1274 | | // optional int32 QueryType = 10; |
1275 | 0 | if (cached_has_bits & 0x00000800u) { |
1276 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->querytype(), target); |
1277 | 0 | } |
1278 | | |
1279 | | // optional bytes HighLight = 11; |
1280 | 0 | if (cached_has_bits & 0x00000004u) { |
1281 | 0 | target = |
1282 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( |
1283 | 0 | 11, this->highlight(), target); |
1284 | 0 | } |
1285 | | |
1286 | | // optional string RetFormat = 12 [default = "html"]; |
1287 | 0 | if (cached_has_bits & 0x00000008u) { |
1288 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1289 | 0 | this->retformat().data(), static_cast<int>(this->retformat().length()), |
1290 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1291 | 0 | "gss.message.gss_src_req_t.RetFormat"); |
1292 | 0 | target = |
1293 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
1294 | 0 | 12, this->retformat(), target); |
1295 | 0 | } |
1296 | | |
1297 | | // optional string TagFilter = 13; |
1298 | 0 | if (cached_has_bits & 0x00000010u) { |
1299 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1300 | 0 | this->tagfilter().data(), static_cast<int>(this->tagfilter().length()), |
1301 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1302 | 0 | "gss.message.gss_src_req_t.TagFilter"); |
1303 | 0 | target = |
1304 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
1305 | 0 | 13, this->tagfilter(), target); |
1306 | 0 | } |
1307 | | |
1308 | | // optional int32 SpReqType = 14; |
1309 | 0 | if (cached_has_bits & 0x00001000u) { |
1310 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->spreqtype(), target); |
1311 | 0 | } |
1312 | | |
1313 | | // optional string UriKey = 15; |
1314 | 0 | if (cached_has_bits & 0x00000020u) { |
1315 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1316 | 0 | this->urikey().data(), static_cast<int>(this->urikey().length()), |
1317 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1318 | 0 | "gss.message.gss_src_req_t.UriKey"); |
1319 | 0 | target = |
1320 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
1321 | 0 | 15, this->urikey(), target); |
1322 | 0 | } |
1323 | | |
1324 | | // optional string EntityName = 16; |
1325 | 0 | if (cached_has_bits & 0x00000040u) { |
1326 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1327 | 0 | this->entityname().data(), static_cast<int>(this->entityname().length()), |
1328 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1329 | 0 | "gss.message.gss_src_req_t.EntityName"); |
1330 | 0 | target = |
1331 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
1332 | 0 | 16, this->entityname(), target); |
1333 | 0 | } |
1334 | |
|
1335 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
1336 | 0 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
1337 | 0 | _internal_metadata_.unknown_fields(), target); |
1338 | 0 | } |
1339 | | // @@protoc_insertion_point(serialize_to_array_end:gss.message.gss_src_req_t) |
1340 | 0 | return target; |
1341 | 0 | } |
1342 | | |
1343 | 0 | size_t gss_src_req_t::ByteSizeLong() const { |
1344 | | // @@protoc_insertion_point(message_byte_size_start:gss.message.gss_src_req_t) |
1345 | 0 | size_t total_size = 0; |
1346 | |
|
1347 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
1348 | 0 | total_size += |
1349 | 0 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
1350 | 0 | _internal_metadata_.unknown_fields()); |
1351 | 0 | } |
1352 | | // repeated string TransQuery = 1; |
1353 | 0 | total_size += 1 * |
1354 | 0 | ::google::protobuf::internal::FromIntSize(this->transquery_size()); |
1355 | 0 | for (int i = 0, n = this->transquery_size(); i < n; i++) { |
1356 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
1357 | 0 | this->transquery(i)); |
1358 | 0 | } |
1359 | | |
1360 | | // repeated int32 ExtType = 2; |
1361 | 0 | { |
1362 | 0 | size_t data_size = ::google::protobuf::internal::WireFormatLite:: |
1363 | 0 | Int32Size(this->exttype_); |
1364 | 0 | total_size += 1 * |
1365 | 0 | ::google::protobuf::internal::FromIntSize(this->exttype_size()); |
1366 | 0 | total_size += data_size; |
1367 | 0 | } |
1368 | |
|
1369 | 0 | if (_has_bits_[0 / 32] & 255u) { |
1370 | | // optional string Key = 8; |
1371 | 0 | if (has_key()) { |
1372 | 0 | total_size += 1 + |
1373 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
1374 | 0 | this->key()); |
1375 | 0 | } |
1376 | | |
1377 | | // optional string ReqKey = 9; |
1378 | 0 | if (has_reqkey()) { |
1379 | 0 | total_size += 1 + |
1380 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
1381 | 0 | this->reqkey()); |
1382 | 0 | } |
1383 | | |
1384 | | // optional bytes HighLight = 11; |
1385 | 0 | if (has_highlight()) { |
1386 | 0 | total_size += 1 + |
1387 | 0 | ::google::protobuf::internal::WireFormatLite::BytesSize( |
1388 | 0 | this->highlight()); |
1389 | 0 | } |
1390 | | |
1391 | | // optional string RetFormat = 12 [default = "html"]; |
1392 | 0 | if (has_retformat()) { |
1393 | 0 | total_size += 1 + |
1394 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
1395 | 0 | this->retformat()); |
1396 | 0 | } |
1397 | | |
1398 | | // optional string TagFilter = 13; |
1399 | 0 | if (has_tagfilter()) { |
1400 | 0 | total_size += 1 + |
1401 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
1402 | 0 | this->tagfilter()); |
1403 | 0 | } |
1404 | | |
1405 | | // optional string UriKey = 15; |
1406 | 0 | if (has_urikey()) { |
1407 | 0 | total_size += 1 + |
1408 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
1409 | 0 | this->urikey()); |
1410 | 0 | } |
1411 | | |
1412 | | // optional string EntityName = 16; |
1413 | 0 | if (has_entityname()) { |
1414 | 0 | total_size += 2 + |
1415 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
1416 | 0 | this->entityname()); |
1417 | 0 | } |
1418 | | |
1419 | | // optional int32 SrcID = 3; |
1420 | 0 | if (has_srcid()) { |
1421 | 0 | total_size += 1 + |
1422 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
1423 | 0 | this->srcid()); |
1424 | 0 | } |
1425 | |
|
1426 | 0 | } |
1427 | 0 | if (_has_bits_[8 / 32] & 7936u) { |
1428 | | // optional int32 Pos = 5; |
1429 | 0 | if (has_pos()) { |
1430 | 0 | total_size += 1 + |
1431 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
1432 | 0 | this->pos()); |
1433 | 0 | } |
1434 | | |
1435 | | // optional int32 Place = 6; |
1436 | 0 | if (has_place()) { |
1437 | 0 | total_size += 1 + |
1438 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
1439 | 0 | this->place()); |
1440 | 0 | } |
1441 | | |
1442 | | // optional int32 Degree = 7; |
1443 | 0 | if (has_degree()) { |
1444 | 0 | total_size += 1 + |
1445 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
1446 | 0 | this->degree()); |
1447 | 0 | } |
1448 | | |
1449 | | // optional int32 QueryType = 10; |
1450 | 0 | if (has_querytype()) { |
1451 | 0 | total_size += 1 + |
1452 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
1453 | 0 | this->querytype()); |
1454 | 0 | } |
1455 | | |
1456 | | // optional int32 SpReqType = 14; |
1457 | 0 | if (has_spreqtype()) { |
1458 | 0 | total_size += 1 + |
1459 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
1460 | 0 | this->spreqtype()); |
1461 | 0 | } |
1462 | |
|
1463 | 0 | } |
1464 | 0 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
1465 | 0 | SetCachedSize(cached_size); |
1466 | 0 | return total_size; |
1467 | 0 | } |
1468 | | |
1469 | 0 | void gss_src_req_t::MergeFrom(const ::google::protobuf::Message& from) { |
1470 | | // @@protoc_insertion_point(generalized_merge_from_start:gss.message.gss_src_req_t) |
1471 | 0 | GOOGLE_DCHECK_NE(&from, this); |
1472 | 0 | const gss_src_req_t* source = |
1473 | 0 | ::google::protobuf::internal::DynamicCastToGenerated<const gss_src_req_t>( |
1474 | 0 | &from); |
1475 | 0 | if (source == NULL) { |
1476 | | // @@protoc_insertion_point(generalized_merge_from_cast_fail:gss.message.gss_src_req_t) |
1477 | 0 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
1478 | 0 | } else { |
1479 | | // @@protoc_insertion_point(generalized_merge_from_cast_success:gss.message.gss_src_req_t) |
1480 | 0 | MergeFrom(*source); |
1481 | 0 | } |
1482 | 0 | } |
1483 | | |
1484 | 0 | void gss_src_req_t::MergeFrom(const gss_src_req_t& from) { |
1485 | | // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.gss_src_req_t) |
1486 | 0 | GOOGLE_DCHECK_NE(&from, this); |
1487 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1488 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
1489 | 0 | (void) cached_has_bits; |
1490 | |
|
1491 | 0 | transquery_.MergeFrom(from.transquery_); |
1492 | 0 | exttype_.MergeFrom(from.exttype_); |
1493 | 0 | cached_has_bits = from._has_bits_[0]; |
1494 | 0 | if (cached_has_bits & 255u) { |
1495 | 0 | if (cached_has_bits & 0x00000001u) { |
1496 | 0 | set_has_key(); |
1497 | 0 | key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.key_); |
1498 | 0 | } |
1499 | 0 | if (cached_has_bits & 0x00000002u) { |
1500 | 0 | set_has_reqkey(); |
1501 | 0 | reqkey_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.reqkey_); |
1502 | 0 | } |
1503 | 0 | if (cached_has_bits & 0x00000004u) { |
1504 | 0 | set_has_highlight(); |
1505 | 0 | highlight_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.highlight_); |
1506 | 0 | } |
1507 | 0 | if (cached_has_bits & 0x00000008u) { |
1508 | 0 | set_has_retformat(); |
1509 | 0 | retformat_.AssignWithDefault(&::gss::message::gss_src_req_t::_i_give_permission_to_break_this_code_default_retformat_.get(), from.retformat_); |
1510 | 0 | } |
1511 | 0 | if (cached_has_bits & 0x00000010u) { |
1512 | 0 | set_has_tagfilter(); |
1513 | 0 | tagfilter_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tagfilter_); |
1514 | 0 | } |
1515 | 0 | if (cached_has_bits & 0x00000020u) { |
1516 | 0 | set_has_urikey(); |
1517 | 0 | urikey_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.urikey_); |
1518 | 0 | } |
1519 | 0 | if (cached_has_bits & 0x00000040u) { |
1520 | 0 | set_has_entityname(); |
1521 | 0 | entityname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.entityname_); |
1522 | 0 | } |
1523 | 0 | if (cached_has_bits & 0x00000080u) { |
1524 | 0 | srcid_ = from.srcid_; |
1525 | 0 | } |
1526 | 0 | _has_bits_[0] |= cached_has_bits; |
1527 | 0 | } |
1528 | 0 | if (cached_has_bits & 7936u) { |
1529 | 0 | if (cached_has_bits & 0x00000100u) { |
1530 | 0 | pos_ = from.pos_; |
1531 | 0 | } |
1532 | 0 | if (cached_has_bits & 0x00000200u) { |
1533 | 0 | place_ = from.place_; |
1534 | 0 | } |
1535 | 0 | if (cached_has_bits & 0x00000400u) { |
1536 | 0 | degree_ = from.degree_; |
1537 | 0 | } |
1538 | 0 | if (cached_has_bits & 0x00000800u) { |
1539 | 0 | querytype_ = from.querytype_; |
1540 | 0 | } |
1541 | 0 | if (cached_has_bits & 0x00001000u) { |
1542 | 0 | spreqtype_ = from.spreqtype_; |
1543 | 0 | } |
1544 | 0 | _has_bits_[0] |= cached_has_bits; |
1545 | 0 | } |
1546 | 0 | } |
1547 | | |
1548 | 0 | void gss_src_req_t::CopyFrom(const ::google::protobuf::Message& from) { |
1549 | | // @@protoc_insertion_point(generalized_copy_from_start:gss.message.gss_src_req_t) |
1550 | 0 | if (&from == this) return; |
1551 | 0 | Clear(); |
1552 | 0 | MergeFrom(from); |
1553 | 0 | } |
1554 | | |
1555 | 0 | void gss_src_req_t::CopyFrom(const gss_src_req_t& from) { |
1556 | | // @@protoc_insertion_point(class_specific_copy_from_start:gss.message.gss_src_req_t) |
1557 | 0 | if (&from == this) return; |
1558 | 0 | Clear(); |
1559 | 0 | MergeFrom(from); |
1560 | 0 | } |
1561 | | |
1562 | 0 | bool gss_src_req_t::IsInitialized() const { |
1563 | 0 | return true; |
1564 | 0 | } |
1565 | | |
1566 | 0 | void gss_src_req_t::Swap(gss_src_req_t* other) { |
1567 | 0 | if (other == this) return; |
1568 | 0 | InternalSwap(other); |
1569 | 0 | } |
1570 | 0 | void gss_src_req_t::InternalSwap(gss_src_req_t* other) { |
1571 | 0 | using std::swap; |
1572 | 0 | transquery_.InternalSwap(CastToBase(&other->transquery_)); |
1573 | 0 | exttype_.InternalSwap(&other->exttype_); |
1574 | 0 | key_.Swap(&other->key_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1575 | 0 | GetArenaNoVirtual()); |
1576 | 0 | reqkey_.Swap(&other->reqkey_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1577 | 0 | GetArenaNoVirtual()); |
1578 | 0 | highlight_.Swap(&other->highlight_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1579 | 0 | GetArenaNoVirtual()); |
1580 | 0 | retformat_.Swap(&other->retformat_, &::gss::message::gss_src_req_t::_i_give_permission_to_break_this_code_default_retformat_.get(), |
1581 | 0 | GetArenaNoVirtual()); |
1582 | 0 | tagfilter_.Swap(&other->tagfilter_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1583 | 0 | GetArenaNoVirtual()); |
1584 | 0 | urikey_.Swap(&other->urikey_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1585 | 0 | GetArenaNoVirtual()); |
1586 | 0 | entityname_.Swap(&other->entityname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
1587 | 0 | GetArenaNoVirtual()); |
1588 | 0 | swap(srcid_, other->srcid_); |
1589 | 0 | swap(pos_, other->pos_); |
1590 | 0 | swap(place_, other->place_); |
1591 | 0 | swap(degree_, other->degree_); |
1592 | 0 | swap(querytype_, other->querytype_); |
1593 | 0 | swap(spreqtype_, other->spreqtype_); |
1594 | 0 | swap(_has_bits_[0], other->_has_bits_[0]); |
1595 | 0 | _internal_metadata_.Swap(&other->_internal_metadata_); |
1596 | 0 | } |
1597 | | |
1598 | 0 | ::google::protobuf::Metadata gss_src_req_t::GetMetadata() const { |
1599 | 0 | protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
1600 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; |
1601 | 0 | } |
1602 | | |
1603 | | |
1604 | | // =================================================================== |
1605 | | |
1606 | 2 | void ua_info_t::InitAsDefaultInstance() { |
1607 | 2 | } |
1608 | | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
1609 | | const int ua_info_t::kUaOsFieldNumber; |
1610 | | const int ua_info_t::kUaBrowserFieldNumber; |
1611 | | const int ua_info_t::kUaModalFieldNumber; |
1612 | | const int ua_info_t::kUaMeasureFieldNumber; |
1613 | | const int ua_info_t::kUaResXFieldNumber; |
1614 | | const int ua_info_t::kUaResYFieldNumber; |
1615 | | const int ua_info_t::kUaExtFieldNumber; |
1616 | | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
1617 | | |
1618 | | ua_info_t::ua_info_t() |
1619 | 2 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
1620 | 2 | ::google::protobuf::internal::InitSCC( |
1621 | 2 | &protobuf_message_2eproto::scc_info_ua_info_t.base); |
1622 | 2 | SharedCtor(); |
1623 | | // @@protoc_insertion_point(constructor:gss.message.ua_info_t) |
1624 | 2 | } |
1625 | | ua_info_t::ua_info_t(const ua_info_t& from) |
1626 | 0 | : ::google::protobuf::Message(), |
1627 | 0 | _internal_metadata_(NULL), |
1628 | 0 | _has_bits_(from._has_bits_) { |
1629 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
1630 | 0 | ua_os_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1631 | 0 | if (from.has_ua_os()) { |
1632 | 0 | ua_os_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ua_os_); |
1633 | 0 | } |
1634 | 0 | ua_browser_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1635 | 0 | if (from.has_ua_browser()) { |
1636 | 0 | ua_browser_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ua_browser_); |
1637 | 0 | } |
1638 | 0 | ua_modal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1639 | 0 | if (from.has_ua_modal()) { |
1640 | 0 | ua_modal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ua_modal_); |
1641 | 0 | } |
1642 | 0 | ua_measure_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1643 | 0 | if (from.has_ua_measure()) { |
1644 | 0 | ua_measure_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ua_measure_); |
1645 | 0 | } |
1646 | 0 | ua_ext_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1647 | 0 | if (from.has_ua_ext()) { |
1648 | 0 | ua_ext_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ua_ext_); |
1649 | 0 | } |
1650 | 0 | ::memcpy(&ua_res_x_, &from.ua_res_x_, |
1651 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&ua_res_y_) - |
1652 | 0 | reinterpret_cast<char*>(&ua_res_x_)) + sizeof(ua_res_y_)); |
1653 | | // @@protoc_insertion_point(copy_constructor:gss.message.ua_info_t) |
1654 | 0 | } |
1655 | | |
1656 | 2 | void ua_info_t::SharedCtor() { |
1657 | 2 | ua_os_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1658 | 2 | ua_browser_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1659 | 2 | ua_modal_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1660 | 2 | ua_measure_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1661 | 2 | ua_ext_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1662 | 2 | ::memset(&ua_res_x_, 0, static_cast<size_t>( |
1663 | 2 | reinterpret_cast<char*>(&ua_res_y_) - |
1664 | 2 | reinterpret_cast<char*>(&ua_res_x_)) + sizeof(ua_res_y_)); |
1665 | 2 | } |
1666 | | |
1667 | 0 | ua_info_t::~ua_info_t() { |
1668 | | // @@protoc_insertion_point(destructor:gss.message.ua_info_t) |
1669 | 0 | SharedDtor(); |
1670 | 0 | } |
1671 | | |
1672 | 0 | void ua_info_t::SharedDtor() { |
1673 | 0 | ua_os_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1674 | 0 | ua_browser_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1675 | 0 | ua_modal_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1676 | 0 | ua_measure_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1677 | 0 | ua_ext_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
1678 | 0 | } |
1679 | | |
1680 | 0 | void ua_info_t::SetCachedSize(int size) const { |
1681 | 0 | _cached_size_.Set(size); |
1682 | 0 | } |
1683 | 0 | const ::google::protobuf::Descriptor* ua_info_t::descriptor() { |
1684 | 0 | ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
1685 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
1686 | 0 | } |
1687 | | |
1688 | 0 | const ua_info_t& ua_info_t::default_instance() { |
1689 | 0 | ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_ua_info_t.base); |
1690 | 0 | return *internal_default_instance(); |
1691 | 0 | } |
1692 | | |
1693 | | |
1694 | 0 | void ua_info_t::Clear() { |
1695 | | // @@protoc_insertion_point(message_clear_start:gss.message.ua_info_t) |
1696 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
1697 | | // Prevent compiler warnings about cached_has_bits being unused |
1698 | 0 | (void) cached_has_bits; |
1699 | |
|
1700 | 0 | cached_has_bits = _has_bits_[0]; |
1701 | 0 | if (cached_has_bits & 31u) { |
1702 | 0 | if (cached_has_bits & 0x00000001u) { |
1703 | 0 | ua_os_.ClearNonDefaultToEmptyNoArena(); |
1704 | 0 | } |
1705 | 0 | if (cached_has_bits & 0x00000002u) { |
1706 | 0 | ua_browser_.ClearNonDefaultToEmptyNoArena(); |
1707 | 0 | } |
1708 | 0 | if (cached_has_bits & 0x00000004u) { |
1709 | 0 | ua_modal_.ClearNonDefaultToEmptyNoArena(); |
1710 | 0 | } |
1711 | 0 | if (cached_has_bits & 0x00000008u) { |
1712 | 0 | ua_measure_.ClearNonDefaultToEmptyNoArena(); |
1713 | 0 | } |
1714 | 0 | if (cached_has_bits & 0x00000010u) { |
1715 | 0 | ua_ext_.ClearNonDefaultToEmptyNoArena(); |
1716 | 0 | } |
1717 | 0 | } |
1718 | 0 | if (cached_has_bits & 96u) { |
1719 | 0 | ::memset(&ua_res_x_, 0, static_cast<size_t>( |
1720 | 0 | reinterpret_cast<char*>(&ua_res_y_) - |
1721 | 0 | reinterpret_cast<char*>(&ua_res_x_)) + sizeof(ua_res_y_)); |
1722 | 0 | } |
1723 | 0 | _has_bits_.Clear(); |
1724 | 0 | _internal_metadata_.Clear(); |
1725 | 0 | } |
1726 | | |
1727 | | bool ua_info_t::MergePartialFromCodedStream( |
1728 | 0 | ::google::protobuf::io::CodedInputStream* input) { |
1729 | 0 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
1730 | 0 | ::google::protobuf::uint32 tag; |
1731 | | // @@protoc_insertion_point(parse_start:gss.message.ua_info_t) |
1732 | 0 | for (;;) { |
1733 | 0 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
1734 | 0 | tag = p.first; |
1735 | 0 | if (!p.second) goto handle_unusual; |
1736 | 0 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
1737 | | // optional string ua_os = 1; |
1738 | 0 | case 1: { |
1739 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1740 | 0 | static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
1741 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
1742 | 0 | input, this->mutable_ua_os())); |
1743 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1744 | 0 | this->ua_os().data(), static_cast<int>(this->ua_os().length()), |
1745 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
1746 | 0 | "gss.message.ua_info_t.ua_os"); |
1747 | 0 | } else { |
1748 | 0 | goto handle_unusual; |
1749 | 0 | } |
1750 | 0 | break; |
1751 | 0 | } |
1752 | | |
1753 | | // optional string ua_browser = 2; |
1754 | 0 | case 2: { |
1755 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1756 | 0 | static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
1757 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
1758 | 0 | input, this->mutable_ua_browser())); |
1759 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1760 | 0 | this->ua_browser().data(), static_cast<int>(this->ua_browser().length()), |
1761 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
1762 | 0 | "gss.message.ua_info_t.ua_browser"); |
1763 | 0 | } else { |
1764 | 0 | goto handle_unusual; |
1765 | 0 | } |
1766 | 0 | break; |
1767 | 0 | } |
1768 | | |
1769 | | // optional string ua_modal = 3; |
1770 | 0 | case 3: { |
1771 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1772 | 0 | static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
1773 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
1774 | 0 | input, this->mutable_ua_modal())); |
1775 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1776 | 0 | this->ua_modal().data(), static_cast<int>(this->ua_modal().length()), |
1777 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
1778 | 0 | "gss.message.ua_info_t.ua_modal"); |
1779 | 0 | } else { |
1780 | 0 | goto handle_unusual; |
1781 | 0 | } |
1782 | 0 | break; |
1783 | 0 | } |
1784 | | |
1785 | | // optional string ua_measure = 4; |
1786 | 0 | case 4: { |
1787 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1788 | 0 | static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { |
1789 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
1790 | 0 | input, this->mutable_ua_measure())); |
1791 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1792 | 0 | this->ua_measure().data(), static_cast<int>(this->ua_measure().length()), |
1793 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
1794 | 0 | "gss.message.ua_info_t.ua_measure"); |
1795 | 0 | } else { |
1796 | 0 | goto handle_unusual; |
1797 | 0 | } |
1798 | 0 | break; |
1799 | 0 | } |
1800 | | |
1801 | | // optional int32 ua_res_x = 5; |
1802 | 0 | case 5: { |
1803 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1804 | 0 | static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { |
1805 | 0 | set_has_ua_res_x(); |
1806 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
1807 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
1808 | 0 | input, &ua_res_x_))); |
1809 | 0 | } else { |
1810 | 0 | goto handle_unusual; |
1811 | 0 | } |
1812 | 0 | break; |
1813 | 0 | } |
1814 | | |
1815 | | // optional int32 ua_res_y = 6; |
1816 | 0 | case 6: { |
1817 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1818 | 0 | static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { |
1819 | 0 | set_has_ua_res_y(); |
1820 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
1821 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
1822 | 0 | input, &ua_res_y_))); |
1823 | 0 | } else { |
1824 | 0 | goto handle_unusual; |
1825 | 0 | } |
1826 | 0 | break; |
1827 | 0 | } |
1828 | | |
1829 | | // optional bytes ua_ext = 7; |
1830 | 0 | case 7: { |
1831 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
1832 | 0 | static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) { |
1833 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( |
1834 | 0 | input, this->mutable_ua_ext())); |
1835 | 0 | } else { |
1836 | 0 | goto handle_unusual; |
1837 | 0 | } |
1838 | 0 | break; |
1839 | 0 | } |
1840 | | |
1841 | 0 | default: { |
1842 | 0 | handle_unusual: |
1843 | 0 | if (tag == 0) { |
1844 | 0 | goto success; |
1845 | 0 | } |
1846 | 0 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
1847 | 0 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
1848 | 0 | break; |
1849 | 0 | } |
1850 | 0 | } |
1851 | 0 | } |
1852 | 0 | success: |
1853 | | // @@protoc_insertion_point(parse_success:gss.message.ua_info_t) |
1854 | 0 | return true; |
1855 | 0 | failure: |
1856 | | // @@protoc_insertion_point(parse_failure:gss.message.ua_info_t) |
1857 | 0 | return false; |
1858 | 0 | #undef DO_ |
1859 | 0 | } |
1860 | | |
1861 | | void ua_info_t::SerializeWithCachedSizes( |
1862 | 0 | ::google::protobuf::io::CodedOutputStream* output) const { |
1863 | | // @@protoc_insertion_point(serialize_start:gss.message.ua_info_t) |
1864 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
1865 | 0 | (void) cached_has_bits; |
1866 | |
|
1867 | 0 | cached_has_bits = _has_bits_[0]; |
1868 | | // optional string ua_os = 1; |
1869 | 0 | if (cached_has_bits & 0x00000001u) { |
1870 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1871 | 0 | this->ua_os().data(), static_cast<int>(this->ua_os().length()), |
1872 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1873 | 0 | "gss.message.ua_info_t.ua_os"); |
1874 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
1875 | 0 | 1, this->ua_os(), output); |
1876 | 0 | } |
1877 | | |
1878 | | // optional string ua_browser = 2; |
1879 | 0 | if (cached_has_bits & 0x00000002u) { |
1880 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1881 | 0 | this->ua_browser().data(), static_cast<int>(this->ua_browser().length()), |
1882 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1883 | 0 | "gss.message.ua_info_t.ua_browser"); |
1884 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
1885 | 0 | 2, this->ua_browser(), output); |
1886 | 0 | } |
1887 | | |
1888 | | // optional string ua_modal = 3; |
1889 | 0 | if (cached_has_bits & 0x00000004u) { |
1890 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1891 | 0 | this->ua_modal().data(), static_cast<int>(this->ua_modal().length()), |
1892 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1893 | 0 | "gss.message.ua_info_t.ua_modal"); |
1894 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
1895 | 0 | 3, this->ua_modal(), output); |
1896 | 0 | } |
1897 | | |
1898 | | // optional string ua_measure = 4; |
1899 | 0 | if (cached_has_bits & 0x00000008u) { |
1900 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1901 | 0 | this->ua_measure().data(), static_cast<int>(this->ua_measure().length()), |
1902 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1903 | 0 | "gss.message.ua_info_t.ua_measure"); |
1904 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
1905 | 0 | 4, this->ua_measure(), output); |
1906 | 0 | } |
1907 | | |
1908 | | // optional int32 ua_res_x = 5; |
1909 | 0 | if (cached_has_bits & 0x00000020u) { |
1910 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->ua_res_x(), output); |
1911 | 0 | } |
1912 | | |
1913 | | // optional int32 ua_res_y = 6; |
1914 | 0 | if (cached_has_bits & 0x00000040u) { |
1915 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->ua_res_y(), output); |
1916 | 0 | } |
1917 | | |
1918 | | // optional bytes ua_ext = 7; |
1919 | 0 | if (cached_has_bits & 0x00000010u) { |
1920 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( |
1921 | 0 | 7, this->ua_ext(), output); |
1922 | 0 | } |
1923 | |
|
1924 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
1925 | 0 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
1926 | 0 | _internal_metadata_.unknown_fields(), output); |
1927 | 0 | } |
1928 | | // @@protoc_insertion_point(serialize_end:gss.message.ua_info_t) |
1929 | 0 | } |
1930 | | |
1931 | | ::google::protobuf::uint8* ua_info_t::InternalSerializeWithCachedSizesToArray( |
1932 | 0 | bool deterministic, ::google::protobuf::uint8* target) const { |
1933 | 0 | (void)deterministic; // Unused |
1934 | | // @@protoc_insertion_point(serialize_to_array_start:gss.message.ua_info_t) |
1935 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
1936 | 0 | (void) cached_has_bits; |
1937 | |
|
1938 | 0 | cached_has_bits = _has_bits_[0]; |
1939 | | // optional string ua_os = 1; |
1940 | 0 | if (cached_has_bits & 0x00000001u) { |
1941 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1942 | 0 | this->ua_os().data(), static_cast<int>(this->ua_os().length()), |
1943 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1944 | 0 | "gss.message.ua_info_t.ua_os"); |
1945 | 0 | target = |
1946 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
1947 | 0 | 1, this->ua_os(), target); |
1948 | 0 | } |
1949 | | |
1950 | | // optional string ua_browser = 2; |
1951 | 0 | if (cached_has_bits & 0x00000002u) { |
1952 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1953 | 0 | this->ua_browser().data(), static_cast<int>(this->ua_browser().length()), |
1954 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1955 | 0 | "gss.message.ua_info_t.ua_browser"); |
1956 | 0 | target = |
1957 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
1958 | 0 | 2, this->ua_browser(), target); |
1959 | 0 | } |
1960 | | |
1961 | | // optional string ua_modal = 3; |
1962 | 0 | if (cached_has_bits & 0x00000004u) { |
1963 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1964 | 0 | this->ua_modal().data(), static_cast<int>(this->ua_modal().length()), |
1965 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1966 | 0 | "gss.message.ua_info_t.ua_modal"); |
1967 | 0 | target = |
1968 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
1969 | 0 | 3, this->ua_modal(), target); |
1970 | 0 | } |
1971 | | |
1972 | | // optional string ua_measure = 4; |
1973 | 0 | if (cached_has_bits & 0x00000008u) { |
1974 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
1975 | 0 | this->ua_measure().data(), static_cast<int>(this->ua_measure().length()), |
1976 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
1977 | 0 | "gss.message.ua_info_t.ua_measure"); |
1978 | 0 | target = |
1979 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
1980 | 0 | 4, this->ua_measure(), target); |
1981 | 0 | } |
1982 | | |
1983 | | // optional int32 ua_res_x = 5; |
1984 | 0 | if (cached_has_bits & 0x00000020u) { |
1985 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->ua_res_x(), target); |
1986 | 0 | } |
1987 | | |
1988 | | // optional int32 ua_res_y = 6; |
1989 | 0 | if (cached_has_bits & 0x00000040u) { |
1990 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->ua_res_y(), target); |
1991 | 0 | } |
1992 | | |
1993 | | // optional bytes ua_ext = 7; |
1994 | 0 | if (cached_has_bits & 0x00000010u) { |
1995 | 0 | target = |
1996 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( |
1997 | 0 | 7, this->ua_ext(), target); |
1998 | 0 | } |
1999 | |
|
2000 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
2001 | 0 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
2002 | 0 | _internal_metadata_.unknown_fields(), target); |
2003 | 0 | } |
2004 | | // @@protoc_insertion_point(serialize_to_array_end:gss.message.ua_info_t) |
2005 | 0 | return target; |
2006 | 0 | } |
2007 | | |
2008 | 0 | size_t ua_info_t::ByteSizeLong() const { |
2009 | | // @@protoc_insertion_point(message_byte_size_start:gss.message.ua_info_t) |
2010 | 0 | size_t total_size = 0; |
2011 | |
|
2012 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
2013 | 0 | total_size += |
2014 | 0 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
2015 | 0 | _internal_metadata_.unknown_fields()); |
2016 | 0 | } |
2017 | 0 | if (_has_bits_[0 / 32] & 127u) { |
2018 | | // optional string ua_os = 1; |
2019 | 0 | if (has_ua_os()) { |
2020 | 0 | total_size += 1 + |
2021 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2022 | 0 | this->ua_os()); |
2023 | 0 | } |
2024 | | |
2025 | | // optional string ua_browser = 2; |
2026 | 0 | if (has_ua_browser()) { |
2027 | 0 | total_size += 1 + |
2028 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2029 | 0 | this->ua_browser()); |
2030 | 0 | } |
2031 | | |
2032 | | // optional string ua_modal = 3; |
2033 | 0 | if (has_ua_modal()) { |
2034 | 0 | total_size += 1 + |
2035 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2036 | 0 | this->ua_modal()); |
2037 | 0 | } |
2038 | | |
2039 | | // optional string ua_measure = 4; |
2040 | 0 | if (has_ua_measure()) { |
2041 | 0 | total_size += 1 + |
2042 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2043 | 0 | this->ua_measure()); |
2044 | 0 | } |
2045 | | |
2046 | | // optional bytes ua_ext = 7; |
2047 | 0 | if (has_ua_ext()) { |
2048 | 0 | total_size += 1 + |
2049 | 0 | ::google::protobuf::internal::WireFormatLite::BytesSize( |
2050 | 0 | this->ua_ext()); |
2051 | 0 | } |
2052 | | |
2053 | | // optional int32 ua_res_x = 5; |
2054 | 0 | if (has_ua_res_x()) { |
2055 | 0 | total_size += 1 + |
2056 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
2057 | 0 | this->ua_res_x()); |
2058 | 0 | } |
2059 | | |
2060 | | // optional int32 ua_res_y = 6; |
2061 | 0 | if (has_ua_res_y()) { |
2062 | 0 | total_size += 1 + |
2063 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
2064 | 0 | this->ua_res_y()); |
2065 | 0 | } |
2066 | |
|
2067 | 0 | } |
2068 | 0 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
2069 | 0 | SetCachedSize(cached_size); |
2070 | 0 | return total_size; |
2071 | 0 | } |
2072 | | |
2073 | 0 | void ua_info_t::MergeFrom(const ::google::protobuf::Message& from) { |
2074 | | // @@protoc_insertion_point(generalized_merge_from_start:gss.message.ua_info_t) |
2075 | 0 | GOOGLE_DCHECK_NE(&from, this); |
2076 | 0 | const ua_info_t* source = |
2077 | 0 | ::google::protobuf::internal::DynamicCastToGenerated<const ua_info_t>( |
2078 | 0 | &from); |
2079 | 0 | if (source == NULL) { |
2080 | | // @@protoc_insertion_point(generalized_merge_from_cast_fail:gss.message.ua_info_t) |
2081 | 0 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
2082 | 0 | } else { |
2083 | | // @@protoc_insertion_point(generalized_merge_from_cast_success:gss.message.ua_info_t) |
2084 | 0 | MergeFrom(*source); |
2085 | 0 | } |
2086 | 0 | } |
2087 | | |
2088 | 0 | void ua_info_t::MergeFrom(const ua_info_t& from) { |
2089 | | // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.ua_info_t) |
2090 | 0 | GOOGLE_DCHECK_NE(&from, this); |
2091 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2092 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
2093 | 0 | (void) cached_has_bits; |
2094 | |
|
2095 | 0 | cached_has_bits = from._has_bits_[0]; |
2096 | 0 | if (cached_has_bits & 127u) { |
2097 | 0 | if (cached_has_bits & 0x00000001u) { |
2098 | 0 | set_has_ua_os(); |
2099 | 0 | ua_os_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ua_os_); |
2100 | 0 | } |
2101 | 0 | if (cached_has_bits & 0x00000002u) { |
2102 | 0 | set_has_ua_browser(); |
2103 | 0 | ua_browser_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ua_browser_); |
2104 | 0 | } |
2105 | 0 | if (cached_has_bits & 0x00000004u) { |
2106 | 0 | set_has_ua_modal(); |
2107 | 0 | ua_modal_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ua_modal_); |
2108 | 0 | } |
2109 | 0 | if (cached_has_bits & 0x00000008u) { |
2110 | 0 | set_has_ua_measure(); |
2111 | 0 | ua_measure_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ua_measure_); |
2112 | 0 | } |
2113 | 0 | if (cached_has_bits & 0x00000010u) { |
2114 | 0 | set_has_ua_ext(); |
2115 | 0 | ua_ext_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ua_ext_); |
2116 | 0 | } |
2117 | 0 | if (cached_has_bits & 0x00000020u) { |
2118 | 0 | ua_res_x_ = from.ua_res_x_; |
2119 | 0 | } |
2120 | 0 | if (cached_has_bits & 0x00000040u) { |
2121 | 0 | ua_res_y_ = from.ua_res_y_; |
2122 | 0 | } |
2123 | 0 | _has_bits_[0] |= cached_has_bits; |
2124 | 0 | } |
2125 | 0 | } |
2126 | | |
2127 | 0 | void ua_info_t::CopyFrom(const ::google::protobuf::Message& from) { |
2128 | | // @@protoc_insertion_point(generalized_copy_from_start:gss.message.ua_info_t) |
2129 | 0 | if (&from == this) return; |
2130 | 0 | Clear(); |
2131 | 0 | MergeFrom(from); |
2132 | 0 | } |
2133 | | |
2134 | 0 | void ua_info_t::CopyFrom(const ua_info_t& from) { |
2135 | | // @@protoc_insertion_point(class_specific_copy_from_start:gss.message.ua_info_t) |
2136 | 0 | if (&from == this) return; |
2137 | 0 | Clear(); |
2138 | 0 | MergeFrom(from); |
2139 | 0 | } |
2140 | | |
2141 | 0 | bool ua_info_t::IsInitialized() const { |
2142 | 0 | return true; |
2143 | 0 | } |
2144 | | |
2145 | 0 | void ua_info_t::Swap(ua_info_t* other) { |
2146 | 0 | if (other == this) return; |
2147 | 0 | InternalSwap(other); |
2148 | 0 | } |
2149 | 0 | void ua_info_t::InternalSwap(ua_info_t* other) { |
2150 | 0 | using std::swap; |
2151 | 0 | ua_os_.Swap(&other->ua_os_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2152 | 0 | GetArenaNoVirtual()); |
2153 | 0 | ua_browser_.Swap(&other->ua_browser_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2154 | 0 | GetArenaNoVirtual()); |
2155 | 0 | ua_modal_.Swap(&other->ua_modal_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2156 | 0 | GetArenaNoVirtual()); |
2157 | 0 | ua_measure_.Swap(&other->ua_measure_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2158 | 0 | GetArenaNoVirtual()); |
2159 | 0 | ua_ext_.Swap(&other->ua_ext_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2160 | 0 | GetArenaNoVirtual()); |
2161 | 0 | swap(ua_res_x_, other->ua_res_x_); |
2162 | 0 | swap(ua_res_y_, other->ua_res_y_); |
2163 | 0 | swap(_has_bits_[0], other->_has_bits_[0]); |
2164 | 0 | _internal_metadata_.Swap(&other->_internal_metadata_); |
2165 | 0 | } |
2166 | | |
2167 | 0 | ::google::protobuf::Metadata ua_info_t::GetMetadata() const { |
2168 | 0 | protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
2169 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; |
2170 | 0 | } |
2171 | | |
2172 | | |
2173 | | // =================================================================== |
2174 | | |
2175 | 2 | void app_info_t::InitAsDefaultInstance() { |
2176 | 2 | } |
2177 | | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
2178 | | const int app_info_t::kPackageFieldNumber; |
2179 | | const int app_info_t::kVersionFieldNumber; |
2180 | | const int app_info_t::kSignmd5FieldNumber; |
2181 | | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
2182 | | |
2183 | | app_info_t::app_info_t() |
2184 | 2 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
2185 | 2 | ::google::protobuf::internal::InitSCC( |
2186 | 2 | &protobuf_message_2eproto::scc_info_app_info_t.base); |
2187 | 2 | SharedCtor(); |
2188 | | // @@protoc_insertion_point(constructor:gss.message.app_info_t) |
2189 | 2 | } |
2190 | | app_info_t::app_info_t(const app_info_t& from) |
2191 | 0 | : ::google::protobuf::Message(), |
2192 | 0 | _internal_metadata_(NULL), |
2193 | 0 | _has_bits_(from._has_bits_) { |
2194 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2195 | 0 | package_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2196 | 0 | if (from.has_package()) { |
2197 | 0 | package_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.package_); |
2198 | 0 | } |
2199 | 0 | ::memcpy(&version_, &from.version_, |
2200 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&signmd5_) - |
2201 | 0 | reinterpret_cast<char*>(&version_)) + sizeof(signmd5_)); |
2202 | | // @@protoc_insertion_point(copy_constructor:gss.message.app_info_t) |
2203 | 0 | } |
2204 | | |
2205 | 2 | void app_info_t::SharedCtor() { |
2206 | 2 | package_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2207 | 2 | ::memset(&version_, 0, static_cast<size_t>( |
2208 | 2 | reinterpret_cast<char*>(&signmd5_) - |
2209 | 2 | reinterpret_cast<char*>(&version_)) + sizeof(signmd5_)); |
2210 | 2 | } |
2211 | | |
2212 | 0 | app_info_t::~app_info_t() { |
2213 | | // @@protoc_insertion_point(destructor:gss.message.app_info_t) |
2214 | 0 | SharedDtor(); |
2215 | 0 | } |
2216 | | |
2217 | 0 | void app_info_t::SharedDtor() { |
2218 | 0 | package_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2219 | 0 | } |
2220 | | |
2221 | 0 | void app_info_t::SetCachedSize(int size) const { |
2222 | 0 | _cached_size_.Set(size); |
2223 | 0 | } |
2224 | 0 | const ::google::protobuf::Descriptor* app_info_t::descriptor() { |
2225 | 0 | ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
2226 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
2227 | 0 | } |
2228 | | |
2229 | 0 | const app_info_t& app_info_t::default_instance() { |
2230 | 0 | ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_app_info_t.base); |
2231 | 0 | return *internal_default_instance(); |
2232 | 0 | } |
2233 | | |
2234 | | |
2235 | 0 | void app_info_t::Clear() { |
2236 | | // @@protoc_insertion_point(message_clear_start:gss.message.app_info_t) |
2237 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
2238 | | // Prevent compiler warnings about cached_has_bits being unused |
2239 | 0 | (void) cached_has_bits; |
2240 | |
|
2241 | 0 | cached_has_bits = _has_bits_[0]; |
2242 | 0 | if (cached_has_bits & 0x00000001u) { |
2243 | 0 | package_.ClearNonDefaultToEmptyNoArena(); |
2244 | 0 | } |
2245 | 0 | if (cached_has_bits & 6u) { |
2246 | 0 | ::memset(&version_, 0, static_cast<size_t>( |
2247 | 0 | reinterpret_cast<char*>(&signmd5_) - |
2248 | 0 | reinterpret_cast<char*>(&version_)) + sizeof(signmd5_)); |
2249 | 0 | } |
2250 | 0 | _has_bits_.Clear(); |
2251 | 0 | _internal_metadata_.Clear(); |
2252 | 0 | } |
2253 | | |
2254 | | bool app_info_t::MergePartialFromCodedStream( |
2255 | 0 | ::google::protobuf::io::CodedInputStream* input) { |
2256 | 0 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
2257 | 0 | ::google::protobuf::uint32 tag; |
2258 | | // @@protoc_insertion_point(parse_start:gss.message.app_info_t) |
2259 | 0 | for (;;) { |
2260 | 0 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
2261 | 0 | tag = p.first; |
2262 | 0 | if (!p.second) goto handle_unusual; |
2263 | 0 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
2264 | | // required string package = 1; |
2265 | 0 | case 1: { |
2266 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2267 | 0 | static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
2268 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
2269 | 0 | input, this->mutable_package())); |
2270 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2271 | 0 | this->package().data(), static_cast<int>(this->package().length()), |
2272 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
2273 | 0 | "gss.message.app_info_t.package"); |
2274 | 0 | } else { |
2275 | 0 | goto handle_unusual; |
2276 | 0 | } |
2277 | 0 | break; |
2278 | 0 | } |
2279 | | |
2280 | | // required int32 version = 2; |
2281 | 0 | case 2: { |
2282 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2283 | 0 | static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
2284 | 0 | set_has_version(); |
2285 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2286 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
2287 | 0 | input, &version_))); |
2288 | 0 | } else { |
2289 | 0 | goto handle_unusual; |
2290 | 0 | } |
2291 | 0 | break; |
2292 | 0 | } |
2293 | | |
2294 | | // required uint32 signmd5 = 3; |
2295 | 0 | case 3: { |
2296 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2297 | 0 | static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
2298 | 0 | set_has_signmd5(); |
2299 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2300 | 0 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( |
2301 | 0 | input, &signmd5_))); |
2302 | 0 | } else { |
2303 | 0 | goto handle_unusual; |
2304 | 0 | } |
2305 | 0 | break; |
2306 | 0 | } |
2307 | | |
2308 | 0 | default: { |
2309 | 0 | handle_unusual: |
2310 | 0 | if (tag == 0) { |
2311 | 0 | goto success; |
2312 | 0 | } |
2313 | 0 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
2314 | 0 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
2315 | 0 | break; |
2316 | 0 | } |
2317 | 0 | } |
2318 | 0 | } |
2319 | 0 | success: |
2320 | | // @@protoc_insertion_point(parse_success:gss.message.app_info_t) |
2321 | 0 | return true; |
2322 | 0 | failure: |
2323 | | // @@protoc_insertion_point(parse_failure:gss.message.app_info_t) |
2324 | 0 | return false; |
2325 | 0 | #undef DO_ |
2326 | 0 | } |
2327 | | |
2328 | | void app_info_t::SerializeWithCachedSizes( |
2329 | 0 | ::google::protobuf::io::CodedOutputStream* output) const { |
2330 | | // @@protoc_insertion_point(serialize_start:gss.message.app_info_t) |
2331 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
2332 | 0 | (void) cached_has_bits; |
2333 | |
|
2334 | 0 | cached_has_bits = _has_bits_[0]; |
2335 | | // required string package = 1; |
2336 | 0 | if (cached_has_bits & 0x00000001u) { |
2337 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2338 | 0 | this->package().data(), static_cast<int>(this->package().length()), |
2339 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2340 | 0 | "gss.message.app_info_t.package"); |
2341 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
2342 | 0 | 1, this->package(), output); |
2343 | 0 | } |
2344 | | |
2345 | | // required int32 version = 2; |
2346 | 0 | if (cached_has_bits & 0x00000002u) { |
2347 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->version(), output); |
2348 | 0 | } |
2349 | | |
2350 | | // required uint32 signmd5 = 3; |
2351 | 0 | if (cached_has_bits & 0x00000004u) { |
2352 | 0 | ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->signmd5(), output); |
2353 | 0 | } |
2354 | |
|
2355 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
2356 | 0 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
2357 | 0 | _internal_metadata_.unknown_fields(), output); |
2358 | 0 | } |
2359 | | // @@protoc_insertion_point(serialize_end:gss.message.app_info_t) |
2360 | 0 | } |
2361 | | |
2362 | | ::google::protobuf::uint8* app_info_t::InternalSerializeWithCachedSizesToArray( |
2363 | 0 | bool deterministic, ::google::protobuf::uint8* target) const { |
2364 | 0 | (void)deterministic; // Unused |
2365 | | // @@protoc_insertion_point(serialize_to_array_start:gss.message.app_info_t) |
2366 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
2367 | 0 | (void) cached_has_bits; |
2368 | |
|
2369 | 0 | cached_has_bits = _has_bits_[0]; |
2370 | | // required string package = 1; |
2371 | 0 | if (cached_has_bits & 0x00000001u) { |
2372 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2373 | 0 | this->package().data(), static_cast<int>(this->package().length()), |
2374 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
2375 | 0 | "gss.message.app_info_t.package"); |
2376 | 0 | target = |
2377 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
2378 | 0 | 1, this->package(), target); |
2379 | 0 | } |
2380 | | |
2381 | | // required int32 version = 2; |
2382 | 0 | if (cached_has_bits & 0x00000002u) { |
2383 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->version(), target); |
2384 | 0 | } |
2385 | | |
2386 | | // required uint32 signmd5 = 3; |
2387 | 0 | if (cached_has_bits & 0x00000004u) { |
2388 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->signmd5(), target); |
2389 | 0 | } |
2390 | |
|
2391 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
2392 | 0 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
2393 | 0 | _internal_metadata_.unknown_fields(), target); |
2394 | 0 | } |
2395 | | // @@protoc_insertion_point(serialize_to_array_end:gss.message.app_info_t) |
2396 | 0 | return target; |
2397 | 0 | } |
2398 | | |
2399 | 0 | size_t app_info_t::RequiredFieldsByteSizeFallback() const { |
2400 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:gss.message.app_info_t) |
2401 | 0 | size_t total_size = 0; |
2402 | |
|
2403 | 0 | if (has_package()) { |
2404 | | // required string package = 1; |
2405 | 0 | total_size += 1 + |
2406 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2407 | 0 | this->package()); |
2408 | 0 | } |
2409 | |
|
2410 | 0 | if (has_version()) { |
2411 | | // required int32 version = 2; |
2412 | 0 | total_size += 1 + |
2413 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
2414 | 0 | this->version()); |
2415 | 0 | } |
2416 | |
|
2417 | 0 | if (has_signmd5()) { |
2418 | | // required uint32 signmd5 = 3; |
2419 | 0 | total_size += 1 + |
2420 | 0 | ::google::protobuf::internal::WireFormatLite::UInt32Size( |
2421 | 0 | this->signmd5()); |
2422 | 0 | } |
2423 | |
|
2424 | 0 | return total_size; |
2425 | 0 | } |
2426 | 0 | size_t app_info_t::ByteSizeLong() const { |
2427 | | // @@protoc_insertion_point(message_byte_size_start:gss.message.app_info_t) |
2428 | 0 | size_t total_size = 0; |
2429 | |
|
2430 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
2431 | 0 | total_size += |
2432 | 0 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
2433 | 0 | _internal_metadata_.unknown_fields()); |
2434 | 0 | } |
2435 | 0 | if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. |
2436 | | // required string package = 1; |
2437 | 0 | total_size += 1 + |
2438 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
2439 | 0 | this->package()); |
2440 | | |
2441 | | // required int32 version = 2; |
2442 | 0 | total_size += 1 + |
2443 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
2444 | 0 | this->version()); |
2445 | | |
2446 | | // required uint32 signmd5 = 3; |
2447 | 0 | total_size += 1 + |
2448 | 0 | ::google::protobuf::internal::WireFormatLite::UInt32Size( |
2449 | 0 | this->signmd5()); |
2450 | |
|
2451 | 0 | } else { |
2452 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
2453 | 0 | } |
2454 | 0 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
2455 | 0 | SetCachedSize(cached_size); |
2456 | 0 | return total_size; |
2457 | 0 | } |
2458 | | |
2459 | 0 | void app_info_t::MergeFrom(const ::google::protobuf::Message& from) { |
2460 | | // @@protoc_insertion_point(generalized_merge_from_start:gss.message.app_info_t) |
2461 | 0 | GOOGLE_DCHECK_NE(&from, this); |
2462 | 0 | const app_info_t* source = |
2463 | 0 | ::google::protobuf::internal::DynamicCastToGenerated<const app_info_t>( |
2464 | 0 | &from); |
2465 | 0 | if (source == NULL) { |
2466 | | // @@protoc_insertion_point(generalized_merge_from_cast_fail:gss.message.app_info_t) |
2467 | 0 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
2468 | 0 | } else { |
2469 | | // @@protoc_insertion_point(generalized_merge_from_cast_success:gss.message.app_info_t) |
2470 | 0 | MergeFrom(*source); |
2471 | 0 | } |
2472 | 0 | } |
2473 | | |
2474 | 0 | void app_info_t::MergeFrom(const app_info_t& from) { |
2475 | | // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.app_info_t) |
2476 | 0 | GOOGLE_DCHECK_NE(&from, this); |
2477 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2478 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
2479 | 0 | (void) cached_has_bits; |
2480 | |
|
2481 | 0 | cached_has_bits = from._has_bits_[0]; |
2482 | 0 | if (cached_has_bits & 7u) { |
2483 | 0 | if (cached_has_bits & 0x00000001u) { |
2484 | 0 | set_has_package(); |
2485 | 0 | package_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.package_); |
2486 | 0 | } |
2487 | 0 | if (cached_has_bits & 0x00000002u) { |
2488 | 0 | version_ = from.version_; |
2489 | 0 | } |
2490 | 0 | if (cached_has_bits & 0x00000004u) { |
2491 | 0 | signmd5_ = from.signmd5_; |
2492 | 0 | } |
2493 | 0 | _has_bits_[0] |= cached_has_bits; |
2494 | 0 | } |
2495 | 0 | } |
2496 | | |
2497 | 0 | void app_info_t::CopyFrom(const ::google::protobuf::Message& from) { |
2498 | | // @@protoc_insertion_point(generalized_copy_from_start:gss.message.app_info_t) |
2499 | 0 | if (&from == this) return; |
2500 | 0 | Clear(); |
2501 | 0 | MergeFrom(from); |
2502 | 0 | } |
2503 | | |
2504 | 0 | void app_info_t::CopyFrom(const app_info_t& from) { |
2505 | | // @@protoc_insertion_point(class_specific_copy_from_start:gss.message.app_info_t) |
2506 | 0 | if (&from == this) return; |
2507 | 0 | Clear(); |
2508 | 0 | MergeFrom(from); |
2509 | 0 | } |
2510 | | |
2511 | 0 | bool app_info_t::IsInitialized() const { |
2512 | 0 | if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; |
2513 | 0 | return true; |
2514 | 0 | } |
2515 | | |
2516 | 0 | void app_info_t::Swap(app_info_t* other) { |
2517 | 0 | if (other == this) return; |
2518 | 0 | InternalSwap(other); |
2519 | 0 | } |
2520 | 0 | void app_info_t::InternalSwap(app_info_t* other) { |
2521 | 0 | using std::swap; |
2522 | 0 | package_.Swap(&other->package_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2523 | 0 | GetArenaNoVirtual()); |
2524 | 0 | swap(version_, other->version_); |
2525 | 0 | swap(signmd5_, other->signmd5_); |
2526 | 0 | swap(_has_bits_[0], other->_has_bits_[0]); |
2527 | 0 | _internal_metadata_.Swap(&other->_internal_metadata_); |
2528 | 0 | } |
2529 | | |
2530 | 0 | ::google::protobuf::Metadata app_info_t::GetMetadata() const { |
2531 | 0 | protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
2532 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; |
2533 | 0 | } |
2534 | | |
2535 | | |
2536 | | // =================================================================== |
2537 | | |
2538 | 2 | void us_gss_req_t::InitAsDefaultInstance() { |
2539 | 2 | ::gss::message::_us_gss_req_t_default_instance_._instance.get_mutable()->uainfo_ = const_cast< ::gss::message::ua_info_t*>( |
2540 | 2 | ::gss::message::ua_info_t::internal_default_instance()); |
2541 | 2 | ::gss::message::_us_gss_req_t_default_instance_._instance.get_mutable()->user_agent_ = const_cast< ::gss::message::UserAgent*>( |
2542 | 2 | ::gss::message::UserAgent::internal_default_instance()); |
2543 | 2 | } |
2544 | | ::google::protobuf::internal::ExplicitlyConstructed<::std::string> us_gss_req_t::_i_give_permission_to_break_this_code_default_clientname_; |
2545 | | ::google::protobuf::internal::ExplicitlyConstructed<::std::string> us_gss_req_t::_i_give_permission_to_break_this_code_default_from_; |
2546 | | ::google::protobuf::internal::ExplicitlyConstructed<::std::string> us_gss_req_t::_i_give_permission_to_break_this_code_default_fmt_; |
2547 | | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
2548 | | const int us_gss_req_t::kOriginQueryFieldNumber; |
2549 | | const int us_gss_req_t::kUserIPFieldNumber; |
2550 | | const int us_gss_req_t::kTimingNeedFieldNumber; |
2551 | | const int us_gss_req_t::kQueryID64FieldNumber; |
2552 | | const int us_gss_req_t::kClientNameFieldNumber; |
2553 | | const int us_gss_req_t::kResNumFieldNumber; |
2554 | | const int us_gss_req_t::kPageNumFieldNumber; |
2555 | | const int us_gss_req_t::kCtplOrPhpFieldNumber; |
2556 | | const int us_gss_req_t::kSeTypeFieldNumber; |
2557 | | const int us_gss_req_t::kTemplateNameFieldNumber; |
2558 | | const int us_gss_req_t::kSidFieldNumber; |
2559 | | const int us_gss_req_t::kUrlParaPackFieldNumber; |
2560 | | const int us_gss_req_t::kGssqaFieldNumber; |
2561 | | const int us_gss_req_t::kCookieFieldNumber; |
2562 | | const int us_gss_req_t::kProvinceNameFieldNumber; |
2563 | | const int us_gss_req_t::kCityNameFieldNumber; |
2564 | | const int us_gss_req_t::kIspNameFieldNumber; |
2565 | | const int us_gss_req_t::kSrcNumFieldNumber; |
2566 | | const int us_gss_req_t::kFromFieldNumber; |
2567 | | const int us_gss_req_t::kFmtFieldNumber; |
2568 | | const int us_gss_req_t::kHighLightFieldNumber; |
2569 | | const int us_gss_req_t::kNeedHilightStrFieldNumber; |
2570 | | const int us_gss_req_t::kSrcArrFieldNumber; |
2571 | | const int us_gss_req_t::kResultLangFieldNumber; |
2572 | | const int us_gss_req_t::kResultLocaleFieldNumber; |
2573 | | const int us_gss_req_t::kAppInfoArrFieldNumber; |
2574 | | const int us_gss_req_t::kUaInfoFieldNumber; |
2575 | | const int us_gss_req_t::kUseragentFullFieldNumber; |
2576 | | const int us_gss_req_t::kUidFieldNumber; |
2577 | | const int us_gss_req_t::kUnameFieldNumber; |
2578 | | const int us_gss_req_t::kOpenGssdaRecallFieldNumber; |
2579 | | const int us_gss_req_t::kPrefetchFlagFieldNumber; |
2580 | | const int us_gss_req_t::kServiceNameFieldNumber; |
2581 | | const int us_gss_req_t::kCallerFieldNumber; |
2582 | | const int us_gss_req_t::kUserAgentFieldNumber; |
2583 | | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
2584 | | |
2585 | | us_gss_req_t::us_gss_req_t() |
2586 | 2 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
2587 | 2 | ::google::protobuf::internal::InitSCC( |
2588 | 2 | &protobuf_message_2eproto::scc_info_us_gss_req_t.base); |
2589 | 2 | SharedCtor(); |
2590 | | // @@protoc_insertion_point(constructor:gss.message.us_gss_req_t) |
2591 | 2 | } |
2592 | | us_gss_req_t::us_gss_req_t(const us_gss_req_t& from) |
2593 | 0 | : ::google::protobuf::Message(), |
2594 | 0 | _internal_metadata_(NULL), |
2595 | 0 | _has_bits_(from._has_bits_), |
2596 | 0 | sid_(from.sid_), |
2597 | 0 | srcarr_(from.srcarr_), |
2598 | 0 | appinfoarr_(from.appinfoarr_) { |
2599 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
2600 | 0 | originquery_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2601 | 0 | if (from.has_originquery()) { |
2602 | 0 | originquery_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.originquery_); |
2603 | 0 | } |
2604 | 0 | clientname_.UnsafeSetDefault(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_clientname_.get()); |
2605 | 0 | if (from.has_clientname()) { |
2606 | 0 | clientname_.AssignWithDefault(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_clientname_.get(), from.clientname_); |
2607 | 0 | } |
2608 | 0 | templatename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2609 | 0 | if (from.has_templatename()) { |
2610 | 0 | templatename_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.templatename_); |
2611 | 0 | } |
2612 | 0 | urlparapack_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2613 | 0 | if (from.has_urlparapack()) { |
2614 | 0 | urlparapack_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.urlparapack_); |
2615 | 0 | } |
2616 | 0 | gssqa_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2617 | 0 | if (from.has_gssqa()) { |
2618 | 0 | gssqa_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.gssqa_); |
2619 | 0 | } |
2620 | 0 | cookie_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2621 | 0 | if (from.has_cookie()) { |
2622 | 0 | cookie_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cookie_); |
2623 | 0 | } |
2624 | 0 | province_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2625 | 0 | if (from.has_province_name()) { |
2626 | 0 | province_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.province_name_); |
2627 | 0 | } |
2628 | 0 | city_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2629 | 0 | if (from.has_city_name()) { |
2630 | 0 | city_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.city_name_); |
2631 | 0 | } |
2632 | 0 | isp_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2633 | 0 | if (from.has_isp_name()) { |
2634 | 0 | isp_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.isp_name_); |
2635 | 0 | } |
2636 | 0 | from_.UnsafeSetDefault(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_from_.get()); |
2637 | 0 | if (from.has_from()) { |
2638 | 0 | from_.AssignWithDefault(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_from_.get(), from.from_); |
2639 | 0 | } |
2640 | 0 | fmt_.UnsafeSetDefault(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_fmt_.get()); |
2641 | 0 | if (from.has_fmt()) { |
2642 | 0 | fmt_.AssignWithDefault(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_fmt_.get(), from.fmt_); |
2643 | 0 | } |
2644 | 0 | highlight_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2645 | 0 | if (from.has_highlight()) { |
2646 | 0 | highlight_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.highlight_); |
2647 | 0 | } |
2648 | 0 | useragent_full_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2649 | 0 | if (from.has_useragent_full()) { |
2650 | 0 | useragent_full_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.useragent_full_); |
2651 | 0 | } |
2652 | 0 | uname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2653 | 0 | if (from.has_uname()) { |
2654 | 0 | uname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uname_); |
2655 | 0 | } |
2656 | 0 | service_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2657 | 0 | if (from.has_service_name()) { |
2658 | 0 | service_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.service_name_); |
2659 | 0 | } |
2660 | 0 | caller_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2661 | 0 | if (from.has_caller()) { |
2662 | 0 | caller_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.caller_); |
2663 | 0 | } |
2664 | 0 | if (from.has_uainfo()) { |
2665 | 0 | uainfo_ = new ::gss::message::ua_info_t(*from.uainfo_); |
2666 | 0 | } else { |
2667 | 0 | uainfo_ = NULL; |
2668 | 0 | } |
2669 | 0 | if (from.has_user_agent()) { |
2670 | 0 | user_agent_ = new ::gss::message::UserAgent(*from.user_agent_); |
2671 | 0 | } else { |
2672 | 0 | user_agent_ = NULL; |
2673 | 0 | } |
2674 | 0 | ::memcpy(&userip_, &from.userip_, |
2675 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&resnum_) - |
2676 | 0 | reinterpret_cast<char*>(&userip_)) + sizeof(resnum_)); |
2677 | | // @@protoc_insertion_point(copy_constructor:gss.message.us_gss_req_t) |
2678 | 0 | } |
2679 | | |
2680 | 2 | void us_gss_req_t::SharedCtor() { |
2681 | 2 | originquery_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2682 | 2 | clientname_.UnsafeSetDefault(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_clientname_.get()); |
2683 | 2 | templatename_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2684 | 2 | urlparapack_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2685 | 2 | gssqa_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2686 | 2 | cookie_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2687 | 2 | province_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2688 | 2 | city_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2689 | 2 | isp_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2690 | 2 | from_.UnsafeSetDefault(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_from_.get()); |
2691 | 2 | fmt_.UnsafeSetDefault(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_fmt_.get()); |
2692 | 2 | highlight_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2693 | 2 | useragent_full_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2694 | 2 | uname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2695 | 2 | service_name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2696 | 2 | caller_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2697 | 2 | ::memset(&uainfo_, 0, static_cast<size_t>( |
2698 | 2 | reinterpret_cast<char*>(&prefetch_flag_) - |
2699 | 2 | reinterpret_cast<char*>(&uainfo_)) + sizeof(prefetch_flag_)); |
2700 | 2 | resnum_ = 20; |
2701 | 2 | } |
2702 | | |
2703 | 0 | us_gss_req_t::~us_gss_req_t() { |
2704 | | // @@protoc_insertion_point(destructor:gss.message.us_gss_req_t) |
2705 | 0 | SharedDtor(); |
2706 | 0 | } |
2707 | | |
2708 | 0 | void us_gss_req_t::SharedDtor() { |
2709 | 0 | originquery_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2710 | 0 | clientname_.DestroyNoArena(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_clientname_.get()); |
2711 | 0 | templatename_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2712 | 0 | urlparapack_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2713 | 0 | gssqa_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2714 | 0 | cookie_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2715 | 0 | province_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2716 | 0 | city_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2717 | 0 | isp_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2718 | 0 | from_.DestroyNoArena(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_from_.get()); |
2719 | 0 | fmt_.DestroyNoArena(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_fmt_.get()); |
2720 | 0 | highlight_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2721 | 0 | useragent_full_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2722 | 0 | uname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2723 | 0 | service_name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2724 | 0 | caller_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2725 | 0 | if (this != internal_default_instance()) delete uainfo_; |
2726 | 0 | if (this != internal_default_instance()) delete user_agent_; |
2727 | 0 | } |
2728 | | |
2729 | 0 | void us_gss_req_t::SetCachedSize(int size) const { |
2730 | 0 | _cached_size_.Set(size); |
2731 | 0 | } |
2732 | 0 | const ::google::protobuf::Descriptor* us_gss_req_t::descriptor() { |
2733 | 0 | ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
2734 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
2735 | 0 | } |
2736 | | |
2737 | 0 | const us_gss_req_t& us_gss_req_t::default_instance() { |
2738 | 0 | ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_us_gss_req_t.base); |
2739 | 0 | return *internal_default_instance(); |
2740 | 0 | } |
2741 | | |
2742 | | |
2743 | 0 | void us_gss_req_t::Clear() { |
2744 | | // @@protoc_insertion_point(message_clear_start:gss.message.us_gss_req_t) |
2745 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
2746 | | // Prevent compiler warnings about cached_has_bits being unused |
2747 | 0 | (void) cached_has_bits; |
2748 | |
|
2749 | 0 | sid_.Clear(); |
2750 | 0 | srcarr_.Clear(); |
2751 | 0 | appinfoarr_.Clear(); |
2752 | 0 | cached_has_bits = _has_bits_[0]; |
2753 | 0 | if (cached_has_bits & 255u) { |
2754 | 0 | if (cached_has_bits & 0x00000001u) { |
2755 | 0 | originquery_.ClearNonDefaultToEmptyNoArena(); |
2756 | 0 | } |
2757 | 0 | if (cached_has_bits & 0x00000002u) { |
2758 | 0 | clientname_.UnsafeMutablePointer()->assign(*&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_clientname_.get()); |
2759 | 0 | } |
2760 | 0 | if (cached_has_bits & 0x00000004u) { |
2761 | 0 | templatename_.ClearNonDefaultToEmptyNoArena(); |
2762 | 0 | } |
2763 | 0 | if (cached_has_bits & 0x00000008u) { |
2764 | 0 | urlparapack_.ClearNonDefaultToEmptyNoArena(); |
2765 | 0 | } |
2766 | 0 | if (cached_has_bits & 0x00000010u) { |
2767 | 0 | gssqa_.ClearNonDefaultToEmptyNoArena(); |
2768 | 0 | } |
2769 | 0 | if (cached_has_bits & 0x00000020u) { |
2770 | 0 | cookie_.ClearNonDefaultToEmptyNoArena(); |
2771 | 0 | } |
2772 | 0 | if (cached_has_bits & 0x00000040u) { |
2773 | 0 | province_name_.ClearNonDefaultToEmptyNoArena(); |
2774 | 0 | } |
2775 | 0 | if (cached_has_bits & 0x00000080u) { |
2776 | 0 | city_name_.ClearNonDefaultToEmptyNoArena(); |
2777 | 0 | } |
2778 | 0 | } |
2779 | 0 | if (cached_has_bits & 65280u) { |
2780 | 0 | if (cached_has_bits & 0x00000100u) { |
2781 | 0 | isp_name_.ClearNonDefaultToEmptyNoArena(); |
2782 | 0 | } |
2783 | 0 | if (cached_has_bits & 0x00000200u) { |
2784 | 0 | from_.UnsafeMutablePointer()->assign(*&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_from_.get()); |
2785 | 0 | } |
2786 | 0 | if (cached_has_bits & 0x00000400u) { |
2787 | 0 | fmt_.UnsafeMutablePointer()->assign(*&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_fmt_.get()); |
2788 | 0 | } |
2789 | 0 | if (cached_has_bits & 0x00000800u) { |
2790 | 0 | highlight_.ClearNonDefaultToEmptyNoArena(); |
2791 | 0 | } |
2792 | 0 | if (cached_has_bits & 0x00001000u) { |
2793 | 0 | useragent_full_.ClearNonDefaultToEmptyNoArena(); |
2794 | 0 | } |
2795 | 0 | if (cached_has_bits & 0x00002000u) { |
2796 | 0 | uname_.ClearNonDefaultToEmptyNoArena(); |
2797 | 0 | } |
2798 | 0 | if (cached_has_bits & 0x00004000u) { |
2799 | 0 | service_name_.ClearNonDefaultToEmptyNoArena(); |
2800 | 0 | } |
2801 | 0 | if (cached_has_bits & 0x00008000u) { |
2802 | 0 | caller_.ClearNonDefaultToEmptyNoArena(); |
2803 | 0 | } |
2804 | 0 | } |
2805 | 0 | if (cached_has_bits & 196608u) { |
2806 | 0 | if (cached_has_bits & 0x00010000u) { |
2807 | 0 | GOOGLE_DCHECK(uainfo_ != NULL); |
2808 | 0 | uainfo_->Clear(); |
2809 | 0 | } |
2810 | 0 | if (cached_has_bits & 0x00020000u) { |
2811 | 0 | GOOGLE_DCHECK(user_agent_ != NULL); |
2812 | 0 | user_agent_->Clear(); |
2813 | 0 | } |
2814 | 0 | } |
2815 | 0 | if (cached_has_bits & 16515072u) { |
2816 | 0 | ::memset(&userip_, 0, static_cast<size_t>( |
2817 | 0 | reinterpret_cast<char*>(&setype_) - |
2818 | 0 | reinterpret_cast<char*>(&userip_)) + sizeof(setype_)); |
2819 | 0 | } |
2820 | 0 | if (cached_has_bits & 4278190080u) { |
2821 | 0 | ::memset(&srcnum_, 0, static_cast<size_t>( |
2822 | 0 | reinterpret_cast<char*>(&prefetch_flag_) - |
2823 | 0 | reinterpret_cast<char*>(&srcnum_)) + sizeof(prefetch_flag_)); |
2824 | 0 | resnum_ = 20; |
2825 | 0 | } |
2826 | 0 | _has_bits_.Clear(); |
2827 | 0 | _internal_metadata_.Clear(); |
2828 | 0 | } |
2829 | | |
2830 | | bool us_gss_req_t::MergePartialFromCodedStream( |
2831 | 0 | ::google::protobuf::io::CodedInputStream* input) { |
2832 | 0 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
2833 | 0 | ::google::protobuf::uint32 tag; |
2834 | | // @@protoc_insertion_point(parse_start:gss.message.us_gss_req_t) |
2835 | 0 | for (;;) { |
2836 | 0 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); |
2837 | 0 | tag = p.first; |
2838 | 0 | if (!p.second) goto handle_unusual; |
2839 | 0 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
2840 | | // required string OriginQuery = 1; |
2841 | 0 | case 1: { |
2842 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2843 | 0 | static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
2844 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
2845 | 0 | input, this->mutable_originquery())); |
2846 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2847 | 0 | this->originquery().data(), static_cast<int>(this->originquery().length()), |
2848 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
2849 | 0 | "gss.message.us_gss_req_t.OriginQuery"); |
2850 | 0 | } else { |
2851 | 0 | goto handle_unusual; |
2852 | 0 | } |
2853 | 0 | break; |
2854 | 0 | } |
2855 | | |
2856 | | // required int32 UserIP = 2; |
2857 | 0 | case 2: { |
2858 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2859 | 0 | static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
2860 | 0 | set_has_userip(); |
2861 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2862 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
2863 | 0 | input, &userip_))); |
2864 | 0 | } else { |
2865 | 0 | goto handle_unusual; |
2866 | 0 | } |
2867 | 0 | break; |
2868 | 0 | } |
2869 | | |
2870 | | // required int32 TimingNeed = 3; |
2871 | 0 | case 3: { |
2872 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2873 | 0 | static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
2874 | 0 | set_has_timingneed(); |
2875 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2876 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
2877 | 0 | input, &timingneed_))); |
2878 | 0 | } else { |
2879 | 0 | goto handle_unusual; |
2880 | 0 | } |
2881 | 0 | break; |
2882 | 0 | } |
2883 | | |
2884 | | // optional uint64 QueryID64 = 4 [default = 0]; |
2885 | 0 | case 4: { |
2886 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2887 | 0 | static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { |
2888 | 0 | set_has_queryid64(); |
2889 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2890 | 0 | ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( |
2891 | 0 | input, &queryid64_))); |
2892 | 0 | } else { |
2893 | 0 | goto handle_unusual; |
2894 | 0 | } |
2895 | 0 | break; |
2896 | 0 | } |
2897 | | |
2898 | | // optional string ClientName = 5 [default = "unknow"]; |
2899 | 0 | case 5: { |
2900 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2901 | 0 | static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { |
2902 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
2903 | 0 | input, this->mutable_clientname())); |
2904 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2905 | 0 | this->clientname().data(), static_cast<int>(this->clientname().length()), |
2906 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
2907 | 0 | "gss.message.us_gss_req_t.ClientName"); |
2908 | 0 | } else { |
2909 | 0 | goto handle_unusual; |
2910 | 0 | } |
2911 | 0 | break; |
2912 | 0 | } |
2913 | | |
2914 | | // optional int32 ResNum = 11 [default = 20]; |
2915 | 0 | case 11: { |
2916 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2917 | 0 | static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) { |
2918 | 0 | set_has_resnum(); |
2919 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2920 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
2921 | 0 | input, &resnum_))); |
2922 | 0 | } else { |
2923 | 0 | goto handle_unusual; |
2924 | 0 | } |
2925 | 0 | break; |
2926 | 0 | } |
2927 | | |
2928 | | // optional int32 PageNum = 12 [default = 0]; |
2929 | 0 | case 12: { |
2930 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2931 | 0 | static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) { |
2932 | 0 | set_has_pagenum(); |
2933 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2934 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
2935 | 0 | input, &pagenum_))); |
2936 | 0 | } else { |
2937 | 0 | goto handle_unusual; |
2938 | 0 | } |
2939 | 0 | break; |
2940 | 0 | } |
2941 | | |
2942 | | // optional int32 ctpl_or_php = 13 [default = 0]; |
2943 | 0 | case 13: { |
2944 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2945 | 0 | static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) { |
2946 | 0 | set_has_ctpl_or_php(); |
2947 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2948 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
2949 | 0 | input, &ctpl_or_php_))); |
2950 | 0 | } else { |
2951 | 0 | goto handle_unusual; |
2952 | 0 | } |
2953 | 0 | break; |
2954 | 0 | } |
2955 | | |
2956 | | // optional int32 SeType = 14 [default = 0]; |
2957 | 0 | case 14: { |
2958 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2959 | 0 | static_cast< ::google::protobuf::uint8>(112u /* 112 & 0xFF */)) { |
2960 | 0 | set_has_setype(); |
2961 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
2962 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
2963 | 0 | input, &setype_))); |
2964 | 0 | } else { |
2965 | 0 | goto handle_unusual; |
2966 | 0 | } |
2967 | 0 | break; |
2968 | 0 | } |
2969 | | |
2970 | | // required string TemplateName = 15; |
2971 | 0 | case 15: { |
2972 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2973 | 0 | static_cast< ::google::protobuf::uint8>(122u /* 122 & 0xFF */)) { |
2974 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
2975 | 0 | input, this->mutable_templatename())); |
2976 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
2977 | 0 | this->templatename().data(), static_cast<int>(this->templatename().length()), |
2978 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
2979 | 0 | "gss.message.us_gss_req_t.TemplateName"); |
2980 | 0 | } else { |
2981 | 0 | goto handle_unusual; |
2982 | 0 | } |
2983 | 0 | break; |
2984 | 0 | } |
2985 | | |
2986 | | // repeated int32 sid = 16; |
2987 | 0 | case 16: { |
2988 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
2989 | 0 | static_cast< ::google::protobuf::uint8>(128u /* 128 & 0xFF */)) { |
2990 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< |
2991 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
2992 | 0 | 2, 128u, input, this->mutable_sid()))); |
2993 | 0 | } else if ( |
2994 | 0 | static_cast< ::google::protobuf::uint8>(tag) == |
2995 | 0 | static_cast< ::google::protobuf::uint8>(130u /* 130 & 0xFF */)) { |
2996 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< |
2997 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
2998 | 0 | input, this->mutable_sid()))); |
2999 | 0 | } else { |
3000 | 0 | goto handle_unusual; |
3001 | 0 | } |
3002 | 0 | break; |
3003 | 0 | } |
3004 | | |
3005 | | // optional bytes UrlParaPack = 17; |
3006 | 0 | case 17: { |
3007 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3008 | 0 | static_cast< ::google::protobuf::uint8>(138u /* 138 & 0xFF */)) { |
3009 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( |
3010 | 0 | input, this->mutable_urlparapack())); |
3011 | 0 | } else { |
3012 | 0 | goto handle_unusual; |
3013 | 0 | } |
3014 | 0 | break; |
3015 | 0 | } |
3016 | | |
3017 | | // optional bytes gssqa = 18; |
3018 | 0 | case 18: { |
3019 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3020 | 0 | static_cast< ::google::protobuf::uint8>(146u /* 146 & 0xFF */)) { |
3021 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( |
3022 | 0 | input, this->mutable_gssqa())); |
3023 | 0 | } else { |
3024 | 0 | goto handle_unusual; |
3025 | 0 | } |
3026 | 0 | break; |
3027 | 0 | } |
3028 | | |
3029 | | // optional string Cookie = 19; |
3030 | 0 | case 19: { |
3031 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3032 | 0 | static_cast< ::google::protobuf::uint8>(154u /* 154 & 0xFF */)) { |
3033 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
3034 | 0 | input, this->mutable_cookie())); |
3035 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3036 | 0 | this->cookie().data(), static_cast<int>(this->cookie().length()), |
3037 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
3038 | 0 | "gss.message.us_gss_req_t.Cookie"); |
3039 | 0 | } else { |
3040 | 0 | goto handle_unusual; |
3041 | 0 | } |
3042 | 0 | break; |
3043 | 0 | } |
3044 | | |
3045 | | // optional string province_name = 31; |
3046 | 0 | case 31: { |
3047 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3048 | 0 | static_cast< ::google::protobuf::uint8>(250u /* 250 & 0xFF */)) { |
3049 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
3050 | 0 | input, this->mutable_province_name())); |
3051 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3052 | 0 | this->province_name().data(), static_cast<int>(this->province_name().length()), |
3053 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
3054 | 0 | "gss.message.us_gss_req_t.province_name"); |
3055 | 0 | } else { |
3056 | 0 | goto handle_unusual; |
3057 | 0 | } |
3058 | 0 | break; |
3059 | 0 | } |
3060 | | |
3061 | | // optional string city_name = 32; |
3062 | 0 | case 32: { |
3063 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3064 | 0 | static_cast< ::google::protobuf::uint8>(2u /* 258 & 0xFF */)) { |
3065 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
3066 | 0 | input, this->mutable_city_name())); |
3067 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3068 | 0 | this->city_name().data(), static_cast<int>(this->city_name().length()), |
3069 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
3070 | 0 | "gss.message.us_gss_req_t.city_name"); |
3071 | 0 | } else { |
3072 | 0 | goto handle_unusual; |
3073 | 0 | } |
3074 | 0 | break; |
3075 | 0 | } |
3076 | | |
3077 | | // optional string isp_name = 33; |
3078 | 0 | case 33: { |
3079 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3080 | 0 | static_cast< ::google::protobuf::uint8>(10u /* 266 & 0xFF */)) { |
3081 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
3082 | 0 | input, this->mutable_isp_name())); |
3083 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3084 | 0 | this->isp_name().data(), static_cast<int>(this->isp_name().length()), |
3085 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
3086 | 0 | "gss.message.us_gss_req_t.isp_name"); |
3087 | 0 | } else { |
3088 | 0 | goto handle_unusual; |
3089 | 0 | } |
3090 | 0 | break; |
3091 | 0 | } |
3092 | | |
3093 | | // required uint32 SrcNum = 34; |
3094 | 0 | case 34: { |
3095 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3096 | 0 | static_cast< ::google::protobuf::uint8>(16u /* 272 & 0xFF */)) { |
3097 | 0 | set_has_srcnum(); |
3098 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
3099 | 0 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( |
3100 | 0 | input, &srcnum_))); |
3101 | 0 | } else { |
3102 | 0 | goto handle_unusual; |
3103 | 0 | } |
3104 | 0 | break; |
3105 | 0 | } |
3106 | | |
3107 | | // optional string From = 35 [default = "www"]; |
3108 | 0 | case 35: { |
3109 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3110 | 0 | static_cast< ::google::protobuf::uint8>(26u /* 282 & 0xFF */)) { |
3111 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
3112 | 0 | input, this->mutable_from())); |
3113 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3114 | 0 | this->from().data(), static_cast<int>(this->from().length()), |
3115 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
3116 | 0 | "gss.message.us_gss_req_t.From"); |
3117 | 0 | } else { |
3118 | 0 | goto handle_unusual; |
3119 | 0 | } |
3120 | 0 | break; |
3121 | 0 | } |
3122 | | |
3123 | | // optional string Fmt = 36 [default = "html"]; |
3124 | 0 | case 36: { |
3125 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3126 | 0 | static_cast< ::google::protobuf::uint8>(34u /* 290 & 0xFF */)) { |
3127 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
3128 | 0 | input, this->mutable_fmt())); |
3129 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3130 | 0 | this->fmt().data(), static_cast<int>(this->fmt().length()), |
3131 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
3132 | 0 | "gss.message.us_gss_req_t.Fmt"); |
3133 | 0 | } else { |
3134 | 0 | goto handle_unusual; |
3135 | 0 | } |
3136 | 0 | break; |
3137 | 0 | } |
3138 | | |
3139 | | // optional bytes HighLight = 37; |
3140 | 0 | case 37: { |
3141 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3142 | 0 | static_cast< ::google::protobuf::uint8>(42u /* 298 & 0xFF */)) { |
3143 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( |
3144 | 0 | input, this->mutable_highlight())); |
3145 | 0 | } else { |
3146 | 0 | goto handle_unusual; |
3147 | 0 | } |
3148 | 0 | break; |
3149 | 0 | } |
3150 | | |
3151 | | // optional int32 NeedHilightStr = 38 [default = 0]; |
3152 | 0 | case 38: { |
3153 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3154 | 0 | static_cast< ::google::protobuf::uint8>(48u /* 304 & 0xFF */)) { |
3155 | 0 | set_has_needhilightstr(); |
3156 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
3157 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
3158 | 0 | input, &needhilightstr_))); |
3159 | 0 | } else { |
3160 | 0 | goto handle_unusual; |
3161 | 0 | } |
3162 | 0 | break; |
3163 | 0 | } |
3164 | | |
3165 | | // repeated .gss.message.gss_src_req_t SrcArr = 39; |
3166 | 0 | case 39: { |
3167 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3168 | 0 | static_cast< ::google::protobuf::uint8>(58u /* 314 & 0xFF */)) { |
3169 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
3170 | 0 | input, add_srcarr())); |
3171 | 0 | } else { |
3172 | 0 | goto handle_unusual; |
3173 | 0 | } |
3174 | 0 | break; |
3175 | 0 | } |
3176 | | |
3177 | | // optional int64 resultLang = 40; |
3178 | 0 | case 40: { |
3179 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3180 | 0 | static_cast< ::google::protobuf::uint8>(64u /* 320 & 0xFF */)) { |
3181 | 0 | set_has_resultlang(); |
3182 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
3183 | 0 | ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
3184 | 0 | input, &resultlang_))); |
3185 | 0 | } else { |
3186 | 0 | goto handle_unusual; |
3187 | 0 | } |
3188 | 0 | break; |
3189 | 0 | } |
3190 | | |
3191 | | // optional int64 resultLocale = 41; |
3192 | 0 | case 41: { |
3193 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3194 | 0 | static_cast< ::google::protobuf::uint8>(72u /* 328 & 0xFF */)) { |
3195 | 0 | set_has_resultlocale(); |
3196 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
3197 | 0 | ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( |
3198 | 0 | input, &resultlocale_))); |
3199 | 0 | } else { |
3200 | 0 | goto handle_unusual; |
3201 | 0 | } |
3202 | 0 | break; |
3203 | 0 | } |
3204 | | |
3205 | | // repeated .gss.message.app_info_t AppInfoArr = 42; |
3206 | 0 | case 42: { |
3207 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3208 | 0 | static_cast< ::google::protobuf::uint8>(82u /* 338 & 0xFF */)) { |
3209 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
3210 | 0 | input, add_appinfoarr())); |
3211 | 0 | } else { |
3212 | 0 | goto handle_unusual; |
3213 | 0 | } |
3214 | 0 | break; |
3215 | 0 | } |
3216 | | |
3217 | | // optional .gss.message.ua_info_t uaInfo = 43; |
3218 | 0 | case 43: { |
3219 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3220 | 0 | static_cast< ::google::protobuf::uint8>(90u /* 346 & 0xFF */)) { |
3221 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
3222 | 0 | input, mutable_uainfo())); |
3223 | 0 | } else { |
3224 | 0 | goto handle_unusual; |
3225 | 0 | } |
3226 | 0 | break; |
3227 | 0 | } |
3228 | | |
3229 | | // optional string useragent_full = 44; |
3230 | 0 | case 44: { |
3231 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3232 | 0 | static_cast< ::google::protobuf::uint8>(98u /* 354 & 0xFF */)) { |
3233 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
3234 | 0 | input, this->mutable_useragent_full())); |
3235 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3236 | 0 | this->useragent_full().data(), static_cast<int>(this->useragent_full().length()), |
3237 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
3238 | 0 | "gss.message.us_gss_req_t.useragent_full"); |
3239 | 0 | } else { |
3240 | 0 | goto handle_unusual; |
3241 | 0 | } |
3242 | 0 | break; |
3243 | 0 | } |
3244 | | |
3245 | | // optional int32 uid = 45; |
3246 | 0 | case 45: { |
3247 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3248 | 0 | static_cast< ::google::protobuf::uint8>(104u /* 360 & 0xFF */)) { |
3249 | 0 | set_has_uid(); |
3250 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
3251 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
3252 | 0 | input, &uid_))); |
3253 | 0 | } else { |
3254 | 0 | goto handle_unusual; |
3255 | 0 | } |
3256 | 0 | break; |
3257 | 0 | } |
3258 | | |
3259 | | // optional string uname = 46; |
3260 | 0 | case 46: { |
3261 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3262 | 0 | static_cast< ::google::protobuf::uint8>(114u /* 370 & 0xFF */)) { |
3263 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
3264 | 0 | input, this->mutable_uname())); |
3265 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3266 | 0 | this->uname().data(), static_cast<int>(this->uname().length()), |
3267 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
3268 | 0 | "gss.message.us_gss_req_t.uname"); |
3269 | 0 | } else { |
3270 | 0 | goto handle_unusual; |
3271 | 0 | } |
3272 | 0 | break; |
3273 | 0 | } |
3274 | | |
3275 | | // optional int32 open_gssda_recall = 47; |
3276 | 0 | case 47: { |
3277 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3278 | 0 | static_cast< ::google::protobuf::uint8>(120u /* 376 & 0xFF */)) { |
3279 | 0 | set_has_open_gssda_recall(); |
3280 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
3281 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
3282 | 0 | input, &open_gssda_recall_))); |
3283 | 0 | } else { |
3284 | 0 | goto handle_unusual; |
3285 | 0 | } |
3286 | 0 | break; |
3287 | 0 | } |
3288 | | |
3289 | | // optional int32 prefetch_flag = 48; |
3290 | 0 | case 48: { |
3291 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3292 | 0 | static_cast< ::google::protobuf::uint8>(128u /* 384 & 0xFF */)) { |
3293 | 0 | set_has_prefetch_flag(); |
3294 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
3295 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
3296 | 0 | input, &prefetch_flag_))); |
3297 | 0 | } else { |
3298 | 0 | goto handle_unusual; |
3299 | 0 | } |
3300 | 0 | break; |
3301 | 0 | } |
3302 | | |
3303 | | // optional string service_name = 71; |
3304 | 0 | case 71: { |
3305 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3306 | 0 | static_cast< ::google::protobuf::uint8>(58u /* 570 & 0xFF */)) { |
3307 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
3308 | 0 | input, this->mutable_service_name())); |
3309 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3310 | 0 | this->service_name().data(), static_cast<int>(this->service_name().length()), |
3311 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
3312 | 0 | "gss.message.us_gss_req_t.service_name"); |
3313 | 0 | } else { |
3314 | 0 | goto handle_unusual; |
3315 | 0 | } |
3316 | 0 | break; |
3317 | 0 | } |
3318 | | |
3319 | | // optional string caller = 72; |
3320 | 0 | case 72: { |
3321 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3322 | 0 | static_cast< ::google::protobuf::uint8>(66u /* 578 & 0xFF */)) { |
3323 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
3324 | 0 | input, this->mutable_caller())); |
3325 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3326 | 0 | this->caller().data(), static_cast<int>(this->caller().length()), |
3327 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
3328 | 0 | "gss.message.us_gss_req_t.caller"); |
3329 | 0 | } else { |
3330 | 0 | goto handle_unusual; |
3331 | 0 | } |
3332 | 0 | break; |
3333 | 0 | } |
3334 | | |
3335 | | // optional .gss.message.UserAgent user_agent = 73; |
3336 | 0 | case 73: { |
3337 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
3338 | 0 | static_cast< ::google::protobuf::uint8>(74u /* 586 & 0xFF */)) { |
3339 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
3340 | 0 | input, mutable_user_agent())); |
3341 | 0 | } else { |
3342 | 0 | goto handle_unusual; |
3343 | 0 | } |
3344 | 0 | break; |
3345 | 0 | } |
3346 | | |
3347 | 0 | default: { |
3348 | 0 | handle_unusual: |
3349 | 0 | if (tag == 0) { |
3350 | 0 | goto success; |
3351 | 0 | } |
3352 | 0 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
3353 | 0 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
3354 | 0 | break; |
3355 | 0 | } |
3356 | 0 | } |
3357 | 0 | } |
3358 | 0 | success: |
3359 | | // @@protoc_insertion_point(parse_success:gss.message.us_gss_req_t) |
3360 | 0 | return true; |
3361 | 0 | failure: |
3362 | | // @@protoc_insertion_point(parse_failure:gss.message.us_gss_req_t) |
3363 | 0 | return false; |
3364 | 0 | #undef DO_ |
3365 | 0 | } |
3366 | | |
3367 | | void us_gss_req_t::SerializeWithCachedSizes( |
3368 | 0 | ::google::protobuf::io::CodedOutputStream* output) const { |
3369 | | // @@protoc_insertion_point(serialize_start:gss.message.us_gss_req_t) |
3370 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
3371 | 0 | (void) cached_has_bits; |
3372 | |
|
3373 | 0 | cached_has_bits = _has_bits_[0]; |
3374 | | // required string OriginQuery = 1; |
3375 | 0 | if (cached_has_bits & 0x00000001u) { |
3376 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3377 | 0 | this->originquery().data(), static_cast<int>(this->originquery().length()), |
3378 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3379 | 0 | "gss.message.us_gss_req_t.OriginQuery"); |
3380 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3381 | 0 | 1, this->originquery(), output); |
3382 | 0 | } |
3383 | | |
3384 | | // required int32 UserIP = 2; |
3385 | 0 | if (cached_has_bits & 0x00040000u) { |
3386 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->userip(), output); |
3387 | 0 | } |
3388 | | |
3389 | | // required int32 TimingNeed = 3; |
3390 | 0 | if (cached_has_bits & 0x00080000u) { |
3391 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->timingneed(), output); |
3392 | 0 | } |
3393 | | |
3394 | | // optional uint64 QueryID64 = 4 [default = 0]; |
3395 | 0 | if (cached_has_bits & 0x00100000u) { |
3396 | 0 | ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->queryid64(), output); |
3397 | 0 | } |
3398 | | |
3399 | | // optional string ClientName = 5 [default = "unknow"]; |
3400 | 0 | if (cached_has_bits & 0x00000002u) { |
3401 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3402 | 0 | this->clientname().data(), static_cast<int>(this->clientname().length()), |
3403 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3404 | 0 | "gss.message.us_gss_req_t.ClientName"); |
3405 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3406 | 0 | 5, this->clientname(), output); |
3407 | 0 | } |
3408 | | |
3409 | | // optional int32 ResNum = 11 [default = 20]; |
3410 | 0 | if (cached_has_bits & 0x80000000u) { |
3411 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->resnum(), output); |
3412 | 0 | } |
3413 | | |
3414 | | // optional int32 PageNum = 12 [default = 0]; |
3415 | 0 | if (cached_has_bits & 0x00200000u) { |
3416 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->pagenum(), output); |
3417 | 0 | } |
3418 | | |
3419 | | // optional int32 ctpl_or_php = 13 [default = 0]; |
3420 | 0 | if (cached_has_bits & 0x00400000u) { |
3421 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->ctpl_or_php(), output); |
3422 | 0 | } |
3423 | | |
3424 | | // optional int32 SeType = 14 [default = 0]; |
3425 | 0 | if (cached_has_bits & 0x00800000u) { |
3426 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->setype(), output); |
3427 | 0 | } |
3428 | | |
3429 | | // required string TemplateName = 15; |
3430 | 0 | if (cached_has_bits & 0x00000004u) { |
3431 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3432 | 0 | this->templatename().data(), static_cast<int>(this->templatename().length()), |
3433 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3434 | 0 | "gss.message.us_gss_req_t.TemplateName"); |
3435 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3436 | 0 | 15, this->templatename(), output); |
3437 | 0 | } |
3438 | | |
3439 | | // repeated int32 sid = 16; |
3440 | 0 | for (int i = 0, n = this->sid_size(); i < n; i++) { |
3441 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32( |
3442 | 0 | 16, this->sid(i), output); |
3443 | 0 | } |
3444 | | |
3445 | | // optional bytes UrlParaPack = 17; |
3446 | 0 | if (cached_has_bits & 0x00000008u) { |
3447 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( |
3448 | 0 | 17, this->urlparapack(), output); |
3449 | 0 | } |
3450 | | |
3451 | | // optional bytes gssqa = 18; |
3452 | 0 | if (cached_has_bits & 0x00000010u) { |
3453 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( |
3454 | 0 | 18, this->gssqa(), output); |
3455 | 0 | } |
3456 | | |
3457 | | // optional string Cookie = 19; |
3458 | 0 | if (cached_has_bits & 0x00000020u) { |
3459 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3460 | 0 | this->cookie().data(), static_cast<int>(this->cookie().length()), |
3461 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3462 | 0 | "gss.message.us_gss_req_t.Cookie"); |
3463 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3464 | 0 | 19, this->cookie(), output); |
3465 | 0 | } |
3466 | | |
3467 | | // optional string province_name = 31; |
3468 | 0 | if (cached_has_bits & 0x00000040u) { |
3469 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3470 | 0 | this->province_name().data(), static_cast<int>(this->province_name().length()), |
3471 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3472 | 0 | "gss.message.us_gss_req_t.province_name"); |
3473 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3474 | 0 | 31, this->province_name(), output); |
3475 | 0 | } |
3476 | | |
3477 | | // optional string city_name = 32; |
3478 | 0 | if (cached_has_bits & 0x00000080u) { |
3479 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3480 | 0 | this->city_name().data(), static_cast<int>(this->city_name().length()), |
3481 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3482 | 0 | "gss.message.us_gss_req_t.city_name"); |
3483 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3484 | 0 | 32, this->city_name(), output); |
3485 | 0 | } |
3486 | | |
3487 | | // optional string isp_name = 33; |
3488 | 0 | if (cached_has_bits & 0x00000100u) { |
3489 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3490 | 0 | this->isp_name().data(), static_cast<int>(this->isp_name().length()), |
3491 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3492 | 0 | "gss.message.us_gss_req_t.isp_name"); |
3493 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3494 | 0 | 33, this->isp_name(), output); |
3495 | 0 | } |
3496 | | |
3497 | | // required uint32 SrcNum = 34; |
3498 | 0 | if (cached_has_bits & 0x01000000u) { |
3499 | 0 | ::google::protobuf::internal::WireFormatLite::WriteUInt32(34, this->srcnum(), output); |
3500 | 0 | } |
3501 | | |
3502 | | // optional string From = 35 [default = "www"]; |
3503 | 0 | if (cached_has_bits & 0x00000200u) { |
3504 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3505 | 0 | this->from().data(), static_cast<int>(this->from().length()), |
3506 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3507 | 0 | "gss.message.us_gss_req_t.From"); |
3508 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3509 | 0 | 35, this->from(), output); |
3510 | 0 | } |
3511 | | |
3512 | | // optional string Fmt = 36 [default = "html"]; |
3513 | 0 | if (cached_has_bits & 0x00000400u) { |
3514 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3515 | 0 | this->fmt().data(), static_cast<int>(this->fmt().length()), |
3516 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3517 | 0 | "gss.message.us_gss_req_t.Fmt"); |
3518 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3519 | 0 | 36, this->fmt(), output); |
3520 | 0 | } |
3521 | | |
3522 | | // optional bytes HighLight = 37; |
3523 | 0 | if (cached_has_bits & 0x00000800u) { |
3524 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( |
3525 | 0 | 37, this->highlight(), output); |
3526 | 0 | } |
3527 | | |
3528 | | // optional int32 NeedHilightStr = 38 [default = 0]; |
3529 | 0 | if (cached_has_bits & 0x08000000u) { |
3530 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(38, this->needhilightstr(), output); |
3531 | 0 | } |
3532 | | |
3533 | | // repeated .gss.message.gss_src_req_t SrcArr = 39; |
3534 | 0 | for (unsigned int i = 0, |
3535 | 0 | n = static_cast<unsigned int>(this->srcarr_size()); i < n; i++) { |
3536 | 0 | ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
3537 | 0 | 39, |
3538 | 0 | this->srcarr(static_cast<int>(i)), |
3539 | 0 | output); |
3540 | 0 | } |
3541 | | |
3542 | | // optional int64 resultLang = 40; |
3543 | 0 | if (cached_has_bits & 0x02000000u) { |
3544 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt64(40, this->resultlang(), output); |
3545 | 0 | } |
3546 | | |
3547 | | // optional int64 resultLocale = 41; |
3548 | 0 | if (cached_has_bits & 0x04000000u) { |
3549 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt64(41, this->resultlocale(), output); |
3550 | 0 | } |
3551 | | |
3552 | | // repeated .gss.message.app_info_t AppInfoArr = 42; |
3553 | 0 | for (unsigned int i = 0, |
3554 | 0 | n = static_cast<unsigned int>(this->appinfoarr_size()); i < n; i++) { |
3555 | 0 | ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
3556 | 0 | 42, |
3557 | 0 | this->appinfoarr(static_cast<int>(i)), |
3558 | 0 | output); |
3559 | 0 | } |
3560 | | |
3561 | | // optional .gss.message.ua_info_t uaInfo = 43; |
3562 | 0 | if (cached_has_bits & 0x00010000u) { |
3563 | 0 | ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
3564 | 0 | 43, this->_internal_uainfo(), output); |
3565 | 0 | } |
3566 | | |
3567 | | // optional string useragent_full = 44; |
3568 | 0 | if (cached_has_bits & 0x00001000u) { |
3569 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3570 | 0 | this->useragent_full().data(), static_cast<int>(this->useragent_full().length()), |
3571 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3572 | 0 | "gss.message.us_gss_req_t.useragent_full"); |
3573 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3574 | 0 | 44, this->useragent_full(), output); |
3575 | 0 | } |
3576 | | |
3577 | | // optional int32 uid = 45; |
3578 | 0 | if (cached_has_bits & 0x10000000u) { |
3579 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(45, this->uid(), output); |
3580 | 0 | } |
3581 | | |
3582 | | // optional string uname = 46; |
3583 | 0 | if (cached_has_bits & 0x00002000u) { |
3584 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3585 | 0 | this->uname().data(), static_cast<int>(this->uname().length()), |
3586 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3587 | 0 | "gss.message.us_gss_req_t.uname"); |
3588 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3589 | 0 | 46, this->uname(), output); |
3590 | 0 | } |
3591 | | |
3592 | | // optional int32 open_gssda_recall = 47; |
3593 | 0 | if (cached_has_bits & 0x20000000u) { |
3594 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(47, this->open_gssda_recall(), output); |
3595 | 0 | } |
3596 | | |
3597 | | // optional int32 prefetch_flag = 48; |
3598 | 0 | if (cached_has_bits & 0x40000000u) { |
3599 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(48, this->prefetch_flag(), output); |
3600 | 0 | } |
3601 | | |
3602 | | // optional string service_name = 71; |
3603 | 0 | if (cached_has_bits & 0x00004000u) { |
3604 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3605 | 0 | this->service_name().data(), static_cast<int>(this->service_name().length()), |
3606 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3607 | 0 | "gss.message.us_gss_req_t.service_name"); |
3608 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3609 | 0 | 71, this->service_name(), output); |
3610 | 0 | } |
3611 | | |
3612 | | // optional string caller = 72; |
3613 | 0 | if (cached_has_bits & 0x00008000u) { |
3614 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3615 | 0 | this->caller().data(), static_cast<int>(this->caller().length()), |
3616 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3617 | 0 | "gss.message.us_gss_req_t.caller"); |
3618 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
3619 | 0 | 72, this->caller(), output); |
3620 | 0 | } |
3621 | | |
3622 | | // optional .gss.message.UserAgent user_agent = 73; |
3623 | 0 | if (cached_has_bits & 0x00020000u) { |
3624 | 0 | ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
3625 | 0 | 73, this->_internal_user_agent(), output); |
3626 | 0 | } |
3627 | |
|
3628 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
3629 | 0 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
3630 | 0 | _internal_metadata_.unknown_fields(), output); |
3631 | 0 | } |
3632 | | // @@protoc_insertion_point(serialize_end:gss.message.us_gss_req_t) |
3633 | 0 | } |
3634 | | |
3635 | | ::google::protobuf::uint8* us_gss_req_t::InternalSerializeWithCachedSizesToArray( |
3636 | 0 | bool deterministic, ::google::protobuf::uint8* target) const { |
3637 | 0 | (void)deterministic; // Unused |
3638 | | // @@protoc_insertion_point(serialize_to_array_start:gss.message.us_gss_req_t) |
3639 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
3640 | 0 | (void) cached_has_bits; |
3641 | |
|
3642 | 0 | cached_has_bits = _has_bits_[0]; |
3643 | | // required string OriginQuery = 1; |
3644 | 0 | if (cached_has_bits & 0x00000001u) { |
3645 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3646 | 0 | this->originquery().data(), static_cast<int>(this->originquery().length()), |
3647 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3648 | 0 | "gss.message.us_gss_req_t.OriginQuery"); |
3649 | 0 | target = |
3650 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3651 | 0 | 1, this->originquery(), target); |
3652 | 0 | } |
3653 | | |
3654 | | // required int32 UserIP = 2; |
3655 | 0 | if (cached_has_bits & 0x00040000u) { |
3656 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->userip(), target); |
3657 | 0 | } |
3658 | | |
3659 | | // required int32 TimingNeed = 3; |
3660 | 0 | if (cached_has_bits & 0x00080000u) { |
3661 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->timingneed(), target); |
3662 | 0 | } |
3663 | | |
3664 | | // optional uint64 QueryID64 = 4 [default = 0]; |
3665 | 0 | if (cached_has_bits & 0x00100000u) { |
3666 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->queryid64(), target); |
3667 | 0 | } |
3668 | | |
3669 | | // optional string ClientName = 5 [default = "unknow"]; |
3670 | 0 | if (cached_has_bits & 0x00000002u) { |
3671 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3672 | 0 | this->clientname().data(), static_cast<int>(this->clientname().length()), |
3673 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3674 | 0 | "gss.message.us_gss_req_t.ClientName"); |
3675 | 0 | target = |
3676 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3677 | 0 | 5, this->clientname(), target); |
3678 | 0 | } |
3679 | | |
3680 | | // optional int32 ResNum = 11 [default = 20]; |
3681 | 0 | if (cached_has_bits & 0x80000000u) { |
3682 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->resnum(), target); |
3683 | 0 | } |
3684 | | |
3685 | | // optional int32 PageNum = 12 [default = 0]; |
3686 | 0 | if (cached_has_bits & 0x00200000u) { |
3687 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->pagenum(), target); |
3688 | 0 | } |
3689 | | |
3690 | | // optional int32 ctpl_or_php = 13 [default = 0]; |
3691 | 0 | if (cached_has_bits & 0x00400000u) { |
3692 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->ctpl_or_php(), target); |
3693 | 0 | } |
3694 | | |
3695 | | // optional int32 SeType = 14 [default = 0]; |
3696 | 0 | if (cached_has_bits & 0x00800000u) { |
3697 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->setype(), target); |
3698 | 0 | } |
3699 | | |
3700 | | // required string TemplateName = 15; |
3701 | 0 | if (cached_has_bits & 0x00000004u) { |
3702 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3703 | 0 | this->templatename().data(), static_cast<int>(this->templatename().length()), |
3704 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3705 | 0 | "gss.message.us_gss_req_t.TemplateName"); |
3706 | 0 | target = |
3707 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3708 | 0 | 15, this->templatename(), target); |
3709 | 0 | } |
3710 | | |
3711 | | // repeated int32 sid = 16; |
3712 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
3713 | 0 | WriteInt32ToArray(16, this->sid_, target); |
3714 | | |
3715 | | // optional bytes UrlParaPack = 17; |
3716 | 0 | if (cached_has_bits & 0x00000008u) { |
3717 | 0 | target = |
3718 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( |
3719 | 0 | 17, this->urlparapack(), target); |
3720 | 0 | } |
3721 | | |
3722 | | // optional bytes gssqa = 18; |
3723 | 0 | if (cached_has_bits & 0x00000010u) { |
3724 | 0 | target = |
3725 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( |
3726 | 0 | 18, this->gssqa(), target); |
3727 | 0 | } |
3728 | | |
3729 | | // optional string Cookie = 19; |
3730 | 0 | if (cached_has_bits & 0x00000020u) { |
3731 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3732 | 0 | this->cookie().data(), static_cast<int>(this->cookie().length()), |
3733 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3734 | 0 | "gss.message.us_gss_req_t.Cookie"); |
3735 | 0 | target = |
3736 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3737 | 0 | 19, this->cookie(), target); |
3738 | 0 | } |
3739 | | |
3740 | | // optional string province_name = 31; |
3741 | 0 | if (cached_has_bits & 0x00000040u) { |
3742 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3743 | 0 | this->province_name().data(), static_cast<int>(this->province_name().length()), |
3744 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3745 | 0 | "gss.message.us_gss_req_t.province_name"); |
3746 | 0 | target = |
3747 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3748 | 0 | 31, this->province_name(), target); |
3749 | 0 | } |
3750 | | |
3751 | | // optional string city_name = 32; |
3752 | 0 | if (cached_has_bits & 0x00000080u) { |
3753 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3754 | 0 | this->city_name().data(), static_cast<int>(this->city_name().length()), |
3755 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3756 | 0 | "gss.message.us_gss_req_t.city_name"); |
3757 | 0 | target = |
3758 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3759 | 0 | 32, this->city_name(), target); |
3760 | 0 | } |
3761 | | |
3762 | | // optional string isp_name = 33; |
3763 | 0 | if (cached_has_bits & 0x00000100u) { |
3764 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3765 | 0 | this->isp_name().data(), static_cast<int>(this->isp_name().length()), |
3766 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3767 | 0 | "gss.message.us_gss_req_t.isp_name"); |
3768 | 0 | target = |
3769 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3770 | 0 | 33, this->isp_name(), target); |
3771 | 0 | } |
3772 | | |
3773 | | // required uint32 SrcNum = 34; |
3774 | 0 | if (cached_has_bits & 0x01000000u) { |
3775 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(34, this->srcnum(), target); |
3776 | 0 | } |
3777 | | |
3778 | | // optional string From = 35 [default = "www"]; |
3779 | 0 | if (cached_has_bits & 0x00000200u) { |
3780 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3781 | 0 | this->from().data(), static_cast<int>(this->from().length()), |
3782 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3783 | 0 | "gss.message.us_gss_req_t.From"); |
3784 | 0 | target = |
3785 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3786 | 0 | 35, this->from(), target); |
3787 | 0 | } |
3788 | | |
3789 | | // optional string Fmt = 36 [default = "html"]; |
3790 | 0 | if (cached_has_bits & 0x00000400u) { |
3791 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3792 | 0 | this->fmt().data(), static_cast<int>(this->fmt().length()), |
3793 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3794 | 0 | "gss.message.us_gss_req_t.Fmt"); |
3795 | 0 | target = |
3796 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3797 | 0 | 36, this->fmt(), target); |
3798 | 0 | } |
3799 | | |
3800 | | // optional bytes HighLight = 37; |
3801 | 0 | if (cached_has_bits & 0x00000800u) { |
3802 | 0 | target = |
3803 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( |
3804 | 0 | 37, this->highlight(), target); |
3805 | 0 | } |
3806 | | |
3807 | | // optional int32 NeedHilightStr = 38 [default = 0]; |
3808 | 0 | if (cached_has_bits & 0x08000000u) { |
3809 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(38, this->needhilightstr(), target); |
3810 | 0 | } |
3811 | | |
3812 | | // repeated .gss.message.gss_src_req_t SrcArr = 39; |
3813 | 0 | for (unsigned int i = 0, |
3814 | 0 | n = static_cast<unsigned int>(this->srcarr_size()); i < n; i++) { |
3815 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
3816 | 0 | InternalWriteMessageToArray( |
3817 | 0 | 39, this->srcarr(static_cast<int>(i)), deterministic, target); |
3818 | 0 | } |
3819 | | |
3820 | | // optional int64 resultLang = 40; |
3821 | 0 | if (cached_has_bits & 0x02000000u) { |
3822 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(40, this->resultlang(), target); |
3823 | 0 | } |
3824 | | |
3825 | | // optional int64 resultLocale = 41; |
3826 | 0 | if (cached_has_bits & 0x04000000u) { |
3827 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(41, this->resultlocale(), target); |
3828 | 0 | } |
3829 | | |
3830 | | // repeated .gss.message.app_info_t AppInfoArr = 42; |
3831 | 0 | for (unsigned int i = 0, |
3832 | 0 | n = static_cast<unsigned int>(this->appinfoarr_size()); i < n; i++) { |
3833 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
3834 | 0 | InternalWriteMessageToArray( |
3835 | 0 | 42, this->appinfoarr(static_cast<int>(i)), deterministic, target); |
3836 | 0 | } |
3837 | | |
3838 | | // optional .gss.message.ua_info_t uaInfo = 43; |
3839 | 0 | if (cached_has_bits & 0x00010000u) { |
3840 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
3841 | 0 | InternalWriteMessageToArray( |
3842 | 0 | 43, this->_internal_uainfo(), deterministic, target); |
3843 | 0 | } |
3844 | | |
3845 | | // optional string useragent_full = 44; |
3846 | 0 | if (cached_has_bits & 0x00001000u) { |
3847 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3848 | 0 | this->useragent_full().data(), static_cast<int>(this->useragent_full().length()), |
3849 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3850 | 0 | "gss.message.us_gss_req_t.useragent_full"); |
3851 | 0 | target = |
3852 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3853 | 0 | 44, this->useragent_full(), target); |
3854 | 0 | } |
3855 | | |
3856 | | // optional int32 uid = 45; |
3857 | 0 | if (cached_has_bits & 0x10000000u) { |
3858 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(45, this->uid(), target); |
3859 | 0 | } |
3860 | | |
3861 | | // optional string uname = 46; |
3862 | 0 | if (cached_has_bits & 0x00002000u) { |
3863 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3864 | 0 | this->uname().data(), static_cast<int>(this->uname().length()), |
3865 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3866 | 0 | "gss.message.us_gss_req_t.uname"); |
3867 | 0 | target = |
3868 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3869 | 0 | 46, this->uname(), target); |
3870 | 0 | } |
3871 | | |
3872 | | // optional int32 open_gssda_recall = 47; |
3873 | 0 | if (cached_has_bits & 0x20000000u) { |
3874 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(47, this->open_gssda_recall(), target); |
3875 | 0 | } |
3876 | | |
3877 | | // optional int32 prefetch_flag = 48; |
3878 | 0 | if (cached_has_bits & 0x40000000u) { |
3879 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(48, this->prefetch_flag(), target); |
3880 | 0 | } |
3881 | | |
3882 | | // optional string service_name = 71; |
3883 | 0 | if (cached_has_bits & 0x00004000u) { |
3884 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3885 | 0 | this->service_name().data(), static_cast<int>(this->service_name().length()), |
3886 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3887 | 0 | "gss.message.us_gss_req_t.service_name"); |
3888 | 0 | target = |
3889 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3890 | 0 | 71, this->service_name(), target); |
3891 | 0 | } |
3892 | | |
3893 | | // optional string caller = 72; |
3894 | 0 | if (cached_has_bits & 0x00008000u) { |
3895 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
3896 | 0 | this->caller().data(), static_cast<int>(this->caller().length()), |
3897 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
3898 | 0 | "gss.message.us_gss_req_t.caller"); |
3899 | 0 | target = |
3900 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
3901 | 0 | 72, this->caller(), target); |
3902 | 0 | } |
3903 | | |
3904 | | // optional .gss.message.UserAgent user_agent = 73; |
3905 | 0 | if (cached_has_bits & 0x00020000u) { |
3906 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
3907 | 0 | InternalWriteMessageToArray( |
3908 | 0 | 73, this->_internal_user_agent(), deterministic, target); |
3909 | 0 | } |
3910 | |
|
3911 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
3912 | 0 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
3913 | 0 | _internal_metadata_.unknown_fields(), target); |
3914 | 0 | } |
3915 | | // @@protoc_insertion_point(serialize_to_array_end:gss.message.us_gss_req_t) |
3916 | 0 | return target; |
3917 | 0 | } |
3918 | | |
3919 | 0 | size_t us_gss_req_t::RequiredFieldsByteSizeFallback() const { |
3920 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:gss.message.us_gss_req_t) |
3921 | 0 | size_t total_size = 0; |
3922 | |
|
3923 | 0 | if (has_originquery()) { |
3924 | | // required string OriginQuery = 1; |
3925 | 0 | total_size += 1 + |
3926 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
3927 | 0 | this->originquery()); |
3928 | 0 | } |
3929 | |
|
3930 | 0 | if (has_templatename()) { |
3931 | | // required string TemplateName = 15; |
3932 | 0 | total_size += 1 + |
3933 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
3934 | 0 | this->templatename()); |
3935 | 0 | } |
3936 | |
|
3937 | 0 | if (has_userip()) { |
3938 | | // required int32 UserIP = 2; |
3939 | 0 | total_size += 1 + |
3940 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
3941 | 0 | this->userip()); |
3942 | 0 | } |
3943 | |
|
3944 | 0 | if (has_timingneed()) { |
3945 | | // required int32 TimingNeed = 3; |
3946 | 0 | total_size += 1 + |
3947 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
3948 | 0 | this->timingneed()); |
3949 | 0 | } |
3950 | |
|
3951 | 0 | if (has_srcnum()) { |
3952 | | // required uint32 SrcNum = 34; |
3953 | 0 | total_size += 2 + |
3954 | 0 | ::google::protobuf::internal::WireFormatLite::UInt32Size( |
3955 | 0 | this->srcnum()); |
3956 | 0 | } |
3957 | |
|
3958 | 0 | return total_size; |
3959 | 0 | } |
3960 | 0 | size_t us_gss_req_t::ByteSizeLong() const { |
3961 | | // @@protoc_insertion_point(message_byte_size_start:gss.message.us_gss_req_t) |
3962 | 0 | size_t total_size = 0; |
3963 | |
|
3964 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
3965 | 0 | total_size += |
3966 | 0 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
3967 | 0 | _internal_metadata_.unknown_fields()); |
3968 | 0 | } |
3969 | 0 | if (((_has_bits_[0] & 0x010c0005) ^ 0x010c0005) == 0) { // All required fields are present. |
3970 | | // required string OriginQuery = 1; |
3971 | 0 | total_size += 1 + |
3972 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
3973 | 0 | this->originquery()); |
3974 | | |
3975 | | // required string TemplateName = 15; |
3976 | 0 | total_size += 1 + |
3977 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
3978 | 0 | this->templatename()); |
3979 | | |
3980 | | // required int32 UserIP = 2; |
3981 | 0 | total_size += 1 + |
3982 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
3983 | 0 | this->userip()); |
3984 | | |
3985 | | // required int32 TimingNeed = 3; |
3986 | 0 | total_size += 1 + |
3987 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
3988 | 0 | this->timingneed()); |
3989 | | |
3990 | | // required uint32 SrcNum = 34; |
3991 | 0 | total_size += 2 + |
3992 | 0 | ::google::protobuf::internal::WireFormatLite::UInt32Size( |
3993 | 0 | this->srcnum()); |
3994 | |
|
3995 | 0 | } else { |
3996 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
3997 | 0 | } |
3998 | | // repeated int32 sid = 16; |
3999 | 0 | { |
4000 | 0 | size_t data_size = ::google::protobuf::internal::WireFormatLite:: |
4001 | 0 | Int32Size(this->sid_); |
4002 | 0 | total_size += 2 * |
4003 | 0 | ::google::protobuf::internal::FromIntSize(this->sid_size()); |
4004 | 0 | total_size += data_size; |
4005 | 0 | } |
4006 | | |
4007 | | // repeated .gss.message.gss_src_req_t SrcArr = 39; |
4008 | 0 | { |
4009 | 0 | unsigned int count = static_cast<unsigned int>(this->srcarr_size()); |
4010 | 0 | total_size += 2UL * count; |
4011 | 0 | for (unsigned int i = 0; i < count; i++) { |
4012 | 0 | total_size += |
4013 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize( |
4014 | 0 | this->srcarr(static_cast<int>(i))); |
4015 | 0 | } |
4016 | 0 | } |
4017 | | |
4018 | | // repeated .gss.message.app_info_t AppInfoArr = 42; |
4019 | 0 | { |
4020 | 0 | unsigned int count = static_cast<unsigned int>(this->appinfoarr_size()); |
4021 | 0 | total_size += 2UL * count; |
4022 | 0 | for (unsigned int i = 0; i < count; i++) { |
4023 | 0 | total_size += |
4024 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize( |
4025 | 0 | this->appinfoarr(static_cast<int>(i))); |
4026 | 0 | } |
4027 | 0 | } |
4028 | | |
4029 | | // optional string ClientName = 5 [default = "unknow"]; |
4030 | 0 | if (has_clientname()) { |
4031 | 0 | total_size += 1 + |
4032 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4033 | 0 | this->clientname()); |
4034 | 0 | } |
4035 | |
|
4036 | 0 | if (_has_bits_[0 / 32] & 248u) { |
4037 | | // optional bytes UrlParaPack = 17; |
4038 | 0 | if (has_urlparapack()) { |
4039 | 0 | total_size += 2 + |
4040 | 0 | ::google::protobuf::internal::WireFormatLite::BytesSize( |
4041 | 0 | this->urlparapack()); |
4042 | 0 | } |
4043 | | |
4044 | | // optional bytes gssqa = 18; |
4045 | 0 | if (has_gssqa()) { |
4046 | 0 | total_size += 2 + |
4047 | 0 | ::google::protobuf::internal::WireFormatLite::BytesSize( |
4048 | 0 | this->gssqa()); |
4049 | 0 | } |
4050 | | |
4051 | | // optional string Cookie = 19; |
4052 | 0 | if (has_cookie()) { |
4053 | 0 | total_size += 2 + |
4054 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4055 | 0 | this->cookie()); |
4056 | 0 | } |
4057 | | |
4058 | | // optional string province_name = 31; |
4059 | 0 | if (has_province_name()) { |
4060 | 0 | total_size += 2 + |
4061 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4062 | 0 | this->province_name()); |
4063 | 0 | } |
4064 | | |
4065 | | // optional string city_name = 32; |
4066 | 0 | if (has_city_name()) { |
4067 | 0 | total_size += 2 + |
4068 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4069 | 0 | this->city_name()); |
4070 | 0 | } |
4071 | |
|
4072 | 0 | } |
4073 | 0 | if (_has_bits_[8 / 32] & 65280u) { |
4074 | | // optional string isp_name = 33; |
4075 | 0 | if (has_isp_name()) { |
4076 | 0 | total_size += 2 + |
4077 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4078 | 0 | this->isp_name()); |
4079 | 0 | } |
4080 | | |
4081 | | // optional string From = 35 [default = "www"]; |
4082 | 0 | if (has_from()) { |
4083 | 0 | total_size += 2 + |
4084 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4085 | 0 | this->from()); |
4086 | 0 | } |
4087 | | |
4088 | | // optional string Fmt = 36 [default = "html"]; |
4089 | 0 | if (has_fmt()) { |
4090 | 0 | total_size += 2 + |
4091 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4092 | 0 | this->fmt()); |
4093 | 0 | } |
4094 | | |
4095 | | // optional bytes HighLight = 37; |
4096 | 0 | if (has_highlight()) { |
4097 | 0 | total_size += 2 + |
4098 | 0 | ::google::protobuf::internal::WireFormatLite::BytesSize( |
4099 | 0 | this->highlight()); |
4100 | 0 | } |
4101 | | |
4102 | | // optional string useragent_full = 44; |
4103 | 0 | if (has_useragent_full()) { |
4104 | 0 | total_size += 2 + |
4105 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4106 | 0 | this->useragent_full()); |
4107 | 0 | } |
4108 | | |
4109 | | // optional string uname = 46; |
4110 | 0 | if (has_uname()) { |
4111 | 0 | total_size += 2 + |
4112 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4113 | 0 | this->uname()); |
4114 | 0 | } |
4115 | | |
4116 | | // optional string service_name = 71; |
4117 | 0 | if (has_service_name()) { |
4118 | 0 | total_size += 2 + |
4119 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4120 | 0 | this->service_name()); |
4121 | 0 | } |
4122 | | |
4123 | | // optional string caller = 72; |
4124 | 0 | if (has_caller()) { |
4125 | 0 | total_size += 2 + |
4126 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4127 | 0 | this->caller()); |
4128 | 0 | } |
4129 | |
|
4130 | 0 | } |
4131 | 0 | if (_has_bits_[16 / 32] & 196608u) { |
4132 | | // optional .gss.message.ua_info_t uaInfo = 43; |
4133 | 0 | if (has_uainfo()) { |
4134 | 0 | total_size += 2 + |
4135 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize( |
4136 | 0 | *uainfo_); |
4137 | 0 | } |
4138 | | |
4139 | | // optional .gss.message.UserAgent user_agent = 73; |
4140 | 0 | if (has_user_agent()) { |
4141 | 0 | total_size += 2 + |
4142 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize( |
4143 | 0 | *user_agent_); |
4144 | 0 | } |
4145 | |
|
4146 | 0 | } |
4147 | 0 | if (_has_bits_[16 / 32] & 15728640u) { |
4148 | | // optional uint64 QueryID64 = 4 [default = 0]; |
4149 | 0 | if (has_queryid64()) { |
4150 | 0 | total_size += 1 + |
4151 | 0 | ::google::protobuf::internal::WireFormatLite::UInt64Size( |
4152 | 0 | this->queryid64()); |
4153 | 0 | } |
4154 | | |
4155 | | // optional int32 PageNum = 12 [default = 0]; |
4156 | 0 | if (has_pagenum()) { |
4157 | 0 | total_size += 1 + |
4158 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
4159 | 0 | this->pagenum()); |
4160 | 0 | } |
4161 | | |
4162 | | // optional int32 ctpl_or_php = 13 [default = 0]; |
4163 | 0 | if (has_ctpl_or_php()) { |
4164 | 0 | total_size += 1 + |
4165 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
4166 | 0 | this->ctpl_or_php()); |
4167 | 0 | } |
4168 | | |
4169 | | // optional int32 SeType = 14 [default = 0]; |
4170 | 0 | if (has_setype()) { |
4171 | 0 | total_size += 1 + |
4172 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
4173 | 0 | this->setype()); |
4174 | 0 | } |
4175 | |
|
4176 | 0 | } |
4177 | 0 | if (_has_bits_[24 / 32] & 4261412864u) { |
4178 | | // optional int64 resultLang = 40; |
4179 | 0 | if (has_resultlang()) { |
4180 | 0 | total_size += 2 + |
4181 | 0 | ::google::protobuf::internal::WireFormatLite::Int64Size( |
4182 | 0 | this->resultlang()); |
4183 | 0 | } |
4184 | | |
4185 | | // optional int64 resultLocale = 41; |
4186 | 0 | if (has_resultlocale()) { |
4187 | 0 | total_size += 2 + |
4188 | 0 | ::google::protobuf::internal::WireFormatLite::Int64Size( |
4189 | 0 | this->resultlocale()); |
4190 | 0 | } |
4191 | | |
4192 | | // optional int32 NeedHilightStr = 38 [default = 0]; |
4193 | 0 | if (has_needhilightstr()) { |
4194 | 0 | total_size += 2 + |
4195 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
4196 | 0 | this->needhilightstr()); |
4197 | 0 | } |
4198 | | |
4199 | | // optional int32 uid = 45; |
4200 | 0 | if (has_uid()) { |
4201 | 0 | total_size += 2 + |
4202 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
4203 | 0 | this->uid()); |
4204 | 0 | } |
4205 | | |
4206 | | // optional int32 open_gssda_recall = 47; |
4207 | 0 | if (has_open_gssda_recall()) { |
4208 | 0 | total_size += 2 + |
4209 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
4210 | 0 | this->open_gssda_recall()); |
4211 | 0 | } |
4212 | | |
4213 | | // optional int32 prefetch_flag = 48; |
4214 | 0 | if (has_prefetch_flag()) { |
4215 | 0 | total_size += 2 + |
4216 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
4217 | 0 | this->prefetch_flag()); |
4218 | 0 | } |
4219 | | |
4220 | | // optional int32 ResNum = 11 [default = 20]; |
4221 | 0 | if (has_resnum()) { |
4222 | 0 | total_size += 1 + |
4223 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
4224 | 0 | this->resnum()); |
4225 | 0 | } |
4226 | |
|
4227 | 0 | } |
4228 | 0 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
4229 | 0 | SetCachedSize(cached_size); |
4230 | 0 | return total_size; |
4231 | 0 | } |
4232 | | |
4233 | 0 | void us_gss_req_t::MergeFrom(const ::google::protobuf::Message& from) { |
4234 | | // @@protoc_insertion_point(generalized_merge_from_start:gss.message.us_gss_req_t) |
4235 | 0 | GOOGLE_DCHECK_NE(&from, this); |
4236 | 0 | const us_gss_req_t* source = |
4237 | 0 | ::google::protobuf::internal::DynamicCastToGenerated<const us_gss_req_t>( |
4238 | 0 | &from); |
4239 | 0 | if (source == NULL) { |
4240 | | // @@protoc_insertion_point(generalized_merge_from_cast_fail:gss.message.us_gss_req_t) |
4241 | 0 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
4242 | 0 | } else { |
4243 | | // @@protoc_insertion_point(generalized_merge_from_cast_success:gss.message.us_gss_req_t) |
4244 | 0 | MergeFrom(*source); |
4245 | 0 | } |
4246 | 0 | } |
4247 | | |
4248 | 0 | void us_gss_req_t::MergeFrom(const us_gss_req_t& from) { |
4249 | | // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.us_gss_req_t) |
4250 | 0 | GOOGLE_DCHECK_NE(&from, this); |
4251 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4252 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
4253 | 0 | (void) cached_has_bits; |
4254 | |
|
4255 | 0 | sid_.MergeFrom(from.sid_); |
4256 | 0 | srcarr_.MergeFrom(from.srcarr_); |
4257 | 0 | appinfoarr_.MergeFrom(from.appinfoarr_); |
4258 | 0 | cached_has_bits = from._has_bits_[0]; |
4259 | 0 | if (cached_has_bits & 255u) { |
4260 | 0 | if (cached_has_bits & 0x00000001u) { |
4261 | 0 | set_has_originquery(); |
4262 | 0 | originquery_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.originquery_); |
4263 | 0 | } |
4264 | 0 | if (cached_has_bits & 0x00000002u) { |
4265 | 0 | set_has_clientname(); |
4266 | 0 | clientname_.AssignWithDefault(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_clientname_.get(), from.clientname_); |
4267 | 0 | } |
4268 | 0 | if (cached_has_bits & 0x00000004u) { |
4269 | 0 | set_has_templatename(); |
4270 | 0 | templatename_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.templatename_); |
4271 | 0 | } |
4272 | 0 | if (cached_has_bits & 0x00000008u) { |
4273 | 0 | set_has_urlparapack(); |
4274 | 0 | urlparapack_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.urlparapack_); |
4275 | 0 | } |
4276 | 0 | if (cached_has_bits & 0x00000010u) { |
4277 | 0 | set_has_gssqa(); |
4278 | 0 | gssqa_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.gssqa_); |
4279 | 0 | } |
4280 | 0 | if (cached_has_bits & 0x00000020u) { |
4281 | 0 | set_has_cookie(); |
4282 | 0 | cookie_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cookie_); |
4283 | 0 | } |
4284 | 0 | if (cached_has_bits & 0x00000040u) { |
4285 | 0 | set_has_province_name(); |
4286 | 0 | province_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.province_name_); |
4287 | 0 | } |
4288 | 0 | if (cached_has_bits & 0x00000080u) { |
4289 | 0 | set_has_city_name(); |
4290 | 0 | city_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.city_name_); |
4291 | 0 | } |
4292 | 0 | } |
4293 | 0 | if (cached_has_bits & 65280u) { |
4294 | 0 | if (cached_has_bits & 0x00000100u) { |
4295 | 0 | set_has_isp_name(); |
4296 | 0 | isp_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.isp_name_); |
4297 | 0 | } |
4298 | 0 | if (cached_has_bits & 0x00000200u) { |
4299 | 0 | set_has_from(); |
4300 | 0 | from_.AssignWithDefault(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_from_.get(), from.from_); |
4301 | 0 | } |
4302 | 0 | if (cached_has_bits & 0x00000400u) { |
4303 | 0 | set_has_fmt(); |
4304 | 0 | fmt_.AssignWithDefault(&::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_fmt_.get(), from.fmt_); |
4305 | 0 | } |
4306 | 0 | if (cached_has_bits & 0x00000800u) { |
4307 | 0 | set_has_highlight(); |
4308 | 0 | highlight_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.highlight_); |
4309 | 0 | } |
4310 | 0 | if (cached_has_bits & 0x00001000u) { |
4311 | 0 | set_has_useragent_full(); |
4312 | 0 | useragent_full_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.useragent_full_); |
4313 | 0 | } |
4314 | 0 | if (cached_has_bits & 0x00002000u) { |
4315 | 0 | set_has_uname(); |
4316 | 0 | uname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.uname_); |
4317 | 0 | } |
4318 | 0 | if (cached_has_bits & 0x00004000u) { |
4319 | 0 | set_has_service_name(); |
4320 | 0 | service_name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.service_name_); |
4321 | 0 | } |
4322 | 0 | if (cached_has_bits & 0x00008000u) { |
4323 | 0 | set_has_caller(); |
4324 | 0 | caller_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.caller_); |
4325 | 0 | } |
4326 | 0 | } |
4327 | 0 | if (cached_has_bits & 16711680u) { |
4328 | 0 | if (cached_has_bits & 0x00010000u) { |
4329 | 0 | mutable_uainfo()->::gss::message::ua_info_t::MergeFrom(from.uainfo()); |
4330 | 0 | } |
4331 | 0 | if (cached_has_bits & 0x00020000u) { |
4332 | 0 | mutable_user_agent()->::gss::message::UserAgent::MergeFrom(from.user_agent()); |
4333 | 0 | } |
4334 | 0 | if (cached_has_bits & 0x00040000u) { |
4335 | 0 | userip_ = from.userip_; |
4336 | 0 | } |
4337 | 0 | if (cached_has_bits & 0x00080000u) { |
4338 | 0 | timingneed_ = from.timingneed_; |
4339 | 0 | } |
4340 | 0 | if (cached_has_bits & 0x00100000u) { |
4341 | 0 | queryid64_ = from.queryid64_; |
4342 | 0 | } |
4343 | 0 | if (cached_has_bits & 0x00200000u) { |
4344 | 0 | pagenum_ = from.pagenum_; |
4345 | 0 | } |
4346 | 0 | if (cached_has_bits & 0x00400000u) { |
4347 | 0 | ctpl_or_php_ = from.ctpl_or_php_; |
4348 | 0 | } |
4349 | 0 | if (cached_has_bits & 0x00800000u) { |
4350 | 0 | setype_ = from.setype_; |
4351 | 0 | } |
4352 | 0 | _has_bits_[0] |= cached_has_bits; |
4353 | 0 | } |
4354 | 0 | if (cached_has_bits & 4278190080u) { |
4355 | 0 | if (cached_has_bits & 0x01000000u) { |
4356 | 0 | srcnum_ = from.srcnum_; |
4357 | 0 | } |
4358 | 0 | if (cached_has_bits & 0x02000000u) { |
4359 | 0 | resultlang_ = from.resultlang_; |
4360 | 0 | } |
4361 | 0 | if (cached_has_bits & 0x04000000u) { |
4362 | 0 | resultlocale_ = from.resultlocale_; |
4363 | 0 | } |
4364 | 0 | if (cached_has_bits & 0x08000000u) { |
4365 | 0 | needhilightstr_ = from.needhilightstr_; |
4366 | 0 | } |
4367 | 0 | if (cached_has_bits & 0x10000000u) { |
4368 | 0 | uid_ = from.uid_; |
4369 | 0 | } |
4370 | 0 | if (cached_has_bits & 0x20000000u) { |
4371 | 0 | open_gssda_recall_ = from.open_gssda_recall_; |
4372 | 0 | } |
4373 | 0 | if (cached_has_bits & 0x40000000u) { |
4374 | 0 | prefetch_flag_ = from.prefetch_flag_; |
4375 | 0 | } |
4376 | 0 | if (cached_has_bits & 0x80000000u) { |
4377 | 0 | resnum_ = from.resnum_; |
4378 | 0 | } |
4379 | 0 | _has_bits_[0] |= cached_has_bits; |
4380 | 0 | } |
4381 | 0 | } |
4382 | | |
4383 | 0 | void us_gss_req_t::CopyFrom(const ::google::protobuf::Message& from) { |
4384 | | // @@protoc_insertion_point(generalized_copy_from_start:gss.message.us_gss_req_t) |
4385 | 0 | if (&from == this) return; |
4386 | 0 | Clear(); |
4387 | 0 | MergeFrom(from); |
4388 | 0 | } |
4389 | | |
4390 | 0 | void us_gss_req_t::CopyFrom(const us_gss_req_t& from) { |
4391 | | // @@protoc_insertion_point(class_specific_copy_from_start:gss.message.us_gss_req_t) |
4392 | 0 | if (&from == this) return; |
4393 | 0 | Clear(); |
4394 | 0 | MergeFrom(from); |
4395 | 0 | } |
4396 | | |
4397 | 0 | bool us_gss_req_t::IsInitialized() const { |
4398 | 0 | if ((_has_bits_[0] & 0x010c0005) != 0x010c0005) return false; |
4399 | 0 | if (!::google::protobuf::internal::AllAreInitialized(this->appinfoarr())) return false; |
4400 | 0 | return true; |
4401 | 0 | } |
4402 | | |
4403 | 0 | void us_gss_req_t::Swap(us_gss_req_t* other) { |
4404 | 0 | if (other == this) return; |
4405 | 0 | InternalSwap(other); |
4406 | 0 | } |
4407 | 0 | void us_gss_req_t::InternalSwap(us_gss_req_t* other) { |
4408 | 0 | using std::swap; |
4409 | 0 | sid_.InternalSwap(&other->sid_); |
4410 | 0 | CastToBase(&srcarr_)->InternalSwap(CastToBase(&other->srcarr_)); |
4411 | 0 | CastToBase(&appinfoarr_)->InternalSwap(CastToBase(&other->appinfoarr_)); |
4412 | 0 | originquery_.Swap(&other->originquery_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4413 | 0 | GetArenaNoVirtual()); |
4414 | 0 | clientname_.Swap(&other->clientname_, &::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_clientname_.get(), |
4415 | 0 | GetArenaNoVirtual()); |
4416 | 0 | templatename_.Swap(&other->templatename_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4417 | 0 | GetArenaNoVirtual()); |
4418 | 0 | urlparapack_.Swap(&other->urlparapack_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4419 | 0 | GetArenaNoVirtual()); |
4420 | 0 | gssqa_.Swap(&other->gssqa_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4421 | 0 | GetArenaNoVirtual()); |
4422 | 0 | cookie_.Swap(&other->cookie_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4423 | 0 | GetArenaNoVirtual()); |
4424 | 0 | province_name_.Swap(&other->province_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4425 | 0 | GetArenaNoVirtual()); |
4426 | 0 | city_name_.Swap(&other->city_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4427 | 0 | GetArenaNoVirtual()); |
4428 | 0 | isp_name_.Swap(&other->isp_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4429 | 0 | GetArenaNoVirtual()); |
4430 | 0 | from_.Swap(&other->from_, &::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_from_.get(), |
4431 | 0 | GetArenaNoVirtual()); |
4432 | 0 | fmt_.Swap(&other->fmt_, &::gss::message::us_gss_req_t::_i_give_permission_to_break_this_code_default_fmt_.get(), |
4433 | 0 | GetArenaNoVirtual()); |
4434 | 0 | highlight_.Swap(&other->highlight_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4435 | 0 | GetArenaNoVirtual()); |
4436 | 0 | useragent_full_.Swap(&other->useragent_full_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4437 | 0 | GetArenaNoVirtual()); |
4438 | 0 | uname_.Swap(&other->uname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4439 | 0 | GetArenaNoVirtual()); |
4440 | 0 | service_name_.Swap(&other->service_name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4441 | 0 | GetArenaNoVirtual()); |
4442 | 0 | caller_.Swap(&other->caller_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4443 | 0 | GetArenaNoVirtual()); |
4444 | 0 | swap(uainfo_, other->uainfo_); |
4445 | 0 | swap(user_agent_, other->user_agent_); |
4446 | 0 | swap(userip_, other->userip_); |
4447 | 0 | swap(timingneed_, other->timingneed_); |
4448 | 0 | swap(queryid64_, other->queryid64_); |
4449 | 0 | swap(pagenum_, other->pagenum_); |
4450 | 0 | swap(ctpl_or_php_, other->ctpl_or_php_); |
4451 | 0 | swap(setype_, other->setype_); |
4452 | 0 | swap(srcnum_, other->srcnum_); |
4453 | 0 | swap(resultlang_, other->resultlang_); |
4454 | 0 | swap(resultlocale_, other->resultlocale_); |
4455 | 0 | swap(needhilightstr_, other->needhilightstr_); |
4456 | 0 | swap(uid_, other->uid_); |
4457 | 0 | swap(open_gssda_recall_, other->open_gssda_recall_); |
4458 | 0 | swap(prefetch_flag_, other->prefetch_flag_); |
4459 | 0 | swap(resnum_, other->resnum_); |
4460 | 0 | swap(_has_bits_[0], other->_has_bits_[0]); |
4461 | 0 | _internal_metadata_.Swap(&other->_internal_metadata_); |
4462 | 0 | } |
4463 | | |
4464 | 0 | ::google::protobuf::Metadata us_gss_req_t::GetMetadata() const { |
4465 | 0 | protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
4466 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; |
4467 | 0 | } |
4468 | | |
4469 | | |
4470 | | // =================================================================== |
4471 | | |
4472 | 2 | void UserAgent::InitAsDefaultInstance() { |
4473 | 2 | } |
4474 | | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
4475 | | const int UserAgent::kDspFieldNumber; |
4476 | | const int UserAgent::kOsFieldNumber; |
4477 | | const int UserAgent::kOsvFieldNumber; |
4478 | | const int UserAgent::kMbFieldNumber; |
4479 | | const int UserAgent::kMbvFieldNumber; |
4480 | | const int UserAgent::kApnFieldNumber; |
4481 | | const int UserAgent::kArnFieldNumber; |
4482 | | const int UserAgent::kCuidFieldNumber; |
4483 | | const int UserAgent::kNetTypeFieldNumber; |
4484 | | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
4485 | | |
4486 | | UserAgent::UserAgent() |
4487 | 2 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
4488 | 2 | ::google::protobuf::internal::InitSCC( |
4489 | 2 | &protobuf_message_2eproto::scc_info_UserAgent.base); |
4490 | 2 | SharedCtor(); |
4491 | | // @@protoc_insertion_point(constructor:gss.message.UserAgent) |
4492 | 2 | } |
4493 | | UserAgent::UserAgent(const UserAgent& from) |
4494 | 0 | : ::google::protobuf::Message(), |
4495 | 0 | _internal_metadata_(NULL), |
4496 | 0 | _has_bits_(from._has_bits_) { |
4497 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
4498 | 0 | dsp_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4499 | 0 | if (from.has_dsp()) { |
4500 | 0 | dsp_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dsp_); |
4501 | 0 | } |
4502 | 0 | os_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4503 | 0 | if (from.has_os()) { |
4504 | 0 | os_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.os_); |
4505 | 0 | } |
4506 | 0 | osv_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4507 | 0 | if (from.has_osv()) { |
4508 | 0 | osv_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.osv_); |
4509 | 0 | } |
4510 | 0 | mb_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4511 | 0 | if (from.has_mb()) { |
4512 | 0 | mb_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.mb_); |
4513 | 0 | } |
4514 | 0 | mbv_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4515 | 0 | if (from.has_mbv()) { |
4516 | 0 | mbv_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.mbv_); |
4517 | 0 | } |
4518 | 0 | cuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4519 | 0 | if (from.has_cuid()) { |
4520 | 0 | cuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cuid_); |
4521 | 0 | } |
4522 | 0 | net_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4523 | 0 | if (from.has_net_type()) { |
4524 | 0 | net_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.net_type_); |
4525 | 0 | } |
4526 | 0 | ::memcpy(&apn_, &from.apn_, |
4527 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&arn_) - |
4528 | 0 | reinterpret_cast<char*>(&apn_)) + sizeof(arn_)); |
4529 | | // @@protoc_insertion_point(copy_constructor:gss.message.UserAgent) |
4530 | 0 | } |
4531 | | |
4532 | 2 | void UserAgent::SharedCtor() { |
4533 | 2 | dsp_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4534 | 2 | os_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4535 | 2 | osv_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4536 | 2 | mb_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4537 | 2 | mbv_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4538 | 2 | cuid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4539 | 2 | net_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4540 | 2 | ::memset(&apn_, 0, static_cast<size_t>( |
4541 | 2 | reinterpret_cast<char*>(&arn_) - |
4542 | 2 | reinterpret_cast<char*>(&apn_)) + sizeof(arn_)); |
4543 | 2 | } |
4544 | | |
4545 | 0 | UserAgent::~UserAgent() { |
4546 | | // @@protoc_insertion_point(destructor:gss.message.UserAgent) |
4547 | 0 | SharedDtor(); |
4548 | 0 | } |
4549 | | |
4550 | 0 | void UserAgent::SharedDtor() { |
4551 | 0 | dsp_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4552 | 0 | os_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4553 | 0 | osv_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4554 | 0 | mb_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4555 | 0 | mbv_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4556 | 0 | cuid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4557 | 0 | net_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4558 | 0 | } |
4559 | | |
4560 | 0 | void UserAgent::SetCachedSize(int size) const { |
4561 | 0 | _cached_size_.Set(size); |
4562 | 0 | } |
4563 | 0 | const ::google::protobuf::Descriptor* UserAgent::descriptor() { |
4564 | 0 | ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
4565 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
4566 | 0 | } |
4567 | | |
4568 | 0 | const UserAgent& UserAgent::default_instance() { |
4569 | 0 | ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_UserAgent.base); |
4570 | 0 | return *internal_default_instance(); |
4571 | 0 | } |
4572 | | |
4573 | | |
4574 | 0 | void UserAgent::Clear() { |
4575 | | // @@protoc_insertion_point(message_clear_start:gss.message.UserAgent) |
4576 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
4577 | | // Prevent compiler warnings about cached_has_bits being unused |
4578 | 0 | (void) cached_has_bits; |
4579 | |
|
4580 | 0 | cached_has_bits = _has_bits_[0]; |
4581 | 0 | if (cached_has_bits & 127u) { |
4582 | 0 | if (cached_has_bits & 0x00000001u) { |
4583 | 0 | dsp_.ClearNonDefaultToEmptyNoArena(); |
4584 | 0 | } |
4585 | 0 | if (cached_has_bits & 0x00000002u) { |
4586 | 0 | os_.ClearNonDefaultToEmptyNoArena(); |
4587 | 0 | } |
4588 | 0 | if (cached_has_bits & 0x00000004u) { |
4589 | 0 | osv_.ClearNonDefaultToEmptyNoArena(); |
4590 | 0 | } |
4591 | 0 | if (cached_has_bits & 0x00000008u) { |
4592 | 0 | mb_.ClearNonDefaultToEmptyNoArena(); |
4593 | 0 | } |
4594 | 0 | if (cached_has_bits & 0x00000010u) { |
4595 | 0 | mbv_.ClearNonDefaultToEmptyNoArena(); |
4596 | 0 | } |
4597 | 0 | if (cached_has_bits & 0x00000020u) { |
4598 | 0 | cuid_.ClearNonDefaultToEmptyNoArena(); |
4599 | 0 | } |
4600 | 0 | if (cached_has_bits & 0x00000040u) { |
4601 | 0 | net_type_.ClearNonDefaultToEmptyNoArena(); |
4602 | 0 | } |
4603 | 0 | } |
4604 | 0 | apn_ = 0; |
4605 | 0 | arn_ = 0; |
4606 | 0 | _has_bits_.Clear(); |
4607 | 0 | _internal_metadata_.Clear(); |
4608 | 0 | } |
4609 | | |
4610 | | bool UserAgent::MergePartialFromCodedStream( |
4611 | 0 | ::google::protobuf::io::CodedInputStream* input) { |
4612 | 0 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
4613 | 0 | ::google::protobuf::uint32 tag; |
4614 | | // @@protoc_insertion_point(parse_start:gss.message.UserAgent) |
4615 | 0 | for (;;) { |
4616 | 0 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
4617 | 0 | tag = p.first; |
4618 | 0 | if (!p.second) goto handle_unusual; |
4619 | 0 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
4620 | | // optional string dsp = 1; |
4621 | 0 | case 1: { |
4622 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
4623 | 0 | static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
4624 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
4625 | 0 | input, this->mutable_dsp())); |
4626 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4627 | 0 | this->dsp().data(), static_cast<int>(this->dsp().length()), |
4628 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
4629 | 0 | "gss.message.UserAgent.dsp"); |
4630 | 0 | } else { |
4631 | 0 | goto handle_unusual; |
4632 | 0 | } |
4633 | 0 | break; |
4634 | 0 | } |
4635 | | |
4636 | | // optional string os = 2; |
4637 | 0 | case 2: { |
4638 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
4639 | 0 | static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
4640 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
4641 | 0 | input, this->mutable_os())); |
4642 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4643 | 0 | this->os().data(), static_cast<int>(this->os().length()), |
4644 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
4645 | 0 | "gss.message.UserAgent.os"); |
4646 | 0 | } else { |
4647 | 0 | goto handle_unusual; |
4648 | 0 | } |
4649 | 0 | break; |
4650 | 0 | } |
4651 | | |
4652 | | // optional string osv = 3; |
4653 | 0 | case 3: { |
4654 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
4655 | 0 | static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
4656 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
4657 | 0 | input, this->mutable_osv())); |
4658 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4659 | 0 | this->osv().data(), static_cast<int>(this->osv().length()), |
4660 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
4661 | 0 | "gss.message.UserAgent.osv"); |
4662 | 0 | } else { |
4663 | 0 | goto handle_unusual; |
4664 | 0 | } |
4665 | 0 | break; |
4666 | 0 | } |
4667 | | |
4668 | | // optional string mb = 4; |
4669 | 0 | case 4: { |
4670 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
4671 | 0 | static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { |
4672 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
4673 | 0 | input, this->mutable_mb())); |
4674 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4675 | 0 | this->mb().data(), static_cast<int>(this->mb().length()), |
4676 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
4677 | 0 | "gss.message.UserAgent.mb"); |
4678 | 0 | } else { |
4679 | 0 | goto handle_unusual; |
4680 | 0 | } |
4681 | 0 | break; |
4682 | 0 | } |
4683 | | |
4684 | | // optional string mbv = 5; |
4685 | 0 | case 5: { |
4686 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
4687 | 0 | static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { |
4688 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
4689 | 0 | input, this->mutable_mbv())); |
4690 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4691 | 0 | this->mbv().data(), static_cast<int>(this->mbv().length()), |
4692 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
4693 | 0 | "gss.message.UserAgent.mbv"); |
4694 | 0 | } else { |
4695 | 0 | goto handle_unusual; |
4696 | 0 | } |
4697 | 0 | break; |
4698 | 0 | } |
4699 | | |
4700 | | // optional int32 apn = 6; |
4701 | 0 | case 6: { |
4702 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
4703 | 0 | static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { |
4704 | 0 | set_has_apn(); |
4705 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
4706 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
4707 | 0 | input, &apn_))); |
4708 | 0 | } else { |
4709 | 0 | goto handle_unusual; |
4710 | 0 | } |
4711 | 0 | break; |
4712 | 0 | } |
4713 | | |
4714 | | // optional int32 arn = 7; |
4715 | 0 | case 7: { |
4716 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
4717 | 0 | static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { |
4718 | 0 | set_has_arn(); |
4719 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
4720 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
4721 | 0 | input, &arn_))); |
4722 | 0 | } else { |
4723 | 0 | goto handle_unusual; |
4724 | 0 | } |
4725 | 0 | break; |
4726 | 0 | } |
4727 | | |
4728 | | // optional string cuid = 8; |
4729 | 0 | case 8: { |
4730 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
4731 | 0 | static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) { |
4732 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
4733 | 0 | input, this->mutable_cuid())); |
4734 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4735 | 0 | this->cuid().data(), static_cast<int>(this->cuid().length()), |
4736 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
4737 | 0 | "gss.message.UserAgent.cuid"); |
4738 | 0 | } else { |
4739 | 0 | goto handle_unusual; |
4740 | 0 | } |
4741 | 0 | break; |
4742 | 0 | } |
4743 | | |
4744 | | // optional string net_type = 9; |
4745 | 0 | case 9: { |
4746 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
4747 | 0 | static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) { |
4748 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
4749 | 0 | input, this->mutable_net_type())); |
4750 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4751 | 0 | this->net_type().data(), static_cast<int>(this->net_type().length()), |
4752 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
4753 | 0 | "gss.message.UserAgent.net_type"); |
4754 | 0 | } else { |
4755 | 0 | goto handle_unusual; |
4756 | 0 | } |
4757 | 0 | break; |
4758 | 0 | } |
4759 | | |
4760 | 0 | default: { |
4761 | 0 | handle_unusual: |
4762 | 0 | if (tag == 0) { |
4763 | 0 | goto success; |
4764 | 0 | } |
4765 | 0 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
4766 | 0 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
4767 | 0 | break; |
4768 | 0 | } |
4769 | 0 | } |
4770 | 0 | } |
4771 | 0 | success: |
4772 | | // @@protoc_insertion_point(parse_success:gss.message.UserAgent) |
4773 | 0 | return true; |
4774 | 0 | failure: |
4775 | | // @@protoc_insertion_point(parse_failure:gss.message.UserAgent) |
4776 | 0 | return false; |
4777 | 0 | #undef DO_ |
4778 | 0 | } |
4779 | | |
4780 | | void UserAgent::SerializeWithCachedSizes( |
4781 | 0 | ::google::protobuf::io::CodedOutputStream* output) const { |
4782 | | // @@protoc_insertion_point(serialize_start:gss.message.UserAgent) |
4783 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
4784 | 0 | (void) cached_has_bits; |
4785 | |
|
4786 | 0 | cached_has_bits = _has_bits_[0]; |
4787 | | // optional string dsp = 1; |
4788 | 0 | if (cached_has_bits & 0x00000001u) { |
4789 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4790 | 0 | this->dsp().data(), static_cast<int>(this->dsp().length()), |
4791 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4792 | 0 | "gss.message.UserAgent.dsp"); |
4793 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
4794 | 0 | 1, this->dsp(), output); |
4795 | 0 | } |
4796 | | |
4797 | | // optional string os = 2; |
4798 | 0 | if (cached_has_bits & 0x00000002u) { |
4799 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4800 | 0 | this->os().data(), static_cast<int>(this->os().length()), |
4801 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4802 | 0 | "gss.message.UserAgent.os"); |
4803 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
4804 | 0 | 2, this->os(), output); |
4805 | 0 | } |
4806 | | |
4807 | | // optional string osv = 3; |
4808 | 0 | if (cached_has_bits & 0x00000004u) { |
4809 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4810 | 0 | this->osv().data(), static_cast<int>(this->osv().length()), |
4811 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4812 | 0 | "gss.message.UserAgent.osv"); |
4813 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
4814 | 0 | 3, this->osv(), output); |
4815 | 0 | } |
4816 | | |
4817 | | // optional string mb = 4; |
4818 | 0 | if (cached_has_bits & 0x00000008u) { |
4819 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4820 | 0 | this->mb().data(), static_cast<int>(this->mb().length()), |
4821 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4822 | 0 | "gss.message.UserAgent.mb"); |
4823 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
4824 | 0 | 4, this->mb(), output); |
4825 | 0 | } |
4826 | | |
4827 | | // optional string mbv = 5; |
4828 | 0 | if (cached_has_bits & 0x00000010u) { |
4829 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4830 | 0 | this->mbv().data(), static_cast<int>(this->mbv().length()), |
4831 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4832 | 0 | "gss.message.UserAgent.mbv"); |
4833 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
4834 | 0 | 5, this->mbv(), output); |
4835 | 0 | } |
4836 | | |
4837 | | // optional int32 apn = 6; |
4838 | 0 | if (cached_has_bits & 0x00000080u) { |
4839 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->apn(), output); |
4840 | 0 | } |
4841 | | |
4842 | | // optional int32 arn = 7; |
4843 | 0 | if (cached_has_bits & 0x00000100u) { |
4844 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->arn(), output); |
4845 | 0 | } |
4846 | | |
4847 | | // optional string cuid = 8; |
4848 | 0 | if (cached_has_bits & 0x00000020u) { |
4849 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4850 | 0 | this->cuid().data(), static_cast<int>(this->cuid().length()), |
4851 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4852 | 0 | "gss.message.UserAgent.cuid"); |
4853 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
4854 | 0 | 8, this->cuid(), output); |
4855 | 0 | } |
4856 | | |
4857 | | // optional string net_type = 9; |
4858 | 0 | if (cached_has_bits & 0x00000040u) { |
4859 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4860 | 0 | this->net_type().data(), static_cast<int>(this->net_type().length()), |
4861 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4862 | 0 | "gss.message.UserAgent.net_type"); |
4863 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
4864 | 0 | 9, this->net_type(), output); |
4865 | 0 | } |
4866 | |
|
4867 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
4868 | 0 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
4869 | 0 | _internal_metadata_.unknown_fields(), output); |
4870 | 0 | } |
4871 | | // @@protoc_insertion_point(serialize_end:gss.message.UserAgent) |
4872 | 0 | } |
4873 | | |
4874 | | ::google::protobuf::uint8* UserAgent::InternalSerializeWithCachedSizesToArray( |
4875 | 0 | bool deterministic, ::google::protobuf::uint8* target) const { |
4876 | 0 | (void)deterministic; // Unused |
4877 | | // @@protoc_insertion_point(serialize_to_array_start:gss.message.UserAgent) |
4878 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
4879 | 0 | (void) cached_has_bits; |
4880 | |
|
4881 | 0 | cached_has_bits = _has_bits_[0]; |
4882 | | // optional string dsp = 1; |
4883 | 0 | if (cached_has_bits & 0x00000001u) { |
4884 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4885 | 0 | this->dsp().data(), static_cast<int>(this->dsp().length()), |
4886 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4887 | 0 | "gss.message.UserAgent.dsp"); |
4888 | 0 | target = |
4889 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
4890 | 0 | 1, this->dsp(), target); |
4891 | 0 | } |
4892 | | |
4893 | | // optional string os = 2; |
4894 | 0 | if (cached_has_bits & 0x00000002u) { |
4895 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4896 | 0 | this->os().data(), static_cast<int>(this->os().length()), |
4897 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4898 | 0 | "gss.message.UserAgent.os"); |
4899 | 0 | target = |
4900 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
4901 | 0 | 2, this->os(), target); |
4902 | 0 | } |
4903 | | |
4904 | | // optional string osv = 3; |
4905 | 0 | if (cached_has_bits & 0x00000004u) { |
4906 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4907 | 0 | this->osv().data(), static_cast<int>(this->osv().length()), |
4908 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4909 | 0 | "gss.message.UserAgent.osv"); |
4910 | 0 | target = |
4911 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
4912 | 0 | 3, this->osv(), target); |
4913 | 0 | } |
4914 | | |
4915 | | // optional string mb = 4; |
4916 | 0 | if (cached_has_bits & 0x00000008u) { |
4917 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4918 | 0 | this->mb().data(), static_cast<int>(this->mb().length()), |
4919 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4920 | 0 | "gss.message.UserAgent.mb"); |
4921 | 0 | target = |
4922 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
4923 | 0 | 4, this->mb(), target); |
4924 | 0 | } |
4925 | | |
4926 | | // optional string mbv = 5; |
4927 | 0 | if (cached_has_bits & 0x00000010u) { |
4928 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4929 | 0 | this->mbv().data(), static_cast<int>(this->mbv().length()), |
4930 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4931 | 0 | "gss.message.UserAgent.mbv"); |
4932 | 0 | target = |
4933 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
4934 | 0 | 5, this->mbv(), target); |
4935 | 0 | } |
4936 | | |
4937 | | // optional int32 apn = 6; |
4938 | 0 | if (cached_has_bits & 0x00000080u) { |
4939 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->apn(), target); |
4940 | 0 | } |
4941 | | |
4942 | | // optional int32 arn = 7; |
4943 | 0 | if (cached_has_bits & 0x00000100u) { |
4944 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->arn(), target); |
4945 | 0 | } |
4946 | | |
4947 | | // optional string cuid = 8; |
4948 | 0 | if (cached_has_bits & 0x00000020u) { |
4949 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4950 | 0 | this->cuid().data(), static_cast<int>(this->cuid().length()), |
4951 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4952 | 0 | "gss.message.UserAgent.cuid"); |
4953 | 0 | target = |
4954 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
4955 | 0 | 8, this->cuid(), target); |
4956 | 0 | } |
4957 | | |
4958 | | // optional string net_type = 9; |
4959 | 0 | if (cached_has_bits & 0x00000040u) { |
4960 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
4961 | 0 | this->net_type().data(), static_cast<int>(this->net_type().length()), |
4962 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
4963 | 0 | "gss.message.UserAgent.net_type"); |
4964 | 0 | target = |
4965 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
4966 | 0 | 9, this->net_type(), target); |
4967 | 0 | } |
4968 | |
|
4969 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
4970 | 0 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
4971 | 0 | _internal_metadata_.unknown_fields(), target); |
4972 | 0 | } |
4973 | | // @@protoc_insertion_point(serialize_to_array_end:gss.message.UserAgent) |
4974 | 0 | return target; |
4975 | 0 | } |
4976 | | |
4977 | 0 | size_t UserAgent::ByteSizeLong() const { |
4978 | | // @@protoc_insertion_point(message_byte_size_start:gss.message.UserAgent) |
4979 | 0 | size_t total_size = 0; |
4980 | |
|
4981 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
4982 | 0 | total_size += |
4983 | 0 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
4984 | 0 | _internal_metadata_.unknown_fields()); |
4985 | 0 | } |
4986 | 0 | if (_has_bits_[0 / 32] & 255u) { |
4987 | | // optional string dsp = 1; |
4988 | 0 | if (has_dsp()) { |
4989 | 0 | total_size += 1 + |
4990 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4991 | 0 | this->dsp()); |
4992 | 0 | } |
4993 | | |
4994 | | // optional string os = 2; |
4995 | 0 | if (has_os()) { |
4996 | 0 | total_size += 1 + |
4997 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
4998 | 0 | this->os()); |
4999 | 0 | } |
5000 | | |
5001 | | // optional string osv = 3; |
5002 | 0 | if (has_osv()) { |
5003 | 0 | total_size += 1 + |
5004 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
5005 | 0 | this->osv()); |
5006 | 0 | } |
5007 | | |
5008 | | // optional string mb = 4; |
5009 | 0 | if (has_mb()) { |
5010 | 0 | total_size += 1 + |
5011 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
5012 | 0 | this->mb()); |
5013 | 0 | } |
5014 | | |
5015 | | // optional string mbv = 5; |
5016 | 0 | if (has_mbv()) { |
5017 | 0 | total_size += 1 + |
5018 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
5019 | 0 | this->mbv()); |
5020 | 0 | } |
5021 | | |
5022 | | // optional string cuid = 8; |
5023 | 0 | if (has_cuid()) { |
5024 | 0 | total_size += 1 + |
5025 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
5026 | 0 | this->cuid()); |
5027 | 0 | } |
5028 | | |
5029 | | // optional string net_type = 9; |
5030 | 0 | if (has_net_type()) { |
5031 | 0 | total_size += 1 + |
5032 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
5033 | 0 | this->net_type()); |
5034 | 0 | } |
5035 | | |
5036 | | // optional int32 apn = 6; |
5037 | 0 | if (has_apn()) { |
5038 | 0 | total_size += 1 + |
5039 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
5040 | 0 | this->apn()); |
5041 | 0 | } |
5042 | |
|
5043 | 0 | } |
5044 | | // optional int32 arn = 7; |
5045 | 0 | if (has_arn()) { |
5046 | 0 | total_size += 1 + |
5047 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
5048 | 0 | this->arn()); |
5049 | 0 | } |
5050 | |
|
5051 | 0 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
5052 | 0 | SetCachedSize(cached_size); |
5053 | 0 | return total_size; |
5054 | 0 | } |
5055 | | |
5056 | 0 | void UserAgent::MergeFrom(const ::google::protobuf::Message& from) { |
5057 | | // @@protoc_insertion_point(generalized_merge_from_start:gss.message.UserAgent) |
5058 | 0 | GOOGLE_DCHECK_NE(&from, this); |
5059 | 0 | const UserAgent* source = |
5060 | 0 | ::google::protobuf::internal::DynamicCastToGenerated<const UserAgent>( |
5061 | 0 | &from); |
5062 | 0 | if (source == NULL) { |
5063 | | // @@protoc_insertion_point(generalized_merge_from_cast_fail:gss.message.UserAgent) |
5064 | 0 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
5065 | 0 | } else { |
5066 | | // @@protoc_insertion_point(generalized_merge_from_cast_success:gss.message.UserAgent) |
5067 | 0 | MergeFrom(*source); |
5068 | 0 | } |
5069 | 0 | } |
5070 | | |
5071 | 0 | void UserAgent::MergeFrom(const UserAgent& from) { |
5072 | | // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.UserAgent) |
5073 | 0 | GOOGLE_DCHECK_NE(&from, this); |
5074 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5075 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
5076 | 0 | (void) cached_has_bits; |
5077 | |
|
5078 | 0 | cached_has_bits = from._has_bits_[0]; |
5079 | 0 | if (cached_has_bits & 255u) { |
5080 | 0 | if (cached_has_bits & 0x00000001u) { |
5081 | 0 | set_has_dsp(); |
5082 | 0 | dsp_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.dsp_); |
5083 | 0 | } |
5084 | 0 | if (cached_has_bits & 0x00000002u) { |
5085 | 0 | set_has_os(); |
5086 | 0 | os_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.os_); |
5087 | 0 | } |
5088 | 0 | if (cached_has_bits & 0x00000004u) { |
5089 | 0 | set_has_osv(); |
5090 | 0 | osv_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.osv_); |
5091 | 0 | } |
5092 | 0 | if (cached_has_bits & 0x00000008u) { |
5093 | 0 | set_has_mb(); |
5094 | 0 | mb_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.mb_); |
5095 | 0 | } |
5096 | 0 | if (cached_has_bits & 0x00000010u) { |
5097 | 0 | set_has_mbv(); |
5098 | 0 | mbv_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.mbv_); |
5099 | 0 | } |
5100 | 0 | if (cached_has_bits & 0x00000020u) { |
5101 | 0 | set_has_cuid(); |
5102 | 0 | cuid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cuid_); |
5103 | 0 | } |
5104 | 0 | if (cached_has_bits & 0x00000040u) { |
5105 | 0 | set_has_net_type(); |
5106 | 0 | net_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.net_type_); |
5107 | 0 | } |
5108 | 0 | if (cached_has_bits & 0x00000080u) { |
5109 | 0 | apn_ = from.apn_; |
5110 | 0 | } |
5111 | 0 | _has_bits_[0] |= cached_has_bits; |
5112 | 0 | } |
5113 | 0 | if (cached_has_bits & 0x00000100u) { |
5114 | 0 | set_arn(from.arn()); |
5115 | 0 | } |
5116 | 0 | } |
5117 | | |
5118 | 0 | void UserAgent::CopyFrom(const ::google::protobuf::Message& from) { |
5119 | | // @@protoc_insertion_point(generalized_copy_from_start:gss.message.UserAgent) |
5120 | 0 | if (&from == this) return; |
5121 | 0 | Clear(); |
5122 | 0 | MergeFrom(from); |
5123 | 0 | } |
5124 | | |
5125 | 0 | void UserAgent::CopyFrom(const UserAgent& from) { |
5126 | | // @@protoc_insertion_point(class_specific_copy_from_start:gss.message.UserAgent) |
5127 | 0 | if (&from == this) return; |
5128 | 0 | Clear(); |
5129 | 0 | MergeFrom(from); |
5130 | 0 | } |
5131 | | |
5132 | 0 | bool UserAgent::IsInitialized() const { |
5133 | 0 | return true; |
5134 | 0 | } |
5135 | | |
5136 | 0 | void UserAgent::Swap(UserAgent* other) { |
5137 | 0 | if (other == this) return; |
5138 | 0 | InternalSwap(other); |
5139 | 0 | } |
5140 | 0 | void UserAgent::InternalSwap(UserAgent* other) { |
5141 | 0 | using std::swap; |
5142 | 0 | dsp_.Swap(&other->dsp_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5143 | 0 | GetArenaNoVirtual()); |
5144 | 0 | os_.Swap(&other->os_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5145 | 0 | GetArenaNoVirtual()); |
5146 | 0 | osv_.Swap(&other->osv_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5147 | 0 | GetArenaNoVirtual()); |
5148 | 0 | mb_.Swap(&other->mb_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5149 | 0 | GetArenaNoVirtual()); |
5150 | 0 | mbv_.Swap(&other->mbv_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5151 | 0 | GetArenaNoVirtual()); |
5152 | 0 | cuid_.Swap(&other->cuid_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5153 | 0 | GetArenaNoVirtual()); |
5154 | 0 | net_type_.Swap(&other->net_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5155 | 0 | GetArenaNoVirtual()); |
5156 | 0 | swap(apn_, other->apn_); |
5157 | 0 | swap(arn_, other->arn_); |
5158 | 0 | swap(_has_bits_[0], other->_has_bits_[0]); |
5159 | 0 | _internal_metadata_.Swap(&other->_internal_metadata_); |
5160 | 0 | } |
5161 | | |
5162 | 0 | ::google::protobuf::Metadata UserAgent::GetMetadata() const { |
5163 | 0 | protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
5164 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; |
5165 | 0 | } |
5166 | | |
5167 | | |
5168 | | // =================================================================== |
5169 | | |
5170 | 2 | void sub_url_t::InitAsDefaultInstance() { |
5171 | 2 | } |
5172 | | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
5173 | | const int sub_url_t::kSubURLFieldNumber; |
5174 | | const int sub_url_t::kSubURIFieldNumber; |
5175 | | const int sub_url_t::kSubNameFieldNumber; |
5176 | | const int sub_url_t::kSubPathFieldNumber; |
5177 | | const int sub_url_t::kSiteIdFieldNumber; |
5178 | | const int sub_url_t::kSubExFieldNumber; |
5179 | | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
5180 | | |
5181 | | sub_url_t::sub_url_t() |
5182 | 2 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
5183 | 2 | ::google::protobuf::internal::InitSCC( |
5184 | 2 | &protobuf_message_2eproto::scc_info_sub_url_t.base); |
5185 | 2 | SharedCtor(); |
5186 | | // @@protoc_insertion_point(constructor:gss.message.sub_url_t) |
5187 | 2 | } |
5188 | | sub_url_t::sub_url_t(const sub_url_t& from) |
5189 | 0 | : ::google::protobuf::Message(), |
5190 | 0 | _internal_metadata_(NULL), |
5191 | 0 | _has_bits_(from._has_bits_) { |
5192 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5193 | 0 | suburl_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5194 | 0 | if (from.has_suburl()) { |
5195 | 0 | suburl_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.suburl_); |
5196 | 0 | } |
5197 | 0 | suburi_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5198 | 0 | if (from.has_suburi()) { |
5199 | 0 | suburi_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.suburi_); |
5200 | 0 | } |
5201 | 0 | subname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5202 | 0 | if (from.has_subname()) { |
5203 | 0 | subname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.subname_); |
5204 | 0 | } |
5205 | 0 | subpath_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5206 | 0 | if (from.has_subpath()) { |
5207 | 0 | subpath_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.subpath_); |
5208 | 0 | } |
5209 | 0 | subex_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5210 | 0 | if (from.has_subex()) { |
5211 | 0 | subex_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.subex_); |
5212 | 0 | } |
5213 | 0 | siteid_ = from.siteid_; |
5214 | | // @@protoc_insertion_point(copy_constructor:gss.message.sub_url_t) |
5215 | 0 | } |
5216 | | |
5217 | 2 | void sub_url_t::SharedCtor() { |
5218 | 2 | suburl_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5219 | 2 | suburi_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5220 | 2 | subname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5221 | 2 | subpath_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5222 | 2 | subex_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5223 | 2 | siteid_ = 0; |
5224 | 2 | } |
5225 | | |
5226 | 0 | sub_url_t::~sub_url_t() { |
5227 | | // @@protoc_insertion_point(destructor:gss.message.sub_url_t) |
5228 | 0 | SharedDtor(); |
5229 | 0 | } |
5230 | | |
5231 | 0 | void sub_url_t::SharedDtor() { |
5232 | 0 | suburl_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5233 | 0 | suburi_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5234 | 0 | subname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5235 | 0 | subpath_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5236 | 0 | subex_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5237 | 0 | } |
5238 | | |
5239 | 0 | void sub_url_t::SetCachedSize(int size) const { |
5240 | 0 | _cached_size_.Set(size); |
5241 | 0 | } |
5242 | 0 | const ::google::protobuf::Descriptor* sub_url_t::descriptor() { |
5243 | 0 | ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
5244 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
5245 | 0 | } |
5246 | | |
5247 | 0 | const sub_url_t& sub_url_t::default_instance() { |
5248 | 0 | ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_sub_url_t.base); |
5249 | 0 | return *internal_default_instance(); |
5250 | 0 | } |
5251 | | |
5252 | | |
5253 | 0 | void sub_url_t::Clear() { |
5254 | | // @@protoc_insertion_point(message_clear_start:gss.message.sub_url_t) |
5255 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
5256 | | // Prevent compiler warnings about cached_has_bits being unused |
5257 | 0 | (void) cached_has_bits; |
5258 | |
|
5259 | 0 | cached_has_bits = _has_bits_[0]; |
5260 | 0 | if (cached_has_bits & 31u) { |
5261 | 0 | if (cached_has_bits & 0x00000001u) { |
5262 | 0 | suburl_.ClearNonDefaultToEmptyNoArena(); |
5263 | 0 | } |
5264 | 0 | if (cached_has_bits & 0x00000002u) { |
5265 | 0 | suburi_.ClearNonDefaultToEmptyNoArena(); |
5266 | 0 | } |
5267 | 0 | if (cached_has_bits & 0x00000004u) { |
5268 | 0 | subname_.ClearNonDefaultToEmptyNoArena(); |
5269 | 0 | } |
5270 | 0 | if (cached_has_bits & 0x00000008u) { |
5271 | 0 | subpath_.ClearNonDefaultToEmptyNoArena(); |
5272 | 0 | } |
5273 | 0 | if (cached_has_bits & 0x00000010u) { |
5274 | 0 | subex_.ClearNonDefaultToEmptyNoArena(); |
5275 | 0 | } |
5276 | 0 | } |
5277 | 0 | siteid_ = 0; |
5278 | 0 | _has_bits_.Clear(); |
5279 | 0 | _internal_metadata_.Clear(); |
5280 | 0 | } |
5281 | | |
5282 | | bool sub_url_t::MergePartialFromCodedStream( |
5283 | 0 | ::google::protobuf::io::CodedInputStream* input) { |
5284 | 0 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
5285 | 0 | ::google::protobuf::uint32 tag; |
5286 | | // @@protoc_insertion_point(parse_start:gss.message.sub_url_t) |
5287 | 0 | for (;;) { |
5288 | 0 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
5289 | 0 | tag = p.first; |
5290 | 0 | if (!p.second) goto handle_unusual; |
5291 | 0 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
5292 | | // required string SubURL = 1; |
5293 | 0 | case 1: { |
5294 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5295 | 0 | static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
5296 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
5297 | 0 | input, this->mutable_suburl())); |
5298 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5299 | 0 | this->suburl().data(), static_cast<int>(this->suburl().length()), |
5300 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
5301 | 0 | "gss.message.sub_url_t.SubURL"); |
5302 | 0 | } else { |
5303 | 0 | goto handle_unusual; |
5304 | 0 | } |
5305 | 0 | break; |
5306 | 0 | } |
5307 | | |
5308 | | // optional string SubURI = 2; |
5309 | 0 | case 2: { |
5310 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5311 | 0 | static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
5312 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
5313 | 0 | input, this->mutable_suburi())); |
5314 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5315 | 0 | this->suburi().data(), static_cast<int>(this->suburi().length()), |
5316 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
5317 | 0 | "gss.message.sub_url_t.SubURI"); |
5318 | 0 | } else { |
5319 | 0 | goto handle_unusual; |
5320 | 0 | } |
5321 | 0 | break; |
5322 | 0 | } |
5323 | | |
5324 | | // optional string SubName = 3; |
5325 | 0 | case 3: { |
5326 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5327 | 0 | static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
5328 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
5329 | 0 | input, this->mutable_subname())); |
5330 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5331 | 0 | this->subname().data(), static_cast<int>(this->subname().length()), |
5332 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
5333 | 0 | "gss.message.sub_url_t.SubName"); |
5334 | 0 | } else { |
5335 | 0 | goto handle_unusual; |
5336 | 0 | } |
5337 | 0 | break; |
5338 | 0 | } |
5339 | | |
5340 | | // optional string SubPath = 4; |
5341 | 0 | case 4: { |
5342 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5343 | 0 | static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { |
5344 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
5345 | 0 | input, this->mutable_subpath())); |
5346 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5347 | 0 | this->subpath().data(), static_cast<int>(this->subpath().length()), |
5348 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
5349 | 0 | "gss.message.sub_url_t.SubPath"); |
5350 | 0 | } else { |
5351 | 0 | goto handle_unusual; |
5352 | 0 | } |
5353 | 0 | break; |
5354 | 0 | } |
5355 | | |
5356 | | // optional int32 SiteId = 5; |
5357 | 0 | case 5: { |
5358 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5359 | 0 | static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { |
5360 | 0 | set_has_siteid(); |
5361 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
5362 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
5363 | 0 | input, &siteid_))); |
5364 | 0 | } else { |
5365 | 0 | goto handle_unusual; |
5366 | 0 | } |
5367 | 0 | break; |
5368 | 0 | } |
5369 | | |
5370 | | // optional string SubEx = 6; |
5371 | 0 | case 6: { |
5372 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5373 | 0 | static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) { |
5374 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
5375 | 0 | input, this->mutable_subex())); |
5376 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5377 | 0 | this->subex().data(), static_cast<int>(this->subex().length()), |
5378 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
5379 | 0 | "gss.message.sub_url_t.SubEx"); |
5380 | 0 | } else { |
5381 | 0 | goto handle_unusual; |
5382 | 0 | } |
5383 | 0 | break; |
5384 | 0 | } |
5385 | | |
5386 | 0 | default: { |
5387 | 0 | handle_unusual: |
5388 | 0 | if (tag == 0) { |
5389 | 0 | goto success; |
5390 | 0 | } |
5391 | 0 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
5392 | 0 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
5393 | 0 | break; |
5394 | 0 | } |
5395 | 0 | } |
5396 | 0 | } |
5397 | 0 | success: |
5398 | | // @@protoc_insertion_point(parse_success:gss.message.sub_url_t) |
5399 | 0 | return true; |
5400 | 0 | failure: |
5401 | | // @@protoc_insertion_point(parse_failure:gss.message.sub_url_t) |
5402 | 0 | return false; |
5403 | 0 | #undef DO_ |
5404 | 0 | } |
5405 | | |
5406 | | void sub_url_t::SerializeWithCachedSizes( |
5407 | 0 | ::google::protobuf::io::CodedOutputStream* output) const { |
5408 | | // @@protoc_insertion_point(serialize_start:gss.message.sub_url_t) |
5409 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
5410 | 0 | (void) cached_has_bits; |
5411 | |
|
5412 | 0 | cached_has_bits = _has_bits_[0]; |
5413 | | // required string SubURL = 1; |
5414 | 0 | if (cached_has_bits & 0x00000001u) { |
5415 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5416 | 0 | this->suburl().data(), static_cast<int>(this->suburl().length()), |
5417 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
5418 | 0 | "gss.message.sub_url_t.SubURL"); |
5419 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
5420 | 0 | 1, this->suburl(), output); |
5421 | 0 | } |
5422 | | |
5423 | | // optional string SubURI = 2; |
5424 | 0 | if (cached_has_bits & 0x00000002u) { |
5425 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5426 | 0 | this->suburi().data(), static_cast<int>(this->suburi().length()), |
5427 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
5428 | 0 | "gss.message.sub_url_t.SubURI"); |
5429 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
5430 | 0 | 2, this->suburi(), output); |
5431 | 0 | } |
5432 | | |
5433 | | // optional string SubName = 3; |
5434 | 0 | if (cached_has_bits & 0x00000004u) { |
5435 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5436 | 0 | this->subname().data(), static_cast<int>(this->subname().length()), |
5437 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
5438 | 0 | "gss.message.sub_url_t.SubName"); |
5439 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
5440 | 0 | 3, this->subname(), output); |
5441 | 0 | } |
5442 | | |
5443 | | // optional string SubPath = 4; |
5444 | 0 | if (cached_has_bits & 0x00000008u) { |
5445 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5446 | 0 | this->subpath().data(), static_cast<int>(this->subpath().length()), |
5447 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
5448 | 0 | "gss.message.sub_url_t.SubPath"); |
5449 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
5450 | 0 | 4, this->subpath(), output); |
5451 | 0 | } |
5452 | | |
5453 | | // optional int32 SiteId = 5; |
5454 | 0 | if (cached_has_bits & 0x00000020u) { |
5455 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->siteid(), output); |
5456 | 0 | } |
5457 | | |
5458 | | // optional string SubEx = 6; |
5459 | 0 | if (cached_has_bits & 0x00000010u) { |
5460 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5461 | 0 | this->subex().data(), static_cast<int>(this->subex().length()), |
5462 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
5463 | 0 | "gss.message.sub_url_t.SubEx"); |
5464 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
5465 | 0 | 6, this->subex(), output); |
5466 | 0 | } |
5467 | |
|
5468 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
5469 | 0 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
5470 | 0 | _internal_metadata_.unknown_fields(), output); |
5471 | 0 | } |
5472 | | // @@protoc_insertion_point(serialize_end:gss.message.sub_url_t) |
5473 | 0 | } |
5474 | | |
5475 | | ::google::protobuf::uint8* sub_url_t::InternalSerializeWithCachedSizesToArray( |
5476 | 0 | bool deterministic, ::google::protobuf::uint8* target) const { |
5477 | 0 | (void)deterministic; // Unused |
5478 | | // @@protoc_insertion_point(serialize_to_array_start:gss.message.sub_url_t) |
5479 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
5480 | 0 | (void) cached_has_bits; |
5481 | |
|
5482 | 0 | cached_has_bits = _has_bits_[0]; |
5483 | | // required string SubURL = 1; |
5484 | 0 | if (cached_has_bits & 0x00000001u) { |
5485 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5486 | 0 | this->suburl().data(), static_cast<int>(this->suburl().length()), |
5487 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
5488 | 0 | "gss.message.sub_url_t.SubURL"); |
5489 | 0 | target = |
5490 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
5491 | 0 | 1, this->suburl(), target); |
5492 | 0 | } |
5493 | | |
5494 | | // optional string SubURI = 2; |
5495 | 0 | if (cached_has_bits & 0x00000002u) { |
5496 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5497 | 0 | this->suburi().data(), static_cast<int>(this->suburi().length()), |
5498 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
5499 | 0 | "gss.message.sub_url_t.SubURI"); |
5500 | 0 | target = |
5501 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
5502 | 0 | 2, this->suburi(), target); |
5503 | 0 | } |
5504 | | |
5505 | | // optional string SubName = 3; |
5506 | 0 | if (cached_has_bits & 0x00000004u) { |
5507 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5508 | 0 | this->subname().data(), static_cast<int>(this->subname().length()), |
5509 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
5510 | 0 | "gss.message.sub_url_t.SubName"); |
5511 | 0 | target = |
5512 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
5513 | 0 | 3, this->subname(), target); |
5514 | 0 | } |
5515 | | |
5516 | | // optional string SubPath = 4; |
5517 | 0 | if (cached_has_bits & 0x00000008u) { |
5518 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5519 | 0 | this->subpath().data(), static_cast<int>(this->subpath().length()), |
5520 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
5521 | 0 | "gss.message.sub_url_t.SubPath"); |
5522 | 0 | target = |
5523 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
5524 | 0 | 4, this->subpath(), target); |
5525 | 0 | } |
5526 | | |
5527 | | // optional int32 SiteId = 5; |
5528 | 0 | if (cached_has_bits & 0x00000020u) { |
5529 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->siteid(), target); |
5530 | 0 | } |
5531 | | |
5532 | | // optional string SubEx = 6; |
5533 | 0 | if (cached_has_bits & 0x00000010u) { |
5534 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5535 | 0 | this->subex().data(), static_cast<int>(this->subex().length()), |
5536 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
5537 | 0 | "gss.message.sub_url_t.SubEx"); |
5538 | 0 | target = |
5539 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
5540 | 0 | 6, this->subex(), target); |
5541 | 0 | } |
5542 | |
|
5543 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
5544 | 0 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
5545 | 0 | _internal_metadata_.unknown_fields(), target); |
5546 | 0 | } |
5547 | | // @@protoc_insertion_point(serialize_to_array_end:gss.message.sub_url_t) |
5548 | 0 | return target; |
5549 | 0 | } |
5550 | | |
5551 | 0 | size_t sub_url_t::ByteSizeLong() const { |
5552 | | // @@protoc_insertion_point(message_byte_size_start:gss.message.sub_url_t) |
5553 | 0 | size_t total_size = 0; |
5554 | |
|
5555 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
5556 | 0 | total_size += |
5557 | 0 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
5558 | 0 | _internal_metadata_.unknown_fields()); |
5559 | 0 | } |
5560 | | // required string SubURL = 1; |
5561 | 0 | if (has_suburl()) { |
5562 | 0 | total_size += 1 + |
5563 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
5564 | 0 | this->suburl()); |
5565 | 0 | } |
5566 | 0 | if (_has_bits_[0 / 32] & 62u) { |
5567 | | // optional string SubURI = 2; |
5568 | 0 | if (has_suburi()) { |
5569 | 0 | total_size += 1 + |
5570 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
5571 | 0 | this->suburi()); |
5572 | 0 | } |
5573 | | |
5574 | | // optional string SubName = 3; |
5575 | 0 | if (has_subname()) { |
5576 | 0 | total_size += 1 + |
5577 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
5578 | 0 | this->subname()); |
5579 | 0 | } |
5580 | | |
5581 | | // optional string SubPath = 4; |
5582 | 0 | if (has_subpath()) { |
5583 | 0 | total_size += 1 + |
5584 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
5585 | 0 | this->subpath()); |
5586 | 0 | } |
5587 | | |
5588 | | // optional string SubEx = 6; |
5589 | 0 | if (has_subex()) { |
5590 | 0 | total_size += 1 + |
5591 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
5592 | 0 | this->subex()); |
5593 | 0 | } |
5594 | | |
5595 | | // optional int32 SiteId = 5; |
5596 | 0 | if (has_siteid()) { |
5597 | 0 | total_size += 1 + |
5598 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
5599 | 0 | this->siteid()); |
5600 | 0 | } |
5601 | |
|
5602 | 0 | } |
5603 | 0 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
5604 | 0 | SetCachedSize(cached_size); |
5605 | 0 | return total_size; |
5606 | 0 | } |
5607 | | |
5608 | 0 | void sub_url_t::MergeFrom(const ::google::protobuf::Message& from) { |
5609 | | // @@protoc_insertion_point(generalized_merge_from_start:gss.message.sub_url_t) |
5610 | 0 | GOOGLE_DCHECK_NE(&from, this); |
5611 | 0 | const sub_url_t* source = |
5612 | 0 | ::google::protobuf::internal::DynamicCastToGenerated<const sub_url_t>( |
5613 | 0 | &from); |
5614 | 0 | if (source == NULL) { |
5615 | | // @@protoc_insertion_point(generalized_merge_from_cast_fail:gss.message.sub_url_t) |
5616 | 0 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
5617 | 0 | } else { |
5618 | | // @@protoc_insertion_point(generalized_merge_from_cast_success:gss.message.sub_url_t) |
5619 | 0 | MergeFrom(*source); |
5620 | 0 | } |
5621 | 0 | } |
5622 | | |
5623 | 0 | void sub_url_t::MergeFrom(const sub_url_t& from) { |
5624 | | // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.sub_url_t) |
5625 | 0 | GOOGLE_DCHECK_NE(&from, this); |
5626 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5627 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
5628 | 0 | (void) cached_has_bits; |
5629 | |
|
5630 | 0 | cached_has_bits = from._has_bits_[0]; |
5631 | 0 | if (cached_has_bits & 63u) { |
5632 | 0 | if (cached_has_bits & 0x00000001u) { |
5633 | 0 | set_has_suburl(); |
5634 | 0 | suburl_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.suburl_); |
5635 | 0 | } |
5636 | 0 | if (cached_has_bits & 0x00000002u) { |
5637 | 0 | set_has_suburi(); |
5638 | 0 | suburi_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.suburi_); |
5639 | 0 | } |
5640 | 0 | if (cached_has_bits & 0x00000004u) { |
5641 | 0 | set_has_subname(); |
5642 | 0 | subname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.subname_); |
5643 | 0 | } |
5644 | 0 | if (cached_has_bits & 0x00000008u) { |
5645 | 0 | set_has_subpath(); |
5646 | 0 | subpath_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.subpath_); |
5647 | 0 | } |
5648 | 0 | if (cached_has_bits & 0x00000010u) { |
5649 | 0 | set_has_subex(); |
5650 | 0 | subex_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.subex_); |
5651 | 0 | } |
5652 | 0 | if (cached_has_bits & 0x00000020u) { |
5653 | 0 | siteid_ = from.siteid_; |
5654 | 0 | } |
5655 | 0 | _has_bits_[0] |= cached_has_bits; |
5656 | 0 | } |
5657 | 0 | } |
5658 | | |
5659 | 0 | void sub_url_t::CopyFrom(const ::google::protobuf::Message& from) { |
5660 | | // @@protoc_insertion_point(generalized_copy_from_start:gss.message.sub_url_t) |
5661 | 0 | if (&from == this) return; |
5662 | 0 | Clear(); |
5663 | 0 | MergeFrom(from); |
5664 | 0 | } |
5665 | | |
5666 | 0 | void sub_url_t::CopyFrom(const sub_url_t& from) { |
5667 | | // @@protoc_insertion_point(class_specific_copy_from_start:gss.message.sub_url_t) |
5668 | 0 | if (&from == this) return; |
5669 | 0 | Clear(); |
5670 | 0 | MergeFrom(from); |
5671 | 0 | } |
5672 | | |
5673 | 0 | bool sub_url_t::IsInitialized() const { |
5674 | 0 | if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false; |
5675 | 0 | return true; |
5676 | 0 | } |
5677 | | |
5678 | 0 | void sub_url_t::Swap(sub_url_t* other) { |
5679 | 0 | if (other == this) return; |
5680 | 0 | InternalSwap(other); |
5681 | 0 | } |
5682 | 0 | void sub_url_t::InternalSwap(sub_url_t* other) { |
5683 | 0 | using std::swap; |
5684 | 0 | suburl_.Swap(&other->suburl_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5685 | 0 | GetArenaNoVirtual()); |
5686 | 0 | suburi_.Swap(&other->suburi_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5687 | 0 | GetArenaNoVirtual()); |
5688 | 0 | subname_.Swap(&other->subname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5689 | 0 | GetArenaNoVirtual()); |
5690 | 0 | subpath_.Swap(&other->subpath_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5691 | 0 | GetArenaNoVirtual()); |
5692 | 0 | subex_.Swap(&other->subex_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5693 | 0 | GetArenaNoVirtual()); |
5694 | 0 | swap(siteid_, other->siteid_); |
5695 | 0 | swap(_has_bits_[0], other->_has_bits_[0]); |
5696 | 0 | _internal_metadata_.Swap(&other->_internal_metadata_); |
5697 | 0 | } |
5698 | | |
5699 | 0 | ::google::protobuf::Metadata sub_url_t::GetMetadata() const { |
5700 | 0 | protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
5701 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; |
5702 | 0 | } |
5703 | | |
5704 | | |
5705 | | // =================================================================== |
5706 | | |
5707 | 2 | void gss_res_t::InitAsDefaultInstance() { |
5708 | 2 | } |
5709 | | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
5710 | | const int gss_res_t::kResultURLFieldNumber; |
5711 | | const int gss_res_t::kDisplayFieldNumber; |
5712 | | const int gss_res_t::kWeightFieldNumber; |
5713 | | const int gss_res_t::kSortFieldNumber; |
5714 | | const int gss_res_t::kSrcIDFieldNumber; |
5715 | | const int gss_res_t::kTimingNeedFieldNumber; |
5716 | | const int gss_res_t::kWiseStrategyFlagFieldNumber; |
5717 | | const int gss_res_t::kDegreeFieldNumber; |
5718 | | const int gss_res_t::kClickNeedFieldNumber; |
5719 | | const int gss_res_t::kStrategyInfoFieldNumber; |
5720 | | const int gss_res_t::kSpReqTypeFieldNumber; |
5721 | | const int gss_res_t::kUriKeyFieldNumber; |
5722 | | const int gss_res_t::kEntityNameFieldNumber; |
5723 | | const int gss_res_t::kSubResultFieldNumber; |
5724 | | const int gss_res_t::kSubResNumFieldNumber; |
5725 | | const int gss_res_t::kDisplayLogFieldNumber; |
5726 | | const int gss_res_t::kDisplayDataFieldNumber; |
5727 | | const int gss_res_t::kResTypeFieldNumber; |
5728 | | const int gss_res_t::kTitleFieldNumber; |
5729 | | const int gss_res_t::kRecoverCacheTimeFieldNumber; |
5730 | | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
5731 | | |
5732 | | gss_res_t::gss_res_t() |
5733 | 2 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
5734 | 2 | ::google::protobuf::internal::InitSCC( |
5735 | 2 | &protobuf_message_2eproto::scc_info_gss_res_t.base); |
5736 | 2 | SharedCtor(); |
5737 | | // @@protoc_insertion_point(constructor:gss.message.gss_res_t) |
5738 | 2 | } |
5739 | | gss_res_t::gss_res_t(const gss_res_t& from) |
5740 | 0 | : ::google::protobuf::Message(), |
5741 | 0 | _internal_metadata_(NULL), |
5742 | 0 | _has_bits_(from._has_bits_), |
5743 | 0 | subresult_(from.subresult_) { |
5744 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
5745 | 0 | resulturl_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5746 | 0 | if (from.has_resulturl()) { |
5747 | 0 | resulturl_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.resulturl_); |
5748 | 0 | } |
5749 | 0 | display_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5750 | 0 | if (from.has_display()) { |
5751 | 0 | display_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.display_); |
5752 | 0 | } |
5753 | 0 | urikey_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5754 | 0 | if (from.has_urikey()) { |
5755 | 0 | urikey_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.urikey_); |
5756 | 0 | } |
5757 | 0 | entityname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5758 | 0 | if (from.has_entityname()) { |
5759 | 0 | entityname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.entityname_); |
5760 | 0 | } |
5761 | 0 | displaylog_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5762 | 0 | if (from.has_displaylog()) { |
5763 | 0 | displaylog_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.displaylog_); |
5764 | 0 | } |
5765 | 0 | displaydata_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5766 | 0 | if (from.has_displaydata()) { |
5767 | 0 | displaydata_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.displaydata_); |
5768 | 0 | } |
5769 | 0 | title_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5770 | 0 | if (from.has_title()) { |
5771 | 0 | title_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.title_); |
5772 | 0 | } |
5773 | 0 | ::memcpy(&weight_, &from.weight_, |
5774 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&recovercachetime_) - |
5775 | 0 | reinterpret_cast<char*>(&weight_)) + sizeof(recovercachetime_)); |
5776 | | // @@protoc_insertion_point(copy_constructor:gss.message.gss_res_t) |
5777 | 0 | } |
5778 | | |
5779 | 2 | void gss_res_t::SharedCtor() { |
5780 | 2 | resulturl_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5781 | 2 | display_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5782 | 2 | urikey_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5783 | 2 | entityname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5784 | 2 | displaylog_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5785 | 2 | displaydata_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5786 | 2 | title_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5787 | 2 | ::memset(&weight_, 0, static_cast<size_t>( |
5788 | 2 | reinterpret_cast<char*>(&recovercachetime_) - |
5789 | 2 | reinterpret_cast<char*>(&weight_)) + sizeof(recovercachetime_)); |
5790 | 2 | } |
5791 | | |
5792 | 0 | gss_res_t::~gss_res_t() { |
5793 | | // @@protoc_insertion_point(destructor:gss.message.gss_res_t) |
5794 | 0 | SharedDtor(); |
5795 | 0 | } |
5796 | | |
5797 | 0 | void gss_res_t::SharedDtor() { |
5798 | 0 | resulturl_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5799 | 0 | display_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5800 | 0 | urikey_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5801 | 0 | entityname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5802 | 0 | displaylog_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5803 | 0 | displaydata_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5804 | 0 | title_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5805 | 0 | } |
5806 | | |
5807 | 0 | void gss_res_t::SetCachedSize(int size) const { |
5808 | 0 | _cached_size_.Set(size); |
5809 | 0 | } |
5810 | 0 | const ::google::protobuf::Descriptor* gss_res_t::descriptor() { |
5811 | 0 | ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
5812 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
5813 | 0 | } |
5814 | | |
5815 | 0 | const gss_res_t& gss_res_t::default_instance() { |
5816 | 0 | ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_gss_res_t.base); |
5817 | 0 | return *internal_default_instance(); |
5818 | 0 | } |
5819 | | |
5820 | | |
5821 | 0 | void gss_res_t::Clear() { |
5822 | | // @@protoc_insertion_point(message_clear_start:gss.message.gss_res_t) |
5823 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
5824 | | // Prevent compiler warnings about cached_has_bits being unused |
5825 | 0 | (void) cached_has_bits; |
5826 | |
|
5827 | 0 | subresult_.Clear(); |
5828 | 0 | cached_has_bits = _has_bits_[0]; |
5829 | 0 | if (cached_has_bits & 127u) { |
5830 | 0 | if (cached_has_bits & 0x00000001u) { |
5831 | 0 | resulturl_.ClearNonDefaultToEmptyNoArena(); |
5832 | 0 | } |
5833 | 0 | if (cached_has_bits & 0x00000002u) { |
5834 | 0 | display_.ClearNonDefaultToEmptyNoArena(); |
5835 | 0 | } |
5836 | 0 | if (cached_has_bits & 0x00000004u) { |
5837 | 0 | urikey_.ClearNonDefaultToEmptyNoArena(); |
5838 | 0 | } |
5839 | 0 | if (cached_has_bits & 0x00000008u) { |
5840 | 0 | entityname_.ClearNonDefaultToEmptyNoArena(); |
5841 | 0 | } |
5842 | 0 | if (cached_has_bits & 0x00000010u) { |
5843 | 0 | displaylog_.ClearNonDefaultToEmptyNoArena(); |
5844 | 0 | } |
5845 | 0 | if (cached_has_bits & 0x00000020u) { |
5846 | 0 | displaydata_.ClearNonDefaultToEmptyNoArena(); |
5847 | 0 | } |
5848 | 0 | if (cached_has_bits & 0x00000040u) { |
5849 | 0 | title_.ClearNonDefaultToEmptyNoArena(); |
5850 | 0 | } |
5851 | 0 | } |
5852 | 0 | weight_ = 0; |
5853 | 0 | if (cached_has_bits & 65280u) { |
5854 | 0 | ::memset(&sort_, 0, static_cast<size_t>( |
5855 | 0 | reinterpret_cast<char*>(&spreqtype_) - |
5856 | 0 | reinterpret_cast<char*>(&sort_)) + sizeof(spreqtype_)); |
5857 | 0 | } |
5858 | 0 | if (cached_has_bits & 458752u) { |
5859 | 0 | ::memset(&subresnum_, 0, static_cast<size_t>( |
5860 | 0 | reinterpret_cast<char*>(&recovercachetime_) - |
5861 | 0 | reinterpret_cast<char*>(&subresnum_)) + sizeof(recovercachetime_)); |
5862 | 0 | } |
5863 | 0 | _has_bits_.Clear(); |
5864 | 0 | _internal_metadata_.Clear(); |
5865 | 0 | } |
5866 | | |
5867 | | bool gss_res_t::MergePartialFromCodedStream( |
5868 | 0 | ::google::protobuf::io::CodedInputStream* input) { |
5869 | 0 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
5870 | 0 | ::google::protobuf::uint32 tag; |
5871 | | // @@protoc_insertion_point(parse_start:gss.message.gss_res_t) |
5872 | 0 | for (;;) { |
5873 | 0 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); |
5874 | 0 | tag = p.first; |
5875 | 0 | if (!p.second) goto handle_unusual; |
5876 | 0 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
5877 | | // required string ResultURL = 2; |
5878 | 0 | case 2: { |
5879 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5880 | 0 | static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
5881 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
5882 | 0 | input, this->mutable_resulturl())); |
5883 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5884 | 0 | this->resulturl().data(), static_cast<int>(this->resulturl().length()), |
5885 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
5886 | 0 | "gss.message.gss_res_t.ResultURL"); |
5887 | 0 | } else { |
5888 | 0 | goto handle_unusual; |
5889 | 0 | } |
5890 | 0 | break; |
5891 | 0 | } |
5892 | | |
5893 | | // optional string Display = 3; |
5894 | 0 | case 3: { |
5895 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5896 | 0 | static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
5897 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
5898 | 0 | input, this->mutable_display())); |
5899 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
5900 | 0 | this->display().data(), static_cast<int>(this->display().length()), |
5901 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
5902 | 0 | "gss.message.gss_res_t.Display"); |
5903 | 0 | } else { |
5904 | 0 | goto handle_unusual; |
5905 | 0 | } |
5906 | 0 | break; |
5907 | 0 | } |
5908 | | |
5909 | | // required int32 Weight = 4; |
5910 | 0 | case 4: { |
5911 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5912 | 0 | static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { |
5913 | 0 | set_has_weight(); |
5914 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
5915 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
5916 | 0 | input, &weight_))); |
5917 | 0 | } else { |
5918 | 0 | goto handle_unusual; |
5919 | 0 | } |
5920 | 0 | break; |
5921 | 0 | } |
5922 | | |
5923 | | // optional int32 Sort = 5; |
5924 | 0 | case 5: { |
5925 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5926 | 0 | static_cast< ::google::protobuf::uint8>(40u /* 40 & 0xFF */)) { |
5927 | 0 | set_has_sort(); |
5928 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
5929 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
5930 | 0 | input, &sort_))); |
5931 | 0 | } else { |
5932 | 0 | goto handle_unusual; |
5933 | 0 | } |
5934 | 0 | break; |
5935 | 0 | } |
5936 | | |
5937 | | // optional int32 SrcID = 6; |
5938 | 0 | case 6: { |
5939 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5940 | 0 | static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { |
5941 | 0 | set_has_srcid(); |
5942 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
5943 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
5944 | 0 | input, &srcid_))); |
5945 | 0 | } else { |
5946 | 0 | goto handle_unusual; |
5947 | 0 | } |
5948 | 0 | break; |
5949 | 0 | } |
5950 | | |
5951 | | // required int32 TimingNeed = 7; |
5952 | 0 | case 7: { |
5953 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5954 | 0 | static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { |
5955 | 0 | set_has_timingneed(); |
5956 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
5957 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
5958 | 0 | input, &timingneed_))); |
5959 | 0 | } else { |
5960 | 0 | goto handle_unusual; |
5961 | 0 | } |
5962 | 0 | break; |
5963 | 0 | } |
5964 | | |
5965 | | // optional uint32 WiseStrategyFlag = 8; |
5966 | 0 | case 8: { |
5967 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5968 | 0 | static_cast< ::google::protobuf::uint8>(64u /* 64 & 0xFF */)) { |
5969 | 0 | set_has_wisestrategyflag(); |
5970 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
5971 | 0 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( |
5972 | 0 | input, &wisestrategyflag_))); |
5973 | 0 | } else { |
5974 | 0 | goto handle_unusual; |
5975 | 0 | } |
5976 | 0 | break; |
5977 | 0 | } |
5978 | | |
5979 | | // optional int32 Degree = 9; |
5980 | 0 | case 9: { |
5981 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5982 | 0 | static_cast< ::google::protobuf::uint8>(72u /* 72 & 0xFF */)) { |
5983 | 0 | set_has_degree(); |
5984 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
5985 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
5986 | 0 | input, °ree_))); |
5987 | 0 | } else { |
5988 | 0 | goto handle_unusual; |
5989 | 0 | } |
5990 | 0 | break; |
5991 | 0 | } |
5992 | | |
5993 | | // optional int32 ClickNeed = 10; |
5994 | 0 | case 10: { |
5995 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
5996 | 0 | static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) { |
5997 | 0 | set_has_clickneed(); |
5998 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
5999 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
6000 | 0 | input, &clickneed_))); |
6001 | 0 | } else { |
6002 | 0 | goto handle_unusual; |
6003 | 0 | } |
6004 | 0 | break; |
6005 | 0 | } |
6006 | | |
6007 | | // optional int32 StrategyInfo = 11; |
6008 | 0 | case 11: { |
6009 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6010 | 0 | static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) { |
6011 | 0 | set_has_strategyinfo(); |
6012 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
6013 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
6014 | 0 | input, &strategyinfo_))); |
6015 | 0 | } else { |
6016 | 0 | goto handle_unusual; |
6017 | 0 | } |
6018 | 0 | break; |
6019 | 0 | } |
6020 | | |
6021 | | // optional int32 SpReqType = 12; |
6022 | 0 | case 12: { |
6023 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6024 | 0 | static_cast< ::google::protobuf::uint8>(96u /* 96 & 0xFF */)) { |
6025 | 0 | set_has_spreqtype(); |
6026 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
6027 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
6028 | 0 | input, &spreqtype_))); |
6029 | 0 | } else { |
6030 | 0 | goto handle_unusual; |
6031 | 0 | } |
6032 | 0 | break; |
6033 | 0 | } |
6034 | | |
6035 | | // optional string UriKey = 13; |
6036 | 0 | case 13: { |
6037 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6038 | 0 | static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) { |
6039 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
6040 | 0 | input, this->mutable_urikey())); |
6041 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6042 | 0 | this->urikey().data(), static_cast<int>(this->urikey().length()), |
6043 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
6044 | 0 | "gss.message.gss_res_t.UriKey"); |
6045 | 0 | } else { |
6046 | 0 | goto handle_unusual; |
6047 | 0 | } |
6048 | 0 | break; |
6049 | 0 | } |
6050 | | |
6051 | | // optional string EntityName = 14; |
6052 | 0 | case 14: { |
6053 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6054 | 0 | static_cast< ::google::protobuf::uint8>(114u /* 114 & 0xFF */)) { |
6055 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
6056 | 0 | input, this->mutable_entityname())); |
6057 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6058 | 0 | this->entityname().data(), static_cast<int>(this->entityname().length()), |
6059 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
6060 | 0 | "gss.message.gss_res_t.EntityName"); |
6061 | 0 | } else { |
6062 | 0 | goto handle_unusual; |
6063 | 0 | } |
6064 | 0 | break; |
6065 | 0 | } |
6066 | | |
6067 | | // repeated .gss.message.sub_url_t SubResult = 15; |
6068 | 0 | case 15: { |
6069 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6070 | 0 | static_cast< ::google::protobuf::uint8>(122u /* 122 & 0xFF */)) { |
6071 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
6072 | 0 | input, add_subresult())); |
6073 | 0 | } else { |
6074 | 0 | goto handle_unusual; |
6075 | 0 | } |
6076 | 0 | break; |
6077 | 0 | } |
6078 | | |
6079 | | // optional int32 SubResNum = 16; |
6080 | 0 | case 16: { |
6081 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6082 | 0 | static_cast< ::google::protobuf::uint8>(128u /* 128 & 0xFF */)) { |
6083 | 0 | set_has_subresnum(); |
6084 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
6085 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
6086 | 0 | input, &subresnum_))); |
6087 | 0 | } else { |
6088 | 0 | goto handle_unusual; |
6089 | 0 | } |
6090 | 0 | break; |
6091 | 0 | } |
6092 | | |
6093 | | // optional string DisplayLog = 17; |
6094 | 0 | case 17: { |
6095 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6096 | 0 | static_cast< ::google::protobuf::uint8>(138u /* 138 & 0xFF */)) { |
6097 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
6098 | 0 | input, this->mutable_displaylog())); |
6099 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6100 | 0 | this->displaylog().data(), static_cast<int>(this->displaylog().length()), |
6101 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
6102 | 0 | "gss.message.gss_res_t.DisplayLog"); |
6103 | 0 | } else { |
6104 | 0 | goto handle_unusual; |
6105 | 0 | } |
6106 | 0 | break; |
6107 | 0 | } |
6108 | | |
6109 | | // optional bytes DisplayData = 18; |
6110 | 0 | case 18: { |
6111 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6112 | 0 | static_cast< ::google::protobuf::uint8>(146u /* 146 & 0xFF */)) { |
6113 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( |
6114 | 0 | input, this->mutable_displaydata())); |
6115 | 0 | } else { |
6116 | 0 | goto handle_unusual; |
6117 | 0 | } |
6118 | 0 | break; |
6119 | 0 | } |
6120 | | |
6121 | | // optional uint32 ResType = 19; |
6122 | 0 | case 19: { |
6123 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6124 | 0 | static_cast< ::google::protobuf::uint8>(152u /* 152 & 0xFF */)) { |
6125 | 0 | set_has_restype(); |
6126 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
6127 | 0 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( |
6128 | 0 | input, &restype_))); |
6129 | 0 | } else { |
6130 | 0 | goto handle_unusual; |
6131 | 0 | } |
6132 | 0 | break; |
6133 | 0 | } |
6134 | | |
6135 | | // optional string Title = 20; |
6136 | 0 | case 20: { |
6137 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6138 | 0 | static_cast< ::google::protobuf::uint8>(162u /* 162 & 0xFF */)) { |
6139 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
6140 | 0 | input, this->mutable_title())); |
6141 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6142 | 0 | this->title().data(), static_cast<int>(this->title().length()), |
6143 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
6144 | 0 | "gss.message.gss_res_t.Title"); |
6145 | 0 | } else { |
6146 | 0 | goto handle_unusual; |
6147 | 0 | } |
6148 | 0 | break; |
6149 | 0 | } |
6150 | | |
6151 | | // optional int32 RecoverCacheTime = 21; |
6152 | 0 | case 21: { |
6153 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6154 | 0 | static_cast< ::google::protobuf::uint8>(168u /* 168 & 0xFF */)) { |
6155 | 0 | set_has_recovercachetime(); |
6156 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
6157 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
6158 | 0 | input, &recovercachetime_))); |
6159 | 0 | } else { |
6160 | 0 | goto handle_unusual; |
6161 | 0 | } |
6162 | 0 | break; |
6163 | 0 | } |
6164 | | |
6165 | 0 | default: { |
6166 | 0 | handle_unusual: |
6167 | 0 | if (tag == 0) { |
6168 | 0 | goto success; |
6169 | 0 | } |
6170 | 0 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
6171 | 0 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
6172 | 0 | break; |
6173 | 0 | } |
6174 | 0 | } |
6175 | 0 | } |
6176 | 0 | success: |
6177 | | // @@protoc_insertion_point(parse_success:gss.message.gss_res_t) |
6178 | 0 | return true; |
6179 | 0 | failure: |
6180 | | // @@protoc_insertion_point(parse_failure:gss.message.gss_res_t) |
6181 | 0 | return false; |
6182 | 0 | #undef DO_ |
6183 | 0 | } |
6184 | | |
6185 | | void gss_res_t::SerializeWithCachedSizes( |
6186 | 0 | ::google::protobuf::io::CodedOutputStream* output) const { |
6187 | | // @@protoc_insertion_point(serialize_start:gss.message.gss_res_t) |
6188 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
6189 | 0 | (void) cached_has_bits; |
6190 | |
|
6191 | 0 | cached_has_bits = _has_bits_[0]; |
6192 | | // required string ResultURL = 2; |
6193 | 0 | if (cached_has_bits & 0x00000001u) { |
6194 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6195 | 0 | this->resulturl().data(), static_cast<int>(this->resulturl().length()), |
6196 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
6197 | 0 | "gss.message.gss_res_t.ResultURL"); |
6198 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
6199 | 0 | 2, this->resulturl(), output); |
6200 | 0 | } |
6201 | | |
6202 | | // optional string Display = 3; |
6203 | 0 | if (cached_has_bits & 0x00000002u) { |
6204 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6205 | 0 | this->display().data(), static_cast<int>(this->display().length()), |
6206 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
6207 | 0 | "gss.message.gss_res_t.Display"); |
6208 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
6209 | 0 | 3, this->display(), output); |
6210 | 0 | } |
6211 | | |
6212 | | // required int32 Weight = 4; |
6213 | 0 | if (cached_has_bits & 0x00000080u) { |
6214 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->weight(), output); |
6215 | 0 | } |
6216 | | |
6217 | | // optional int32 Sort = 5; |
6218 | 0 | if (cached_has_bits & 0x00000100u) { |
6219 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->sort(), output); |
6220 | 0 | } |
6221 | | |
6222 | | // optional int32 SrcID = 6; |
6223 | 0 | if (cached_has_bits & 0x00000200u) { |
6224 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->srcid(), output); |
6225 | 0 | } |
6226 | | |
6227 | | // required int32 TimingNeed = 7; |
6228 | 0 | if (cached_has_bits & 0x00000400u) { |
6229 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->timingneed(), output); |
6230 | 0 | } |
6231 | | |
6232 | | // optional uint32 WiseStrategyFlag = 8; |
6233 | 0 | if (cached_has_bits & 0x00000800u) { |
6234 | 0 | ::google::protobuf::internal::WireFormatLite::WriteUInt32(8, this->wisestrategyflag(), output); |
6235 | 0 | } |
6236 | | |
6237 | | // optional int32 Degree = 9; |
6238 | 0 | if (cached_has_bits & 0x00001000u) { |
6239 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->degree(), output); |
6240 | 0 | } |
6241 | | |
6242 | | // optional int32 ClickNeed = 10; |
6243 | 0 | if (cached_has_bits & 0x00002000u) { |
6244 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->clickneed(), output); |
6245 | 0 | } |
6246 | | |
6247 | | // optional int32 StrategyInfo = 11; |
6248 | 0 | if (cached_has_bits & 0x00004000u) { |
6249 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->strategyinfo(), output); |
6250 | 0 | } |
6251 | | |
6252 | | // optional int32 SpReqType = 12; |
6253 | 0 | if (cached_has_bits & 0x00008000u) { |
6254 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->spreqtype(), output); |
6255 | 0 | } |
6256 | | |
6257 | | // optional string UriKey = 13; |
6258 | 0 | if (cached_has_bits & 0x00000004u) { |
6259 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6260 | 0 | this->urikey().data(), static_cast<int>(this->urikey().length()), |
6261 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
6262 | 0 | "gss.message.gss_res_t.UriKey"); |
6263 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
6264 | 0 | 13, this->urikey(), output); |
6265 | 0 | } |
6266 | | |
6267 | | // optional string EntityName = 14; |
6268 | 0 | if (cached_has_bits & 0x00000008u) { |
6269 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6270 | 0 | this->entityname().data(), static_cast<int>(this->entityname().length()), |
6271 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
6272 | 0 | "gss.message.gss_res_t.EntityName"); |
6273 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
6274 | 0 | 14, this->entityname(), output); |
6275 | 0 | } |
6276 | | |
6277 | | // repeated .gss.message.sub_url_t SubResult = 15; |
6278 | 0 | for (unsigned int i = 0, |
6279 | 0 | n = static_cast<unsigned int>(this->subresult_size()); i < n; i++) { |
6280 | 0 | ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
6281 | 0 | 15, |
6282 | 0 | this->subresult(static_cast<int>(i)), |
6283 | 0 | output); |
6284 | 0 | } |
6285 | | |
6286 | | // optional int32 SubResNum = 16; |
6287 | 0 | if (cached_has_bits & 0x00010000u) { |
6288 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->subresnum(), output); |
6289 | 0 | } |
6290 | | |
6291 | | // optional string DisplayLog = 17; |
6292 | 0 | if (cached_has_bits & 0x00000010u) { |
6293 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6294 | 0 | this->displaylog().data(), static_cast<int>(this->displaylog().length()), |
6295 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
6296 | 0 | "gss.message.gss_res_t.DisplayLog"); |
6297 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
6298 | 0 | 17, this->displaylog(), output); |
6299 | 0 | } |
6300 | | |
6301 | | // optional bytes DisplayData = 18; |
6302 | 0 | if (cached_has_bits & 0x00000020u) { |
6303 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( |
6304 | 0 | 18, this->displaydata(), output); |
6305 | 0 | } |
6306 | | |
6307 | | // optional uint32 ResType = 19; |
6308 | 0 | if (cached_has_bits & 0x00020000u) { |
6309 | 0 | ::google::protobuf::internal::WireFormatLite::WriteUInt32(19, this->restype(), output); |
6310 | 0 | } |
6311 | | |
6312 | | // optional string Title = 20; |
6313 | 0 | if (cached_has_bits & 0x00000040u) { |
6314 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6315 | 0 | this->title().data(), static_cast<int>(this->title().length()), |
6316 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
6317 | 0 | "gss.message.gss_res_t.Title"); |
6318 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
6319 | 0 | 20, this->title(), output); |
6320 | 0 | } |
6321 | | |
6322 | | // optional int32 RecoverCacheTime = 21; |
6323 | 0 | if (cached_has_bits & 0x00040000u) { |
6324 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(21, this->recovercachetime(), output); |
6325 | 0 | } |
6326 | |
|
6327 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
6328 | 0 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
6329 | 0 | _internal_metadata_.unknown_fields(), output); |
6330 | 0 | } |
6331 | | // @@protoc_insertion_point(serialize_end:gss.message.gss_res_t) |
6332 | 0 | } |
6333 | | |
6334 | | ::google::protobuf::uint8* gss_res_t::InternalSerializeWithCachedSizesToArray( |
6335 | 0 | bool deterministic, ::google::protobuf::uint8* target) const { |
6336 | 0 | (void)deterministic; // Unused |
6337 | | // @@protoc_insertion_point(serialize_to_array_start:gss.message.gss_res_t) |
6338 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
6339 | 0 | (void) cached_has_bits; |
6340 | |
|
6341 | 0 | cached_has_bits = _has_bits_[0]; |
6342 | | // required string ResultURL = 2; |
6343 | 0 | if (cached_has_bits & 0x00000001u) { |
6344 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6345 | 0 | this->resulturl().data(), static_cast<int>(this->resulturl().length()), |
6346 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
6347 | 0 | "gss.message.gss_res_t.ResultURL"); |
6348 | 0 | target = |
6349 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
6350 | 0 | 2, this->resulturl(), target); |
6351 | 0 | } |
6352 | | |
6353 | | // optional string Display = 3; |
6354 | 0 | if (cached_has_bits & 0x00000002u) { |
6355 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6356 | 0 | this->display().data(), static_cast<int>(this->display().length()), |
6357 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
6358 | 0 | "gss.message.gss_res_t.Display"); |
6359 | 0 | target = |
6360 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
6361 | 0 | 3, this->display(), target); |
6362 | 0 | } |
6363 | | |
6364 | | // required int32 Weight = 4; |
6365 | 0 | if (cached_has_bits & 0x00000080u) { |
6366 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->weight(), target); |
6367 | 0 | } |
6368 | | |
6369 | | // optional int32 Sort = 5; |
6370 | 0 | if (cached_has_bits & 0x00000100u) { |
6371 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->sort(), target); |
6372 | 0 | } |
6373 | | |
6374 | | // optional int32 SrcID = 6; |
6375 | 0 | if (cached_has_bits & 0x00000200u) { |
6376 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->srcid(), target); |
6377 | 0 | } |
6378 | | |
6379 | | // required int32 TimingNeed = 7; |
6380 | 0 | if (cached_has_bits & 0x00000400u) { |
6381 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->timingneed(), target); |
6382 | 0 | } |
6383 | | |
6384 | | // optional uint32 WiseStrategyFlag = 8; |
6385 | 0 | if (cached_has_bits & 0x00000800u) { |
6386 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(8, this->wisestrategyflag(), target); |
6387 | 0 | } |
6388 | | |
6389 | | // optional int32 Degree = 9; |
6390 | 0 | if (cached_has_bits & 0x00001000u) { |
6391 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->degree(), target); |
6392 | 0 | } |
6393 | | |
6394 | | // optional int32 ClickNeed = 10; |
6395 | 0 | if (cached_has_bits & 0x00002000u) { |
6396 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->clickneed(), target); |
6397 | 0 | } |
6398 | | |
6399 | | // optional int32 StrategyInfo = 11; |
6400 | 0 | if (cached_has_bits & 0x00004000u) { |
6401 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->strategyinfo(), target); |
6402 | 0 | } |
6403 | | |
6404 | | // optional int32 SpReqType = 12; |
6405 | 0 | if (cached_has_bits & 0x00008000u) { |
6406 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->spreqtype(), target); |
6407 | 0 | } |
6408 | | |
6409 | | // optional string UriKey = 13; |
6410 | 0 | if (cached_has_bits & 0x00000004u) { |
6411 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6412 | 0 | this->urikey().data(), static_cast<int>(this->urikey().length()), |
6413 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
6414 | 0 | "gss.message.gss_res_t.UriKey"); |
6415 | 0 | target = |
6416 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
6417 | 0 | 13, this->urikey(), target); |
6418 | 0 | } |
6419 | | |
6420 | | // optional string EntityName = 14; |
6421 | 0 | if (cached_has_bits & 0x00000008u) { |
6422 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6423 | 0 | this->entityname().data(), static_cast<int>(this->entityname().length()), |
6424 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
6425 | 0 | "gss.message.gss_res_t.EntityName"); |
6426 | 0 | target = |
6427 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
6428 | 0 | 14, this->entityname(), target); |
6429 | 0 | } |
6430 | | |
6431 | | // repeated .gss.message.sub_url_t SubResult = 15; |
6432 | 0 | for (unsigned int i = 0, |
6433 | 0 | n = static_cast<unsigned int>(this->subresult_size()); i < n; i++) { |
6434 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
6435 | 0 | InternalWriteMessageToArray( |
6436 | 0 | 15, this->subresult(static_cast<int>(i)), deterministic, target); |
6437 | 0 | } |
6438 | | |
6439 | | // optional int32 SubResNum = 16; |
6440 | 0 | if (cached_has_bits & 0x00010000u) { |
6441 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->subresnum(), target); |
6442 | 0 | } |
6443 | | |
6444 | | // optional string DisplayLog = 17; |
6445 | 0 | if (cached_has_bits & 0x00000010u) { |
6446 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6447 | 0 | this->displaylog().data(), static_cast<int>(this->displaylog().length()), |
6448 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
6449 | 0 | "gss.message.gss_res_t.DisplayLog"); |
6450 | 0 | target = |
6451 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
6452 | 0 | 17, this->displaylog(), target); |
6453 | 0 | } |
6454 | | |
6455 | | // optional bytes DisplayData = 18; |
6456 | 0 | if (cached_has_bits & 0x00000020u) { |
6457 | 0 | target = |
6458 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( |
6459 | 0 | 18, this->displaydata(), target); |
6460 | 0 | } |
6461 | | |
6462 | | // optional uint32 ResType = 19; |
6463 | 0 | if (cached_has_bits & 0x00020000u) { |
6464 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(19, this->restype(), target); |
6465 | 0 | } |
6466 | | |
6467 | | // optional string Title = 20; |
6468 | 0 | if (cached_has_bits & 0x00000040u) { |
6469 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6470 | 0 | this->title().data(), static_cast<int>(this->title().length()), |
6471 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
6472 | 0 | "gss.message.gss_res_t.Title"); |
6473 | 0 | target = |
6474 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
6475 | 0 | 20, this->title(), target); |
6476 | 0 | } |
6477 | | |
6478 | | // optional int32 RecoverCacheTime = 21; |
6479 | 0 | if (cached_has_bits & 0x00040000u) { |
6480 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(21, this->recovercachetime(), target); |
6481 | 0 | } |
6482 | |
|
6483 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
6484 | 0 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
6485 | 0 | _internal_metadata_.unknown_fields(), target); |
6486 | 0 | } |
6487 | | // @@protoc_insertion_point(serialize_to_array_end:gss.message.gss_res_t) |
6488 | 0 | return target; |
6489 | 0 | } |
6490 | | |
6491 | 0 | size_t gss_res_t::RequiredFieldsByteSizeFallback() const { |
6492 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:gss.message.gss_res_t) |
6493 | 0 | size_t total_size = 0; |
6494 | |
|
6495 | 0 | if (has_resulturl()) { |
6496 | | // required string ResultURL = 2; |
6497 | 0 | total_size += 1 + |
6498 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
6499 | 0 | this->resulturl()); |
6500 | 0 | } |
6501 | |
|
6502 | 0 | if (has_weight()) { |
6503 | | // required int32 Weight = 4; |
6504 | 0 | total_size += 1 + |
6505 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
6506 | 0 | this->weight()); |
6507 | 0 | } |
6508 | |
|
6509 | 0 | if (has_timingneed()) { |
6510 | | // required int32 TimingNeed = 7; |
6511 | 0 | total_size += 1 + |
6512 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
6513 | 0 | this->timingneed()); |
6514 | 0 | } |
6515 | |
|
6516 | 0 | return total_size; |
6517 | 0 | } |
6518 | 0 | size_t gss_res_t::ByteSizeLong() const { |
6519 | | // @@protoc_insertion_point(message_byte_size_start:gss.message.gss_res_t) |
6520 | 0 | size_t total_size = 0; |
6521 | |
|
6522 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
6523 | 0 | total_size += |
6524 | 0 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
6525 | 0 | _internal_metadata_.unknown_fields()); |
6526 | 0 | } |
6527 | 0 | if (((_has_bits_[0] & 0x00000481) ^ 0x00000481) == 0) { // All required fields are present. |
6528 | | // required string ResultURL = 2; |
6529 | 0 | total_size += 1 + |
6530 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
6531 | 0 | this->resulturl()); |
6532 | | |
6533 | | // required int32 Weight = 4; |
6534 | 0 | total_size += 1 + |
6535 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
6536 | 0 | this->weight()); |
6537 | | |
6538 | | // required int32 TimingNeed = 7; |
6539 | 0 | total_size += 1 + |
6540 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
6541 | 0 | this->timingneed()); |
6542 | |
|
6543 | 0 | } else { |
6544 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
6545 | 0 | } |
6546 | | // repeated .gss.message.sub_url_t SubResult = 15; |
6547 | 0 | { |
6548 | 0 | unsigned int count = static_cast<unsigned int>(this->subresult_size()); |
6549 | 0 | total_size += 1UL * count; |
6550 | 0 | for (unsigned int i = 0; i < count; i++) { |
6551 | 0 | total_size += |
6552 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize( |
6553 | 0 | this->subresult(static_cast<int>(i))); |
6554 | 0 | } |
6555 | 0 | } |
6556 | |
|
6557 | 0 | if (_has_bits_[0 / 32] & 126u) { |
6558 | | // optional string Display = 3; |
6559 | 0 | if (has_display()) { |
6560 | 0 | total_size += 1 + |
6561 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
6562 | 0 | this->display()); |
6563 | 0 | } |
6564 | | |
6565 | | // optional string UriKey = 13; |
6566 | 0 | if (has_urikey()) { |
6567 | 0 | total_size += 1 + |
6568 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
6569 | 0 | this->urikey()); |
6570 | 0 | } |
6571 | | |
6572 | | // optional string EntityName = 14; |
6573 | 0 | if (has_entityname()) { |
6574 | 0 | total_size += 1 + |
6575 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
6576 | 0 | this->entityname()); |
6577 | 0 | } |
6578 | | |
6579 | | // optional string DisplayLog = 17; |
6580 | 0 | if (has_displaylog()) { |
6581 | 0 | total_size += 2 + |
6582 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
6583 | 0 | this->displaylog()); |
6584 | 0 | } |
6585 | | |
6586 | | // optional bytes DisplayData = 18; |
6587 | 0 | if (has_displaydata()) { |
6588 | 0 | total_size += 2 + |
6589 | 0 | ::google::protobuf::internal::WireFormatLite::BytesSize( |
6590 | 0 | this->displaydata()); |
6591 | 0 | } |
6592 | | |
6593 | | // optional string Title = 20; |
6594 | 0 | if (has_title()) { |
6595 | 0 | total_size += 2 + |
6596 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
6597 | 0 | this->title()); |
6598 | 0 | } |
6599 | |
|
6600 | 0 | } |
6601 | 0 | if (_has_bits_[8 / 32] & 768u) { |
6602 | | // optional int32 Sort = 5; |
6603 | 0 | if (has_sort()) { |
6604 | 0 | total_size += 1 + |
6605 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
6606 | 0 | this->sort()); |
6607 | 0 | } |
6608 | | |
6609 | | // optional int32 SrcID = 6; |
6610 | 0 | if (has_srcid()) { |
6611 | 0 | total_size += 1 + |
6612 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
6613 | 0 | this->srcid()); |
6614 | 0 | } |
6615 | |
|
6616 | 0 | } |
6617 | 0 | if (_has_bits_[8 / 32] & 63488u) { |
6618 | | // optional uint32 WiseStrategyFlag = 8; |
6619 | 0 | if (has_wisestrategyflag()) { |
6620 | 0 | total_size += 1 + |
6621 | 0 | ::google::protobuf::internal::WireFormatLite::UInt32Size( |
6622 | 0 | this->wisestrategyflag()); |
6623 | 0 | } |
6624 | | |
6625 | | // optional int32 Degree = 9; |
6626 | 0 | if (has_degree()) { |
6627 | 0 | total_size += 1 + |
6628 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
6629 | 0 | this->degree()); |
6630 | 0 | } |
6631 | | |
6632 | | // optional int32 ClickNeed = 10; |
6633 | 0 | if (has_clickneed()) { |
6634 | 0 | total_size += 1 + |
6635 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
6636 | 0 | this->clickneed()); |
6637 | 0 | } |
6638 | | |
6639 | | // optional int32 StrategyInfo = 11; |
6640 | 0 | if (has_strategyinfo()) { |
6641 | 0 | total_size += 1 + |
6642 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
6643 | 0 | this->strategyinfo()); |
6644 | 0 | } |
6645 | | |
6646 | | // optional int32 SpReqType = 12; |
6647 | 0 | if (has_spreqtype()) { |
6648 | 0 | total_size += 1 + |
6649 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
6650 | 0 | this->spreqtype()); |
6651 | 0 | } |
6652 | |
|
6653 | 0 | } |
6654 | 0 | if (_has_bits_[16 / 32] & 458752u) { |
6655 | | // optional int32 SubResNum = 16; |
6656 | 0 | if (has_subresnum()) { |
6657 | 0 | total_size += 2 + |
6658 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
6659 | 0 | this->subresnum()); |
6660 | 0 | } |
6661 | | |
6662 | | // optional uint32 ResType = 19; |
6663 | 0 | if (has_restype()) { |
6664 | 0 | total_size += 2 + |
6665 | 0 | ::google::protobuf::internal::WireFormatLite::UInt32Size( |
6666 | 0 | this->restype()); |
6667 | 0 | } |
6668 | | |
6669 | | // optional int32 RecoverCacheTime = 21; |
6670 | 0 | if (has_recovercachetime()) { |
6671 | 0 | total_size += 2 + |
6672 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
6673 | 0 | this->recovercachetime()); |
6674 | 0 | } |
6675 | |
|
6676 | 0 | } |
6677 | 0 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
6678 | 0 | SetCachedSize(cached_size); |
6679 | 0 | return total_size; |
6680 | 0 | } |
6681 | | |
6682 | 0 | void gss_res_t::MergeFrom(const ::google::protobuf::Message& from) { |
6683 | | // @@protoc_insertion_point(generalized_merge_from_start:gss.message.gss_res_t) |
6684 | 0 | GOOGLE_DCHECK_NE(&from, this); |
6685 | 0 | const gss_res_t* source = |
6686 | 0 | ::google::protobuf::internal::DynamicCastToGenerated<const gss_res_t>( |
6687 | 0 | &from); |
6688 | 0 | if (source == NULL) { |
6689 | | // @@protoc_insertion_point(generalized_merge_from_cast_fail:gss.message.gss_res_t) |
6690 | 0 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
6691 | 0 | } else { |
6692 | | // @@protoc_insertion_point(generalized_merge_from_cast_success:gss.message.gss_res_t) |
6693 | 0 | MergeFrom(*source); |
6694 | 0 | } |
6695 | 0 | } |
6696 | | |
6697 | 0 | void gss_res_t::MergeFrom(const gss_res_t& from) { |
6698 | | // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.gss_res_t) |
6699 | 0 | GOOGLE_DCHECK_NE(&from, this); |
6700 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6701 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
6702 | 0 | (void) cached_has_bits; |
6703 | |
|
6704 | 0 | subresult_.MergeFrom(from.subresult_); |
6705 | 0 | cached_has_bits = from._has_bits_[0]; |
6706 | 0 | if (cached_has_bits & 255u) { |
6707 | 0 | if (cached_has_bits & 0x00000001u) { |
6708 | 0 | set_has_resulturl(); |
6709 | 0 | resulturl_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.resulturl_); |
6710 | 0 | } |
6711 | 0 | if (cached_has_bits & 0x00000002u) { |
6712 | 0 | set_has_display(); |
6713 | 0 | display_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.display_); |
6714 | 0 | } |
6715 | 0 | if (cached_has_bits & 0x00000004u) { |
6716 | 0 | set_has_urikey(); |
6717 | 0 | urikey_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.urikey_); |
6718 | 0 | } |
6719 | 0 | if (cached_has_bits & 0x00000008u) { |
6720 | 0 | set_has_entityname(); |
6721 | 0 | entityname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.entityname_); |
6722 | 0 | } |
6723 | 0 | if (cached_has_bits & 0x00000010u) { |
6724 | 0 | set_has_displaylog(); |
6725 | 0 | displaylog_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.displaylog_); |
6726 | 0 | } |
6727 | 0 | if (cached_has_bits & 0x00000020u) { |
6728 | 0 | set_has_displaydata(); |
6729 | 0 | displaydata_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.displaydata_); |
6730 | 0 | } |
6731 | 0 | if (cached_has_bits & 0x00000040u) { |
6732 | 0 | set_has_title(); |
6733 | 0 | title_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.title_); |
6734 | 0 | } |
6735 | 0 | if (cached_has_bits & 0x00000080u) { |
6736 | 0 | weight_ = from.weight_; |
6737 | 0 | } |
6738 | 0 | _has_bits_[0] |= cached_has_bits; |
6739 | 0 | } |
6740 | 0 | if (cached_has_bits & 65280u) { |
6741 | 0 | if (cached_has_bits & 0x00000100u) { |
6742 | 0 | sort_ = from.sort_; |
6743 | 0 | } |
6744 | 0 | if (cached_has_bits & 0x00000200u) { |
6745 | 0 | srcid_ = from.srcid_; |
6746 | 0 | } |
6747 | 0 | if (cached_has_bits & 0x00000400u) { |
6748 | 0 | timingneed_ = from.timingneed_; |
6749 | 0 | } |
6750 | 0 | if (cached_has_bits & 0x00000800u) { |
6751 | 0 | wisestrategyflag_ = from.wisestrategyflag_; |
6752 | 0 | } |
6753 | 0 | if (cached_has_bits & 0x00001000u) { |
6754 | 0 | degree_ = from.degree_; |
6755 | 0 | } |
6756 | 0 | if (cached_has_bits & 0x00002000u) { |
6757 | 0 | clickneed_ = from.clickneed_; |
6758 | 0 | } |
6759 | 0 | if (cached_has_bits & 0x00004000u) { |
6760 | 0 | strategyinfo_ = from.strategyinfo_; |
6761 | 0 | } |
6762 | 0 | if (cached_has_bits & 0x00008000u) { |
6763 | 0 | spreqtype_ = from.spreqtype_; |
6764 | 0 | } |
6765 | 0 | _has_bits_[0] |= cached_has_bits; |
6766 | 0 | } |
6767 | 0 | if (cached_has_bits & 458752u) { |
6768 | 0 | if (cached_has_bits & 0x00010000u) { |
6769 | 0 | subresnum_ = from.subresnum_; |
6770 | 0 | } |
6771 | 0 | if (cached_has_bits & 0x00020000u) { |
6772 | 0 | restype_ = from.restype_; |
6773 | 0 | } |
6774 | 0 | if (cached_has_bits & 0x00040000u) { |
6775 | 0 | recovercachetime_ = from.recovercachetime_; |
6776 | 0 | } |
6777 | 0 | _has_bits_[0] |= cached_has_bits; |
6778 | 0 | } |
6779 | 0 | } |
6780 | | |
6781 | 0 | void gss_res_t::CopyFrom(const ::google::protobuf::Message& from) { |
6782 | | // @@protoc_insertion_point(generalized_copy_from_start:gss.message.gss_res_t) |
6783 | 0 | if (&from == this) return; |
6784 | 0 | Clear(); |
6785 | 0 | MergeFrom(from); |
6786 | 0 | } |
6787 | | |
6788 | 0 | void gss_res_t::CopyFrom(const gss_res_t& from) { |
6789 | | // @@protoc_insertion_point(class_specific_copy_from_start:gss.message.gss_res_t) |
6790 | 0 | if (&from == this) return; |
6791 | 0 | Clear(); |
6792 | 0 | MergeFrom(from); |
6793 | 0 | } |
6794 | | |
6795 | 0 | bool gss_res_t::IsInitialized() const { |
6796 | 0 | if ((_has_bits_[0] & 0x00000481) != 0x00000481) return false; |
6797 | 0 | if (!::google::protobuf::internal::AllAreInitialized(this->subresult())) return false; |
6798 | 0 | return true; |
6799 | 0 | } |
6800 | | |
6801 | 0 | void gss_res_t::Swap(gss_res_t* other) { |
6802 | 0 | if (other == this) return; |
6803 | 0 | InternalSwap(other); |
6804 | 0 | } |
6805 | 0 | void gss_res_t::InternalSwap(gss_res_t* other) { |
6806 | 0 | using std::swap; |
6807 | 0 | CastToBase(&subresult_)->InternalSwap(CastToBase(&other->subresult_)); |
6808 | 0 | resulturl_.Swap(&other->resulturl_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6809 | 0 | GetArenaNoVirtual()); |
6810 | 0 | display_.Swap(&other->display_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6811 | 0 | GetArenaNoVirtual()); |
6812 | 0 | urikey_.Swap(&other->urikey_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6813 | 0 | GetArenaNoVirtual()); |
6814 | 0 | entityname_.Swap(&other->entityname_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6815 | 0 | GetArenaNoVirtual()); |
6816 | 0 | displaylog_.Swap(&other->displaylog_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6817 | 0 | GetArenaNoVirtual()); |
6818 | 0 | displaydata_.Swap(&other->displaydata_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6819 | 0 | GetArenaNoVirtual()); |
6820 | 0 | title_.Swap(&other->title_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
6821 | 0 | GetArenaNoVirtual()); |
6822 | 0 | swap(weight_, other->weight_); |
6823 | 0 | swap(sort_, other->sort_); |
6824 | 0 | swap(srcid_, other->srcid_); |
6825 | 0 | swap(timingneed_, other->timingneed_); |
6826 | 0 | swap(wisestrategyflag_, other->wisestrategyflag_); |
6827 | 0 | swap(degree_, other->degree_); |
6828 | 0 | swap(clickneed_, other->clickneed_); |
6829 | 0 | swap(strategyinfo_, other->strategyinfo_); |
6830 | 0 | swap(spreqtype_, other->spreqtype_); |
6831 | 0 | swap(subresnum_, other->subresnum_); |
6832 | 0 | swap(restype_, other->restype_); |
6833 | 0 | swap(recovercachetime_, other->recovercachetime_); |
6834 | 0 | swap(_has_bits_[0], other->_has_bits_[0]); |
6835 | 0 | _internal_metadata_.Swap(&other->_internal_metadata_); |
6836 | 0 | } |
6837 | | |
6838 | 0 | ::google::protobuf::Metadata gss_res_t::GetMetadata() const { |
6839 | 0 | protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
6840 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; |
6841 | 0 | } |
6842 | | |
6843 | | |
6844 | | // =================================================================== |
6845 | | |
6846 | 2 | void item_t::InitAsDefaultInstance() { |
6847 | 2 | } |
6848 | | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
6849 | | const int item_t::kTitleFieldNumber; |
6850 | | const int item_t::kContentFieldNumber; |
6851 | | const int item_t::kParentFieldNumber; |
6852 | | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
6853 | | |
6854 | | item_t::item_t() |
6855 | 2 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
6856 | 2 | ::google::protobuf::internal::InitSCC( |
6857 | 2 | &protobuf_message_2eproto::scc_info_item_t.base); |
6858 | 2 | SharedCtor(); |
6859 | | // @@protoc_insertion_point(constructor:gss.message.item_t) |
6860 | 2 | } |
6861 | | item_t::item_t(const item_t& from) |
6862 | 0 | : ::google::protobuf::Message(), |
6863 | 0 | _internal_metadata_(NULL), |
6864 | 0 | _has_bits_(from._has_bits_) { |
6865 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
6866 | 0 | title_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6867 | 0 | if (from.has_title()) { |
6868 | 0 | title_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.title_); |
6869 | 0 | } |
6870 | 0 | content_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6871 | 0 | if (from.has_content()) { |
6872 | 0 | content_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.content_); |
6873 | 0 | } |
6874 | 0 | parent_ = from.parent_; |
6875 | | // @@protoc_insertion_point(copy_constructor:gss.message.item_t) |
6876 | 0 | } |
6877 | | |
6878 | 2 | void item_t::SharedCtor() { |
6879 | 2 | title_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6880 | 2 | content_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6881 | 2 | parent_ = 0; |
6882 | 2 | } |
6883 | | |
6884 | 0 | item_t::~item_t() { |
6885 | | // @@protoc_insertion_point(destructor:gss.message.item_t) |
6886 | 0 | SharedDtor(); |
6887 | 0 | } |
6888 | | |
6889 | 0 | void item_t::SharedDtor() { |
6890 | 0 | title_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6891 | 0 | content_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
6892 | 0 | } |
6893 | | |
6894 | 0 | void item_t::SetCachedSize(int size) const { |
6895 | 0 | _cached_size_.Set(size); |
6896 | 0 | } |
6897 | 0 | const ::google::protobuf::Descriptor* item_t::descriptor() { |
6898 | 0 | ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
6899 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
6900 | 0 | } |
6901 | | |
6902 | 0 | const item_t& item_t::default_instance() { |
6903 | 0 | ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_item_t.base); |
6904 | 0 | return *internal_default_instance(); |
6905 | 0 | } |
6906 | | |
6907 | | |
6908 | 0 | void item_t::Clear() { |
6909 | | // @@protoc_insertion_point(message_clear_start:gss.message.item_t) |
6910 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
6911 | | // Prevent compiler warnings about cached_has_bits being unused |
6912 | 0 | (void) cached_has_bits; |
6913 | |
|
6914 | 0 | cached_has_bits = _has_bits_[0]; |
6915 | 0 | if (cached_has_bits & 3u) { |
6916 | 0 | if (cached_has_bits & 0x00000001u) { |
6917 | 0 | title_.ClearNonDefaultToEmptyNoArena(); |
6918 | 0 | } |
6919 | 0 | if (cached_has_bits & 0x00000002u) { |
6920 | 0 | content_.ClearNonDefaultToEmptyNoArena(); |
6921 | 0 | } |
6922 | 0 | } |
6923 | 0 | parent_ = 0; |
6924 | 0 | _has_bits_.Clear(); |
6925 | 0 | _internal_metadata_.Clear(); |
6926 | 0 | } |
6927 | | |
6928 | | bool item_t::MergePartialFromCodedStream( |
6929 | 0 | ::google::protobuf::io::CodedInputStream* input) { |
6930 | 0 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
6931 | 0 | ::google::protobuf::uint32 tag; |
6932 | | // @@protoc_insertion_point(parse_start:gss.message.item_t) |
6933 | 0 | for (;;) { |
6934 | 0 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
6935 | 0 | tag = p.first; |
6936 | 0 | if (!p.second) goto handle_unusual; |
6937 | 0 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
6938 | | // required string title = 1; |
6939 | 0 | case 1: { |
6940 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6941 | 0 | static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
6942 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
6943 | 0 | input, this->mutable_title())); |
6944 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6945 | 0 | this->title().data(), static_cast<int>(this->title().length()), |
6946 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
6947 | 0 | "gss.message.item_t.title"); |
6948 | 0 | } else { |
6949 | 0 | goto handle_unusual; |
6950 | 0 | } |
6951 | 0 | break; |
6952 | 0 | } |
6953 | | |
6954 | | // required string content = 2; |
6955 | 0 | case 2: { |
6956 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6957 | 0 | static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
6958 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
6959 | 0 | input, this->mutable_content())); |
6960 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
6961 | 0 | this->content().data(), static_cast<int>(this->content().length()), |
6962 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
6963 | 0 | "gss.message.item_t.content"); |
6964 | 0 | } else { |
6965 | 0 | goto handle_unusual; |
6966 | 0 | } |
6967 | 0 | break; |
6968 | 0 | } |
6969 | | |
6970 | | // required int32 parent = 3; |
6971 | 0 | case 3: { |
6972 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
6973 | 0 | static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) { |
6974 | 0 | set_has_parent(); |
6975 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
6976 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
6977 | 0 | input, &parent_))); |
6978 | 0 | } else { |
6979 | 0 | goto handle_unusual; |
6980 | 0 | } |
6981 | 0 | break; |
6982 | 0 | } |
6983 | | |
6984 | 0 | default: { |
6985 | 0 | handle_unusual: |
6986 | 0 | if (tag == 0) { |
6987 | 0 | goto success; |
6988 | 0 | } |
6989 | 0 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
6990 | 0 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
6991 | 0 | break; |
6992 | 0 | } |
6993 | 0 | } |
6994 | 0 | } |
6995 | 0 | success: |
6996 | | // @@protoc_insertion_point(parse_success:gss.message.item_t) |
6997 | 0 | return true; |
6998 | 0 | failure: |
6999 | | // @@protoc_insertion_point(parse_failure:gss.message.item_t) |
7000 | 0 | return false; |
7001 | 0 | #undef DO_ |
7002 | 0 | } |
7003 | | |
7004 | | void item_t::SerializeWithCachedSizes( |
7005 | 0 | ::google::protobuf::io::CodedOutputStream* output) const { |
7006 | | // @@protoc_insertion_point(serialize_start:gss.message.item_t) |
7007 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
7008 | 0 | (void) cached_has_bits; |
7009 | |
|
7010 | 0 | cached_has_bits = _has_bits_[0]; |
7011 | | // required string title = 1; |
7012 | 0 | if (cached_has_bits & 0x00000001u) { |
7013 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
7014 | 0 | this->title().data(), static_cast<int>(this->title().length()), |
7015 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
7016 | 0 | "gss.message.item_t.title"); |
7017 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
7018 | 0 | 1, this->title(), output); |
7019 | 0 | } |
7020 | | |
7021 | | // required string content = 2; |
7022 | 0 | if (cached_has_bits & 0x00000002u) { |
7023 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
7024 | 0 | this->content().data(), static_cast<int>(this->content().length()), |
7025 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
7026 | 0 | "gss.message.item_t.content"); |
7027 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
7028 | 0 | 2, this->content(), output); |
7029 | 0 | } |
7030 | | |
7031 | | // required int32 parent = 3; |
7032 | 0 | if (cached_has_bits & 0x00000004u) { |
7033 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->parent(), output); |
7034 | 0 | } |
7035 | |
|
7036 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
7037 | 0 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
7038 | 0 | _internal_metadata_.unknown_fields(), output); |
7039 | 0 | } |
7040 | | // @@protoc_insertion_point(serialize_end:gss.message.item_t) |
7041 | 0 | } |
7042 | | |
7043 | | ::google::protobuf::uint8* item_t::InternalSerializeWithCachedSizesToArray( |
7044 | 0 | bool deterministic, ::google::protobuf::uint8* target) const { |
7045 | 0 | (void)deterministic; // Unused |
7046 | | // @@protoc_insertion_point(serialize_to_array_start:gss.message.item_t) |
7047 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
7048 | 0 | (void) cached_has_bits; |
7049 | |
|
7050 | 0 | cached_has_bits = _has_bits_[0]; |
7051 | | // required string title = 1; |
7052 | 0 | if (cached_has_bits & 0x00000001u) { |
7053 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
7054 | 0 | this->title().data(), static_cast<int>(this->title().length()), |
7055 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
7056 | 0 | "gss.message.item_t.title"); |
7057 | 0 | target = |
7058 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
7059 | 0 | 1, this->title(), target); |
7060 | 0 | } |
7061 | | |
7062 | | // required string content = 2; |
7063 | 0 | if (cached_has_bits & 0x00000002u) { |
7064 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
7065 | 0 | this->content().data(), static_cast<int>(this->content().length()), |
7066 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
7067 | 0 | "gss.message.item_t.content"); |
7068 | 0 | target = |
7069 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
7070 | 0 | 2, this->content(), target); |
7071 | 0 | } |
7072 | | |
7073 | | // required int32 parent = 3; |
7074 | 0 | if (cached_has_bits & 0x00000004u) { |
7075 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->parent(), target); |
7076 | 0 | } |
7077 | |
|
7078 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
7079 | 0 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
7080 | 0 | _internal_metadata_.unknown_fields(), target); |
7081 | 0 | } |
7082 | | // @@protoc_insertion_point(serialize_to_array_end:gss.message.item_t) |
7083 | 0 | return target; |
7084 | 0 | } |
7085 | | |
7086 | 0 | size_t item_t::RequiredFieldsByteSizeFallback() const { |
7087 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:gss.message.item_t) |
7088 | 0 | size_t total_size = 0; |
7089 | |
|
7090 | 0 | if (has_title()) { |
7091 | | // required string title = 1; |
7092 | 0 | total_size += 1 + |
7093 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
7094 | 0 | this->title()); |
7095 | 0 | } |
7096 | |
|
7097 | 0 | if (has_content()) { |
7098 | | // required string content = 2; |
7099 | 0 | total_size += 1 + |
7100 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
7101 | 0 | this->content()); |
7102 | 0 | } |
7103 | |
|
7104 | 0 | if (has_parent()) { |
7105 | | // required int32 parent = 3; |
7106 | 0 | total_size += 1 + |
7107 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
7108 | 0 | this->parent()); |
7109 | 0 | } |
7110 | |
|
7111 | 0 | return total_size; |
7112 | 0 | } |
7113 | 0 | size_t item_t::ByteSizeLong() const { |
7114 | | // @@protoc_insertion_point(message_byte_size_start:gss.message.item_t) |
7115 | 0 | size_t total_size = 0; |
7116 | |
|
7117 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
7118 | 0 | total_size += |
7119 | 0 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
7120 | 0 | _internal_metadata_.unknown_fields()); |
7121 | 0 | } |
7122 | 0 | if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. |
7123 | | // required string title = 1; |
7124 | 0 | total_size += 1 + |
7125 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
7126 | 0 | this->title()); |
7127 | | |
7128 | | // required string content = 2; |
7129 | 0 | total_size += 1 + |
7130 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
7131 | 0 | this->content()); |
7132 | | |
7133 | | // required int32 parent = 3; |
7134 | 0 | total_size += 1 + |
7135 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
7136 | 0 | this->parent()); |
7137 | |
|
7138 | 0 | } else { |
7139 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
7140 | 0 | } |
7141 | 0 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
7142 | 0 | SetCachedSize(cached_size); |
7143 | 0 | return total_size; |
7144 | 0 | } |
7145 | | |
7146 | 0 | void item_t::MergeFrom(const ::google::protobuf::Message& from) { |
7147 | | // @@protoc_insertion_point(generalized_merge_from_start:gss.message.item_t) |
7148 | 0 | GOOGLE_DCHECK_NE(&from, this); |
7149 | 0 | const item_t* source = |
7150 | 0 | ::google::protobuf::internal::DynamicCastToGenerated<const item_t>( |
7151 | 0 | &from); |
7152 | 0 | if (source == NULL) { |
7153 | | // @@protoc_insertion_point(generalized_merge_from_cast_fail:gss.message.item_t) |
7154 | 0 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
7155 | 0 | } else { |
7156 | | // @@protoc_insertion_point(generalized_merge_from_cast_success:gss.message.item_t) |
7157 | 0 | MergeFrom(*source); |
7158 | 0 | } |
7159 | 0 | } |
7160 | | |
7161 | 0 | void item_t::MergeFrom(const item_t& from) { |
7162 | | // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.item_t) |
7163 | 0 | GOOGLE_DCHECK_NE(&from, this); |
7164 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
7165 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
7166 | 0 | (void) cached_has_bits; |
7167 | |
|
7168 | 0 | cached_has_bits = from._has_bits_[0]; |
7169 | 0 | if (cached_has_bits & 7u) { |
7170 | 0 | if (cached_has_bits & 0x00000001u) { |
7171 | 0 | set_has_title(); |
7172 | 0 | title_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.title_); |
7173 | 0 | } |
7174 | 0 | if (cached_has_bits & 0x00000002u) { |
7175 | 0 | set_has_content(); |
7176 | 0 | content_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.content_); |
7177 | 0 | } |
7178 | 0 | if (cached_has_bits & 0x00000004u) { |
7179 | 0 | parent_ = from.parent_; |
7180 | 0 | } |
7181 | 0 | _has_bits_[0] |= cached_has_bits; |
7182 | 0 | } |
7183 | 0 | } |
7184 | | |
7185 | 0 | void item_t::CopyFrom(const ::google::protobuf::Message& from) { |
7186 | | // @@protoc_insertion_point(generalized_copy_from_start:gss.message.item_t) |
7187 | 0 | if (&from == this) return; |
7188 | 0 | Clear(); |
7189 | 0 | MergeFrom(from); |
7190 | 0 | } |
7191 | | |
7192 | 0 | void item_t::CopyFrom(const item_t& from) { |
7193 | | // @@protoc_insertion_point(class_specific_copy_from_start:gss.message.item_t) |
7194 | 0 | if (&from == this) return; |
7195 | 0 | Clear(); |
7196 | 0 | MergeFrom(from); |
7197 | 0 | } |
7198 | | |
7199 | 0 | bool item_t::IsInitialized() const { |
7200 | 0 | if ((_has_bits_[0] & 0x00000007) != 0x00000007) return false; |
7201 | 0 | return true; |
7202 | 0 | } |
7203 | | |
7204 | 0 | void item_t::Swap(item_t* other) { |
7205 | 0 | if (other == this) return; |
7206 | 0 | InternalSwap(other); |
7207 | 0 | } |
7208 | 0 | void item_t::InternalSwap(item_t* other) { |
7209 | 0 | using std::swap; |
7210 | 0 | title_.Swap(&other->title_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7211 | 0 | GetArenaNoVirtual()); |
7212 | 0 | content_.Swap(&other->content_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7213 | 0 | GetArenaNoVirtual()); |
7214 | 0 | swap(parent_, other->parent_); |
7215 | 0 | swap(_has_bits_[0], other->_has_bits_[0]); |
7216 | 0 | _internal_metadata_.Swap(&other->_internal_metadata_); |
7217 | 0 | } |
7218 | | |
7219 | 0 | ::google::protobuf::Metadata item_t::GetMetadata() const { |
7220 | 0 | protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
7221 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; |
7222 | 0 | } |
7223 | | |
7224 | | |
7225 | | // =================================================================== |
7226 | | |
7227 | 2 | void debug_info_t::InitAsDefaultInstance() { |
7228 | 2 | } |
7229 | | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
7230 | | const int debug_info_t::kIdebugFieldNumber; |
7231 | | const int debug_info_t::kItemInfoFieldNumber; |
7232 | | const int debug_info_t::kAnchorInfoFieldNumber; |
7233 | | const int debug_info_t::kDebugInfoFieldNumber; |
7234 | | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
7235 | | |
7236 | | debug_info_t::debug_info_t() |
7237 | 2 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
7238 | 2 | ::google::protobuf::internal::InitSCC( |
7239 | 2 | &protobuf_message_2eproto::scc_info_debug_info_t.base); |
7240 | 2 | SharedCtor(); |
7241 | | // @@protoc_insertion_point(constructor:gss.message.debug_info_t) |
7242 | 2 | } |
7243 | | debug_info_t::debug_info_t(const debug_info_t& from) |
7244 | 0 | : ::google::protobuf::Message(), |
7245 | 0 | _internal_metadata_(NULL), |
7246 | 0 | _has_bits_(from._has_bits_), |
7247 | 0 | item_info_(from.item_info_), |
7248 | 0 | anchor_info_(from.anchor_info_), |
7249 | 0 | debug_info_(from.debug_info_) { |
7250 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
7251 | 0 | idebug_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7252 | 0 | if (from.has_idebug()) { |
7253 | 0 | idebug_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.idebug_); |
7254 | 0 | } |
7255 | | // @@protoc_insertion_point(copy_constructor:gss.message.debug_info_t) |
7256 | 0 | } |
7257 | | |
7258 | 2 | void debug_info_t::SharedCtor() { |
7259 | 2 | idebug_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7260 | 2 | } |
7261 | | |
7262 | 0 | debug_info_t::~debug_info_t() { |
7263 | | // @@protoc_insertion_point(destructor:gss.message.debug_info_t) |
7264 | 0 | SharedDtor(); |
7265 | 0 | } |
7266 | | |
7267 | 0 | void debug_info_t::SharedDtor() { |
7268 | 0 | idebug_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7269 | 0 | } |
7270 | | |
7271 | 0 | void debug_info_t::SetCachedSize(int size) const { |
7272 | 0 | _cached_size_.Set(size); |
7273 | 0 | } |
7274 | 0 | const ::google::protobuf::Descriptor* debug_info_t::descriptor() { |
7275 | 0 | ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
7276 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
7277 | 0 | } |
7278 | | |
7279 | 0 | const debug_info_t& debug_info_t::default_instance() { |
7280 | 0 | ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_debug_info_t.base); |
7281 | 0 | return *internal_default_instance(); |
7282 | 0 | } |
7283 | | |
7284 | | |
7285 | 0 | void debug_info_t::Clear() { |
7286 | | // @@protoc_insertion_point(message_clear_start:gss.message.debug_info_t) |
7287 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
7288 | | // Prevent compiler warnings about cached_has_bits being unused |
7289 | 0 | (void) cached_has_bits; |
7290 | |
|
7291 | 0 | item_info_.Clear(); |
7292 | 0 | anchor_info_.Clear(); |
7293 | 0 | debug_info_.Clear(); |
7294 | 0 | cached_has_bits = _has_bits_[0]; |
7295 | 0 | if (cached_has_bits & 0x00000001u) { |
7296 | 0 | idebug_.ClearNonDefaultToEmptyNoArena(); |
7297 | 0 | } |
7298 | 0 | _has_bits_.Clear(); |
7299 | 0 | _internal_metadata_.Clear(); |
7300 | 0 | } |
7301 | | |
7302 | | bool debug_info_t::MergePartialFromCodedStream( |
7303 | 0 | ::google::protobuf::io::CodedInputStream* input) { |
7304 | 0 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
7305 | 0 | ::google::protobuf::uint32 tag; |
7306 | | // @@protoc_insertion_point(parse_start:gss.message.debug_info_t) |
7307 | 0 | for (;;) { |
7308 | 0 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); |
7309 | 0 | tag = p.first; |
7310 | 0 | if (!p.second) goto handle_unusual; |
7311 | 0 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
7312 | | // optional bytes idebug = 1; |
7313 | 0 | case 1: { |
7314 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7315 | 0 | static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) { |
7316 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( |
7317 | 0 | input, this->mutable_idebug())); |
7318 | 0 | } else { |
7319 | 0 | goto handle_unusual; |
7320 | 0 | } |
7321 | 0 | break; |
7322 | 0 | } |
7323 | | |
7324 | | // repeated string item_info = 2; |
7325 | 0 | case 2: { |
7326 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7327 | 0 | static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) { |
7328 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
7329 | 0 | input, this->add_item_info())); |
7330 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
7331 | 0 | this->item_info(this->item_info_size() - 1).data(), |
7332 | 0 | static_cast<int>(this->item_info(this->item_info_size() - 1).length()), |
7333 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
7334 | 0 | "gss.message.debug_info_t.item_info"); |
7335 | 0 | } else { |
7336 | 0 | goto handle_unusual; |
7337 | 0 | } |
7338 | 0 | break; |
7339 | 0 | } |
7340 | | |
7341 | | // repeated string anchor_info = 3; |
7342 | 0 | case 3: { |
7343 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7344 | 0 | static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
7345 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
7346 | 0 | input, this->add_anchor_info())); |
7347 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
7348 | 0 | this->anchor_info(this->anchor_info_size() - 1).data(), |
7349 | 0 | static_cast<int>(this->anchor_info(this->anchor_info_size() - 1).length()), |
7350 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
7351 | 0 | "gss.message.debug_info_t.anchor_info"); |
7352 | 0 | } else { |
7353 | 0 | goto handle_unusual; |
7354 | 0 | } |
7355 | 0 | break; |
7356 | 0 | } |
7357 | | |
7358 | | // repeated .gss.message.item_t debug_info = 4 [deprecated = true]; |
7359 | 0 | case 4: { |
7360 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7361 | 0 | static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) { |
7362 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
7363 | 0 | input, add_debug_info())); |
7364 | 0 | } else { |
7365 | 0 | goto handle_unusual; |
7366 | 0 | } |
7367 | 0 | break; |
7368 | 0 | } |
7369 | | |
7370 | 0 | default: { |
7371 | 0 | handle_unusual: |
7372 | 0 | if (tag == 0) { |
7373 | 0 | goto success; |
7374 | 0 | } |
7375 | 0 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
7376 | 0 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
7377 | 0 | break; |
7378 | 0 | } |
7379 | 0 | } |
7380 | 0 | } |
7381 | 0 | success: |
7382 | | // @@protoc_insertion_point(parse_success:gss.message.debug_info_t) |
7383 | 0 | return true; |
7384 | 0 | failure: |
7385 | | // @@protoc_insertion_point(parse_failure:gss.message.debug_info_t) |
7386 | 0 | return false; |
7387 | 0 | #undef DO_ |
7388 | 0 | } |
7389 | | |
7390 | | void debug_info_t::SerializeWithCachedSizes( |
7391 | 0 | ::google::protobuf::io::CodedOutputStream* output) const { |
7392 | | // @@protoc_insertion_point(serialize_start:gss.message.debug_info_t) |
7393 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
7394 | 0 | (void) cached_has_bits; |
7395 | |
|
7396 | 0 | cached_has_bits = _has_bits_[0]; |
7397 | | // optional bytes idebug = 1; |
7398 | 0 | if (cached_has_bits & 0x00000001u) { |
7399 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( |
7400 | 0 | 1, this->idebug(), output); |
7401 | 0 | } |
7402 | | |
7403 | | // repeated string item_info = 2; |
7404 | 0 | for (int i = 0, n = this->item_info_size(); i < n; i++) { |
7405 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
7406 | 0 | this->item_info(i).data(), static_cast<int>(this->item_info(i).length()), |
7407 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
7408 | 0 | "gss.message.debug_info_t.item_info"); |
7409 | 0 | ::google::protobuf::internal::WireFormatLite::WriteString( |
7410 | 0 | 2, this->item_info(i), output); |
7411 | 0 | } |
7412 | | |
7413 | | // repeated string anchor_info = 3; |
7414 | 0 | for (int i = 0, n = this->anchor_info_size(); i < n; i++) { |
7415 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
7416 | 0 | this->anchor_info(i).data(), static_cast<int>(this->anchor_info(i).length()), |
7417 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
7418 | 0 | "gss.message.debug_info_t.anchor_info"); |
7419 | 0 | ::google::protobuf::internal::WireFormatLite::WriteString( |
7420 | 0 | 3, this->anchor_info(i), output); |
7421 | 0 | } |
7422 | | |
7423 | | // repeated .gss.message.item_t debug_info = 4 [deprecated = true]; |
7424 | 0 | for (unsigned int i = 0, |
7425 | 0 | n = static_cast<unsigned int>(this->debug_info_size()); i < n; i++) { |
7426 | 0 | ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
7427 | 0 | 4, |
7428 | 0 | this->debug_info(static_cast<int>(i)), |
7429 | 0 | output); |
7430 | 0 | } |
7431 | |
|
7432 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
7433 | 0 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
7434 | 0 | _internal_metadata_.unknown_fields(), output); |
7435 | 0 | } |
7436 | | // @@protoc_insertion_point(serialize_end:gss.message.debug_info_t) |
7437 | 0 | } |
7438 | | |
7439 | | ::google::protobuf::uint8* debug_info_t::InternalSerializeWithCachedSizesToArray( |
7440 | 0 | bool deterministic, ::google::protobuf::uint8* target) const { |
7441 | 0 | (void)deterministic; // Unused |
7442 | | // @@protoc_insertion_point(serialize_to_array_start:gss.message.debug_info_t) |
7443 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
7444 | 0 | (void) cached_has_bits; |
7445 | |
|
7446 | 0 | cached_has_bits = _has_bits_[0]; |
7447 | | // optional bytes idebug = 1; |
7448 | 0 | if (cached_has_bits & 0x00000001u) { |
7449 | 0 | target = |
7450 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( |
7451 | 0 | 1, this->idebug(), target); |
7452 | 0 | } |
7453 | | |
7454 | | // repeated string item_info = 2; |
7455 | 0 | for (int i = 0, n = this->item_info_size(); i < n; i++) { |
7456 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
7457 | 0 | this->item_info(i).data(), static_cast<int>(this->item_info(i).length()), |
7458 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
7459 | 0 | "gss.message.debug_info_t.item_info"); |
7460 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
7461 | 0 | WriteStringToArray(2, this->item_info(i), target); |
7462 | 0 | } |
7463 | | |
7464 | | // repeated string anchor_info = 3; |
7465 | 0 | for (int i = 0, n = this->anchor_info_size(); i < n; i++) { |
7466 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
7467 | 0 | this->anchor_info(i).data(), static_cast<int>(this->anchor_info(i).length()), |
7468 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
7469 | 0 | "gss.message.debug_info_t.anchor_info"); |
7470 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
7471 | 0 | WriteStringToArray(3, this->anchor_info(i), target); |
7472 | 0 | } |
7473 | | |
7474 | | // repeated .gss.message.item_t debug_info = 4 [deprecated = true]; |
7475 | 0 | for (unsigned int i = 0, |
7476 | 0 | n = static_cast<unsigned int>(this->debug_info_size()); i < n; i++) { |
7477 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
7478 | 0 | InternalWriteMessageToArray( |
7479 | 0 | 4, this->debug_info(static_cast<int>(i)), deterministic, target); |
7480 | 0 | } |
7481 | |
|
7482 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
7483 | 0 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
7484 | 0 | _internal_metadata_.unknown_fields(), target); |
7485 | 0 | } |
7486 | | // @@protoc_insertion_point(serialize_to_array_end:gss.message.debug_info_t) |
7487 | 0 | return target; |
7488 | 0 | } |
7489 | | |
7490 | 0 | size_t debug_info_t::ByteSizeLong() const { |
7491 | | // @@protoc_insertion_point(message_byte_size_start:gss.message.debug_info_t) |
7492 | 0 | size_t total_size = 0; |
7493 | |
|
7494 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
7495 | 0 | total_size += |
7496 | 0 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
7497 | 0 | _internal_metadata_.unknown_fields()); |
7498 | 0 | } |
7499 | | // repeated string item_info = 2; |
7500 | 0 | total_size += 1 * |
7501 | 0 | ::google::protobuf::internal::FromIntSize(this->item_info_size()); |
7502 | 0 | for (int i = 0, n = this->item_info_size(); i < n; i++) { |
7503 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
7504 | 0 | this->item_info(i)); |
7505 | 0 | } |
7506 | | |
7507 | | // repeated string anchor_info = 3; |
7508 | 0 | total_size += 1 * |
7509 | 0 | ::google::protobuf::internal::FromIntSize(this->anchor_info_size()); |
7510 | 0 | for (int i = 0, n = this->anchor_info_size(); i < n; i++) { |
7511 | 0 | total_size += ::google::protobuf::internal::WireFormatLite::StringSize( |
7512 | 0 | this->anchor_info(i)); |
7513 | 0 | } |
7514 | | |
7515 | | // repeated .gss.message.item_t debug_info = 4 [deprecated = true]; |
7516 | 0 | { |
7517 | 0 | unsigned int count = static_cast<unsigned int>(this->debug_info_size()); |
7518 | 0 | total_size += 1UL * count; |
7519 | 0 | for (unsigned int i = 0; i < count; i++) { |
7520 | 0 | total_size += |
7521 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize( |
7522 | 0 | this->debug_info(static_cast<int>(i))); |
7523 | 0 | } |
7524 | 0 | } |
7525 | | |
7526 | | // optional bytes idebug = 1; |
7527 | 0 | if (has_idebug()) { |
7528 | 0 | total_size += 1 + |
7529 | 0 | ::google::protobuf::internal::WireFormatLite::BytesSize( |
7530 | 0 | this->idebug()); |
7531 | 0 | } |
7532 | |
|
7533 | 0 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
7534 | 0 | SetCachedSize(cached_size); |
7535 | 0 | return total_size; |
7536 | 0 | } |
7537 | | |
7538 | 0 | void debug_info_t::MergeFrom(const ::google::protobuf::Message& from) { |
7539 | | // @@protoc_insertion_point(generalized_merge_from_start:gss.message.debug_info_t) |
7540 | 0 | GOOGLE_DCHECK_NE(&from, this); |
7541 | 0 | const debug_info_t* source = |
7542 | 0 | ::google::protobuf::internal::DynamicCastToGenerated<const debug_info_t>( |
7543 | 0 | &from); |
7544 | 0 | if (source == NULL) { |
7545 | | // @@protoc_insertion_point(generalized_merge_from_cast_fail:gss.message.debug_info_t) |
7546 | 0 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
7547 | 0 | } else { |
7548 | | // @@protoc_insertion_point(generalized_merge_from_cast_success:gss.message.debug_info_t) |
7549 | 0 | MergeFrom(*source); |
7550 | 0 | } |
7551 | 0 | } |
7552 | | |
7553 | 0 | void debug_info_t::MergeFrom(const debug_info_t& from) { |
7554 | | // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.debug_info_t) |
7555 | 0 | GOOGLE_DCHECK_NE(&from, this); |
7556 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
7557 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
7558 | 0 | (void) cached_has_bits; |
7559 | |
|
7560 | 0 | item_info_.MergeFrom(from.item_info_); |
7561 | 0 | anchor_info_.MergeFrom(from.anchor_info_); |
7562 | 0 | debug_info_.MergeFrom(from.debug_info_); |
7563 | 0 | if (from.has_idebug()) { |
7564 | 0 | set_has_idebug(); |
7565 | 0 | idebug_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.idebug_); |
7566 | 0 | } |
7567 | 0 | } |
7568 | | |
7569 | 0 | void debug_info_t::CopyFrom(const ::google::protobuf::Message& from) { |
7570 | | // @@protoc_insertion_point(generalized_copy_from_start:gss.message.debug_info_t) |
7571 | 0 | if (&from == this) return; |
7572 | 0 | Clear(); |
7573 | 0 | MergeFrom(from); |
7574 | 0 | } |
7575 | | |
7576 | 0 | void debug_info_t::CopyFrom(const debug_info_t& from) { |
7577 | | // @@protoc_insertion_point(class_specific_copy_from_start:gss.message.debug_info_t) |
7578 | 0 | if (&from == this) return; |
7579 | 0 | Clear(); |
7580 | 0 | MergeFrom(from); |
7581 | 0 | } |
7582 | | |
7583 | 0 | bool debug_info_t::IsInitialized() const { |
7584 | 0 | if (!::google::protobuf::internal::AllAreInitialized(this->debug_info())) return false; |
7585 | 0 | return true; |
7586 | 0 | } |
7587 | | |
7588 | 0 | void debug_info_t::Swap(debug_info_t* other) { |
7589 | 0 | if (other == this) return; |
7590 | 0 | InternalSwap(other); |
7591 | 0 | } |
7592 | 0 | void debug_info_t::InternalSwap(debug_info_t* other) { |
7593 | 0 | using std::swap; |
7594 | 0 | item_info_.InternalSwap(CastToBase(&other->item_info_)); |
7595 | 0 | anchor_info_.InternalSwap(CastToBase(&other->anchor_info_)); |
7596 | 0 | CastToBase(&debug_info_)->InternalSwap(CastToBase(&other->debug_info_)); |
7597 | 0 | idebug_.Swap(&other->idebug_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
7598 | 0 | GetArenaNoVirtual()); |
7599 | 0 | swap(_has_bits_[0], other->_has_bits_[0]); |
7600 | 0 | _internal_metadata_.Swap(&other->_internal_metadata_); |
7601 | 0 | } |
7602 | | |
7603 | 0 | ::google::protobuf::Metadata debug_info_t::GetMetadata() const { |
7604 | 0 | protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
7605 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; |
7606 | 0 | } |
7607 | | |
7608 | | |
7609 | | // =================================================================== |
7610 | | |
7611 | 2 | void gss_us_res_t::InitAsDefaultInstance() { |
7612 | 2 | ::gss::message::_gss_us_res_t_default_instance_._instance.get_mutable()->info_ = const_cast< ::gss::message::debug_info_t*>( |
7613 | 2 | ::gss::message::debug_info_t::internal_default_instance()); |
7614 | 2 | } |
7615 | | #if !defined(_MSC_VER) || _MSC_VER >= 1900 |
7616 | | const int gss_us_res_t::kResultCodeFieldNumber; |
7617 | | const int gss_us_res_t::kQueryIDFieldNumber; |
7618 | | const int gss_us_res_t::kResultFieldNumber; |
7619 | | const int gss_us_res_t::kResultNumFieldNumber; |
7620 | | const int gss_us_res_t::kInfoFieldNumber; |
7621 | | const int gss_us_res_t::kBfeCachedTimeFieldNumber; |
7622 | | const int gss_us_res_t::kBfeCachedIslocateFieldNumber; |
7623 | | const int gss_us_res_t::kDispDataUrlExFieldNumber; |
7624 | | const int gss_us_res_t::kDispDataQueryExFieldNumber; |
7625 | | const int gss_us_res_t::kNameFieldNumber; |
7626 | | #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 |
7627 | | |
7628 | | gss_us_res_t::gss_us_res_t() |
7629 | 2 | : ::google::protobuf::Message(), _internal_metadata_(NULL) { |
7630 | 2 | ::google::protobuf::internal::InitSCC( |
7631 | 2 | &protobuf_message_2eproto::scc_info_gss_us_res_t.base); |
7632 | 2 | SharedCtor(); |
7633 | | // @@protoc_insertion_point(constructor:gss.message.gss_us_res_t) |
7634 | 2 | } |
7635 | | gss_us_res_t::gss_us_res_t(const gss_us_res_t& from) |
7636 | 0 | : ::google::protobuf::Message(), |
7637 | 0 | _internal_metadata_(NULL), |
7638 | 0 | _has_bits_(from._has_bits_), |
7639 | 0 | result_(from.result_) { |
7640 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
7641 | 0 | disp_data_url_ex_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7642 | 0 | if (from.has_disp_data_url_ex()) { |
7643 | 0 | disp_data_url_ex_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.disp_data_url_ex_); |
7644 | 0 | } |
7645 | 0 | disp_data_query_ex_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7646 | 0 | if (from.has_disp_data_query_ex()) { |
7647 | 0 | disp_data_query_ex_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.disp_data_query_ex_); |
7648 | 0 | } |
7649 | 0 | name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7650 | 0 | if (from.has_name()) { |
7651 | 0 | name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); |
7652 | 0 | } |
7653 | 0 | if (from.has_info()) { |
7654 | 0 | info_ = new ::gss::message::debug_info_t(*from.info_); |
7655 | 0 | } else { |
7656 | 0 | info_ = NULL; |
7657 | 0 | } |
7658 | 0 | ::memcpy(&queryid_, &from.queryid_, |
7659 | 0 | static_cast<size_t>(reinterpret_cast<char*>(&bfe_cached_islocate_) - |
7660 | 0 | reinterpret_cast<char*>(&queryid_)) + sizeof(bfe_cached_islocate_)); |
7661 | | // @@protoc_insertion_point(copy_constructor:gss.message.gss_us_res_t) |
7662 | 0 | } |
7663 | | |
7664 | 2 | void gss_us_res_t::SharedCtor() { |
7665 | 2 | disp_data_url_ex_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7666 | 2 | disp_data_query_ex_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7667 | 2 | name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7668 | 2 | ::memset(&info_, 0, static_cast<size_t>( |
7669 | 2 | reinterpret_cast<char*>(&bfe_cached_islocate_) - |
7670 | 2 | reinterpret_cast<char*>(&info_)) + sizeof(bfe_cached_islocate_)); |
7671 | 2 | } |
7672 | | |
7673 | 0 | gss_us_res_t::~gss_us_res_t() { |
7674 | | // @@protoc_insertion_point(destructor:gss.message.gss_us_res_t) |
7675 | 0 | SharedDtor(); |
7676 | 0 | } |
7677 | | |
7678 | 0 | void gss_us_res_t::SharedDtor() { |
7679 | 0 | disp_data_url_ex_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7680 | 0 | disp_data_query_ex_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7681 | 0 | name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
7682 | 0 | if (this != internal_default_instance()) delete info_; |
7683 | 0 | } |
7684 | | |
7685 | 0 | void gss_us_res_t::SetCachedSize(int size) const { |
7686 | 0 | _cached_size_.Set(size); |
7687 | 0 | } |
7688 | 0 | const ::google::protobuf::Descriptor* gss_us_res_t::descriptor() { |
7689 | 0 | ::protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
7690 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages].descriptor; |
7691 | 0 | } |
7692 | | |
7693 | 0 | const gss_us_res_t& gss_us_res_t::default_instance() { |
7694 | 0 | ::google::protobuf::internal::InitSCC(&protobuf_message_2eproto::scc_info_gss_us_res_t.base); |
7695 | 0 | return *internal_default_instance(); |
7696 | 0 | } |
7697 | | |
7698 | | |
7699 | 0 | void gss_us_res_t::Clear() { |
7700 | | // @@protoc_insertion_point(message_clear_start:gss.message.gss_us_res_t) |
7701 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
7702 | | // Prevent compiler warnings about cached_has_bits being unused |
7703 | 0 | (void) cached_has_bits; |
7704 | |
|
7705 | 0 | result_.Clear(); |
7706 | 0 | cached_has_bits = _has_bits_[0]; |
7707 | 0 | if (cached_has_bits & 15u) { |
7708 | 0 | if (cached_has_bits & 0x00000001u) { |
7709 | 0 | disp_data_url_ex_.ClearNonDefaultToEmptyNoArena(); |
7710 | 0 | } |
7711 | 0 | if (cached_has_bits & 0x00000002u) { |
7712 | 0 | disp_data_query_ex_.ClearNonDefaultToEmptyNoArena(); |
7713 | 0 | } |
7714 | 0 | if (cached_has_bits & 0x00000004u) { |
7715 | 0 | name_.ClearNonDefaultToEmptyNoArena(); |
7716 | 0 | } |
7717 | 0 | if (cached_has_bits & 0x00000008u) { |
7718 | 0 | GOOGLE_DCHECK(info_ != NULL); |
7719 | 0 | info_->Clear(); |
7720 | 0 | } |
7721 | 0 | } |
7722 | 0 | if (cached_has_bits & 240u) { |
7723 | 0 | ::memset(&queryid_, 0, static_cast<size_t>( |
7724 | 0 | reinterpret_cast<char*>(&bfe_cached_time_) - |
7725 | 0 | reinterpret_cast<char*>(&queryid_)) + sizeof(bfe_cached_time_)); |
7726 | 0 | } |
7727 | 0 | bfe_cached_islocate_ = 0; |
7728 | 0 | _has_bits_.Clear(); |
7729 | 0 | _internal_metadata_.Clear(); |
7730 | 0 | } |
7731 | | |
7732 | | bool gss_us_res_t::MergePartialFromCodedStream( |
7733 | 0 | ::google::protobuf::io::CodedInputStream* input) { |
7734 | 0 | #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure |
7735 | 0 | ::google::protobuf::uint32 tag; |
7736 | | // @@protoc_insertion_point(parse_start:gss.message.gss_us_res_t) |
7737 | 0 | for (;;) { |
7738 | 0 | ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(16383u); |
7739 | 0 | tag = p.first; |
7740 | 0 | if (!p.second) goto handle_unusual; |
7741 | 0 | switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { |
7742 | | // required int32 ResultCode = 1; |
7743 | 0 | case 1: { |
7744 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7745 | 0 | static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) { |
7746 | 0 | set_has_resultcode(); |
7747 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
7748 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
7749 | 0 | input, &resultcode_))); |
7750 | 0 | } else { |
7751 | 0 | goto handle_unusual; |
7752 | 0 | } |
7753 | 0 | break; |
7754 | 0 | } |
7755 | | |
7756 | | // required uint64 QueryID = 2; |
7757 | 0 | case 2: { |
7758 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7759 | 0 | static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) { |
7760 | 0 | set_has_queryid(); |
7761 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
7762 | 0 | ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( |
7763 | 0 | input, &queryid_))); |
7764 | 0 | } else { |
7765 | 0 | goto handle_unusual; |
7766 | 0 | } |
7767 | 0 | break; |
7768 | 0 | } |
7769 | | |
7770 | | // repeated .gss.message.gss_res_t Result = 3; |
7771 | 0 | case 3: { |
7772 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7773 | 0 | static_cast< ::google::protobuf::uint8>(26u /* 26 & 0xFF */)) { |
7774 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
7775 | 0 | input, add_result())); |
7776 | 0 | } else { |
7777 | 0 | goto handle_unusual; |
7778 | 0 | } |
7779 | 0 | break; |
7780 | 0 | } |
7781 | | |
7782 | | // required uint32 ResultNum = 4; |
7783 | 0 | case 4: { |
7784 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7785 | 0 | static_cast< ::google::protobuf::uint8>(32u /* 32 & 0xFF */)) { |
7786 | 0 | set_has_resultnum(); |
7787 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
7788 | 0 | ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( |
7789 | 0 | input, &resultnum_))); |
7790 | 0 | } else { |
7791 | 0 | goto handle_unusual; |
7792 | 0 | } |
7793 | 0 | break; |
7794 | 0 | } |
7795 | | |
7796 | | // optional .gss.message.debug_info_t info = 5; |
7797 | 0 | case 5: { |
7798 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7799 | 0 | static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) { |
7800 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( |
7801 | 0 | input, mutable_info())); |
7802 | 0 | } else { |
7803 | 0 | goto handle_unusual; |
7804 | 0 | } |
7805 | 0 | break; |
7806 | 0 | } |
7807 | | |
7808 | | // optional int32 bfe_cached_time = 6; |
7809 | 0 | case 6: { |
7810 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7811 | 0 | static_cast< ::google::protobuf::uint8>(48u /* 48 & 0xFF */)) { |
7812 | 0 | set_has_bfe_cached_time(); |
7813 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
7814 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
7815 | 0 | input, &bfe_cached_time_))); |
7816 | 0 | } else { |
7817 | 0 | goto handle_unusual; |
7818 | 0 | } |
7819 | 0 | break; |
7820 | 0 | } |
7821 | | |
7822 | | // optional int32 bfe_cached_islocate = 7; |
7823 | 0 | case 7: { |
7824 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7825 | 0 | static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) { |
7826 | 0 | set_has_bfe_cached_islocate(); |
7827 | 0 | DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< |
7828 | 0 | ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( |
7829 | 0 | input, &bfe_cached_islocate_))); |
7830 | 0 | } else { |
7831 | 0 | goto handle_unusual; |
7832 | 0 | } |
7833 | 0 | break; |
7834 | 0 | } |
7835 | | |
7836 | | // optional bytes disp_data_url_ex = 8; |
7837 | 0 | case 8: { |
7838 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7839 | 0 | static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) { |
7840 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( |
7841 | 0 | input, this->mutable_disp_data_url_ex())); |
7842 | 0 | } else { |
7843 | 0 | goto handle_unusual; |
7844 | 0 | } |
7845 | 0 | break; |
7846 | 0 | } |
7847 | | |
7848 | | // optional bytes disp_data_query_ex = 9; |
7849 | 0 | case 9: { |
7850 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7851 | 0 | static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) { |
7852 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( |
7853 | 0 | input, this->mutable_disp_data_query_ex())); |
7854 | 0 | } else { |
7855 | 0 | goto handle_unusual; |
7856 | 0 | } |
7857 | 0 | break; |
7858 | 0 | } |
7859 | | |
7860 | | // optional string name = 20; |
7861 | 0 | case 20: { |
7862 | 0 | if (static_cast< ::google::protobuf::uint8>(tag) == |
7863 | 0 | static_cast< ::google::protobuf::uint8>(162u /* 162 & 0xFF */)) { |
7864 | 0 | DO_(::google::protobuf::internal::WireFormatLite::ReadString( |
7865 | 0 | input, this->mutable_name())); |
7866 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
7867 | 0 | this->name().data(), static_cast<int>(this->name().length()), |
7868 | 0 | ::google::protobuf::internal::WireFormat::PARSE, |
7869 | 0 | "gss.message.gss_us_res_t.name"); |
7870 | 0 | } else { |
7871 | 0 | goto handle_unusual; |
7872 | 0 | } |
7873 | 0 | break; |
7874 | 0 | } |
7875 | | |
7876 | 0 | default: { |
7877 | 0 | handle_unusual: |
7878 | 0 | if (tag == 0) { |
7879 | 0 | goto success; |
7880 | 0 | } |
7881 | 0 | DO_(::google::protobuf::internal::WireFormat::SkipField( |
7882 | 0 | input, tag, _internal_metadata_.mutable_unknown_fields())); |
7883 | 0 | break; |
7884 | 0 | } |
7885 | 0 | } |
7886 | 0 | } |
7887 | 0 | success: |
7888 | | // @@protoc_insertion_point(parse_success:gss.message.gss_us_res_t) |
7889 | 0 | return true; |
7890 | 0 | failure: |
7891 | | // @@protoc_insertion_point(parse_failure:gss.message.gss_us_res_t) |
7892 | 0 | return false; |
7893 | 0 | #undef DO_ |
7894 | 0 | } |
7895 | | |
7896 | | void gss_us_res_t::SerializeWithCachedSizes( |
7897 | 0 | ::google::protobuf::io::CodedOutputStream* output) const { |
7898 | | // @@protoc_insertion_point(serialize_start:gss.message.gss_us_res_t) |
7899 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
7900 | 0 | (void) cached_has_bits; |
7901 | |
|
7902 | 0 | cached_has_bits = _has_bits_[0]; |
7903 | | // required int32 ResultCode = 1; |
7904 | 0 | if (cached_has_bits & 0x00000020u) { |
7905 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->resultcode(), output); |
7906 | 0 | } |
7907 | | |
7908 | | // required uint64 QueryID = 2; |
7909 | 0 | if (cached_has_bits & 0x00000010u) { |
7910 | 0 | ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->queryid(), output); |
7911 | 0 | } |
7912 | | |
7913 | | // repeated .gss.message.gss_res_t Result = 3; |
7914 | 0 | for (unsigned int i = 0, |
7915 | 0 | n = static_cast<unsigned int>(this->result_size()); i < n; i++) { |
7916 | 0 | ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
7917 | 0 | 3, |
7918 | 0 | this->result(static_cast<int>(i)), |
7919 | 0 | output); |
7920 | 0 | } |
7921 | | |
7922 | | // required uint32 ResultNum = 4; |
7923 | 0 | if (cached_has_bits & 0x00000040u) { |
7924 | 0 | ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->resultnum(), output); |
7925 | 0 | } |
7926 | | |
7927 | | // optional .gss.message.debug_info_t info = 5; |
7928 | 0 | if (cached_has_bits & 0x00000008u) { |
7929 | 0 | ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( |
7930 | 0 | 5, this->_internal_info(), output); |
7931 | 0 | } |
7932 | | |
7933 | | // optional int32 bfe_cached_time = 6; |
7934 | 0 | if (cached_has_bits & 0x00000080u) { |
7935 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->bfe_cached_time(), output); |
7936 | 0 | } |
7937 | | |
7938 | | // optional int32 bfe_cached_islocate = 7; |
7939 | 0 | if (cached_has_bits & 0x00000100u) { |
7940 | 0 | ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->bfe_cached_islocate(), output); |
7941 | 0 | } |
7942 | | |
7943 | | // optional bytes disp_data_url_ex = 8; |
7944 | 0 | if (cached_has_bits & 0x00000001u) { |
7945 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( |
7946 | 0 | 8, this->disp_data_url_ex(), output); |
7947 | 0 | } |
7948 | | |
7949 | | // optional bytes disp_data_query_ex = 9; |
7950 | 0 | if (cached_has_bits & 0x00000002u) { |
7951 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( |
7952 | 0 | 9, this->disp_data_query_ex(), output); |
7953 | 0 | } |
7954 | | |
7955 | | // optional string name = 20; |
7956 | 0 | if (cached_has_bits & 0x00000004u) { |
7957 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
7958 | 0 | this->name().data(), static_cast<int>(this->name().length()), |
7959 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
7960 | 0 | "gss.message.gss_us_res_t.name"); |
7961 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( |
7962 | 0 | 20, this->name(), output); |
7963 | 0 | } |
7964 | |
|
7965 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
7966 | 0 | ::google::protobuf::internal::WireFormat::SerializeUnknownFields( |
7967 | 0 | _internal_metadata_.unknown_fields(), output); |
7968 | 0 | } |
7969 | | // @@protoc_insertion_point(serialize_end:gss.message.gss_us_res_t) |
7970 | 0 | } |
7971 | | |
7972 | | ::google::protobuf::uint8* gss_us_res_t::InternalSerializeWithCachedSizesToArray( |
7973 | 0 | bool deterministic, ::google::protobuf::uint8* target) const { |
7974 | 0 | (void)deterministic; // Unused |
7975 | | // @@protoc_insertion_point(serialize_to_array_start:gss.message.gss_us_res_t) |
7976 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
7977 | 0 | (void) cached_has_bits; |
7978 | |
|
7979 | 0 | cached_has_bits = _has_bits_[0]; |
7980 | | // required int32 ResultCode = 1; |
7981 | 0 | if (cached_has_bits & 0x00000020u) { |
7982 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->resultcode(), target); |
7983 | 0 | } |
7984 | | |
7985 | | // required uint64 QueryID = 2; |
7986 | 0 | if (cached_has_bits & 0x00000010u) { |
7987 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->queryid(), target); |
7988 | 0 | } |
7989 | | |
7990 | | // repeated .gss.message.gss_res_t Result = 3; |
7991 | 0 | for (unsigned int i = 0, |
7992 | 0 | n = static_cast<unsigned int>(this->result_size()); i < n; i++) { |
7993 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
7994 | 0 | InternalWriteMessageToArray( |
7995 | 0 | 3, this->result(static_cast<int>(i)), deterministic, target); |
7996 | 0 | } |
7997 | | |
7998 | | // required uint32 ResultNum = 4; |
7999 | 0 | if (cached_has_bits & 0x00000040u) { |
8000 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->resultnum(), target); |
8001 | 0 | } |
8002 | | |
8003 | | // optional .gss.message.debug_info_t info = 5; |
8004 | 0 | if (cached_has_bits & 0x00000008u) { |
8005 | 0 | target = ::google::protobuf::internal::WireFormatLite:: |
8006 | 0 | InternalWriteMessageToArray( |
8007 | 0 | 5, this->_internal_info(), deterministic, target); |
8008 | 0 | } |
8009 | | |
8010 | | // optional int32 bfe_cached_time = 6; |
8011 | 0 | if (cached_has_bits & 0x00000080u) { |
8012 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->bfe_cached_time(), target); |
8013 | 0 | } |
8014 | | |
8015 | | // optional int32 bfe_cached_islocate = 7; |
8016 | 0 | if (cached_has_bits & 0x00000100u) { |
8017 | 0 | target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->bfe_cached_islocate(), target); |
8018 | 0 | } |
8019 | | |
8020 | | // optional bytes disp_data_url_ex = 8; |
8021 | 0 | if (cached_has_bits & 0x00000001u) { |
8022 | 0 | target = |
8023 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( |
8024 | 0 | 8, this->disp_data_url_ex(), target); |
8025 | 0 | } |
8026 | | |
8027 | | // optional bytes disp_data_query_ex = 9; |
8028 | 0 | if (cached_has_bits & 0x00000002u) { |
8029 | 0 | target = |
8030 | 0 | ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( |
8031 | 0 | 9, this->disp_data_query_ex(), target); |
8032 | 0 | } |
8033 | | |
8034 | | // optional string name = 20; |
8035 | 0 | if (cached_has_bits & 0x00000004u) { |
8036 | 0 | ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( |
8037 | 0 | this->name().data(), static_cast<int>(this->name().length()), |
8038 | 0 | ::google::protobuf::internal::WireFormat::SERIALIZE, |
8039 | 0 | "gss.message.gss_us_res_t.name"); |
8040 | 0 | target = |
8041 | 0 | ::google::protobuf::internal::WireFormatLite::WriteStringToArray( |
8042 | 0 | 20, this->name(), target); |
8043 | 0 | } |
8044 | |
|
8045 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
8046 | 0 | target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( |
8047 | 0 | _internal_metadata_.unknown_fields(), target); |
8048 | 0 | } |
8049 | | // @@protoc_insertion_point(serialize_to_array_end:gss.message.gss_us_res_t) |
8050 | 0 | return target; |
8051 | 0 | } |
8052 | | |
8053 | 0 | size_t gss_us_res_t::RequiredFieldsByteSizeFallback() const { |
8054 | | // @@protoc_insertion_point(required_fields_byte_size_fallback_start:gss.message.gss_us_res_t) |
8055 | 0 | size_t total_size = 0; |
8056 | |
|
8057 | 0 | if (has_queryid()) { |
8058 | | // required uint64 QueryID = 2; |
8059 | 0 | total_size += 1 + |
8060 | 0 | ::google::protobuf::internal::WireFormatLite::UInt64Size( |
8061 | 0 | this->queryid()); |
8062 | 0 | } |
8063 | |
|
8064 | 0 | if (has_resultcode()) { |
8065 | | // required int32 ResultCode = 1; |
8066 | 0 | total_size += 1 + |
8067 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
8068 | 0 | this->resultcode()); |
8069 | 0 | } |
8070 | |
|
8071 | 0 | if (has_resultnum()) { |
8072 | | // required uint32 ResultNum = 4; |
8073 | 0 | total_size += 1 + |
8074 | 0 | ::google::protobuf::internal::WireFormatLite::UInt32Size( |
8075 | 0 | this->resultnum()); |
8076 | 0 | } |
8077 | |
|
8078 | 0 | return total_size; |
8079 | 0 | } |
8080 | 0 | size_t gss_us_res_t::ByteSizeLong() const { |
8081 | | // @@protoc_insertion_point(message_byte_size_start:gss.message.gss_us_res_t) |
8082 | 0 | size_t total_size = 0; |
8083 | |
|
8084 | 0 | if (_internal_metadata_.have_unknown_fields()) { |
8085 | 0 | total_size += |
8086 | 0 | ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( |
8087 | 0 | _internal_metadata_.unknown_fields()); |
8088 | 0 | } |
8089 | 0 | if (((_has_bits_[0] & 0x00000070) ^ 0x00000070) == 0) { // All required fields are present. |
8090 | | // required uint64 QueryID = 2; |
8091 | 0 | total_size += 1 + |
8092 | 0 | ::google::protobuf::internal::WireFormatLite::UInt64Size( |
8093 | 0 | this->queryid()); |
8094 | | |
8095 | | // required int32 ResultCode = 1; |
8096 | 0 | total_size += 1 + |
8097 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
8098 | 0 | this->resultcode()); |
8099 | | |
8100 | | // required uint32 ResultNum = 4; |
8101 | 0 | total_size += 1 + |
8102 | 0 | ::google::protobuf::internal::WireFormatLite::UInt32Size( |
8103 | 0 | this->resultnum()); |
8104 | |
|
8105 | 0 | } else { |
8106 | 0 | total_size += RequiredFieldsByteSizeFallback(); |
8107 | 0 | } |
8108 | | // repeated .gss.message.gss_res_t Result = 3; |
8109 | 0 | { |
8110 | 0 | unsigned int count = static_cast<unsigned int>(this->result_size()); |
8111 | 0 | total_size += 1UL * count; |
8112 | 0 | for (unsigned int i = 0; i < count; i++) { |
8113 | 0 | total_size += |
8114 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize( |
8115 | 0 | this->result(static_cast<int>(i))); |
8116 | 0 | } |
8117 | 0 | } |
8118 | |
|
8119 | 0 | if (_has_bits_[0 / 32] & 15u) { |
8120 | | // optional bytes disp_data_url_ex = 8; |
8121 | 0 | if (has_disp_data_url_ex()) { |
8122 | 0 | total_size += 1 + |
8123 | 0 | ::google::protobuf::internal::WireFormatLite::BytesSize( |
8124 | 0 | this->disp_data_url_ex()); |
8125 | 0 | } |
8126 | | |
8127 | | // optional bytes disp_data_query_ex = 9; |
8128 | 0 | if (has_disp_data_query_ex()) { |
8129 | 0 | total_size += 1 + |
8130 | 0 | ::google::protobuf::internal::WireFormatLite::BytesSize( |
8131 | 0 | this->disp_data_query_ex()); |
8132 | 0 | } |
8133 | | |
8134 | | // optional string name = 20; |
8135 | 0 | if (has_name()) { |
8136 | 0 | total_size += 2 + |
8137 | 0 | ::google::protobuf::internal::WireFormatLite::StringSize( |
8138 | 0 | this->name()); |
8139 | 0 | } |
8140 | | |
8141 | | // optional .gss.message.debug_info_t info = 5; |
8142 | 0 | if (has_info()) { |
8143 | 0 | total_size += 1 + |
8144 | 0 | ::google::protobuf::internal::WireFormatLite::MessageSize( |
8145 | 0 | *info_); |
8146 | 0 | } |
8147 | |
|
8148 | 0 | } |
8149 | | // optional int32 bfe_cached_time = 6; |
8150 | 0 | if (has_bfe_cached_time()) { |
8151 | 0 | total_size += 1 + |
8152 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
8153 | 0 | this->bfe_cached_time()); |
8154 | 0 | } |
8155 | | |
8156 | | // optional int32 bfe_cached_islocate = 7; |
8157 | 0 | if (has_bfe_cached_islocate()) { |
8158 | 0 | total_size += 1 + |
8159 | 0 | ::google::protobuf::internal::WireFormatLite::Int32Size( |
8160 | 0 | this->bfe_cached_islocate()); |
8161 | 0 | } |
8162 | |
|
8163 | 0 | int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); |
8164 | 0 | SetCachedSize(cached_size); |
8165 | 0 | return total_size; |
8166 | 0 | } |
8167 | | |
8168 | 0 | void gss_us_res_t::MergeFrom(const ::google::protobuf::Message& from) { |
8169 | | // @@protoc_insertion_point(generalized_merge_from_start:gss.message.gss_us_res_t) |
8170 | 0 | GOOGLE_DCHECK_NE(&from, this); |
8171 | 0 | const gss_us_res_t* source = |
8172 | 0 | ::google::protobuf::internal::DynamicCastToGenerated<const gss_us_res_t>( |
8173 | 0 | &from); |
8174 | 0 | if (source == NULL) { |
8175 | | // @@protoc_insertion_point(generalized_merge_from_cast_fail:gss.message.gss_us_res_t) |
8176 | 0 | ::google::protobuf::internal::ReflectionOps::Merge(from, this); |
8177 | 0 | } else { |
8178 | | // @@protoc_insertion_point(generalized_merge_from_cast_success:gss.message.gss_us_res_t) |
8179 | 0 | MergeFrom(*source); |
8180 | 0 | } |
8181 | 0 | } |
8182 | | |
8183 | 0 | void gss_us_res_t::MergeFrom(const gss_us_res_t& from) { |
8184 | | // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.gss_us_res_t) |
8185 | 0 | GOOGLE_DCHECK_NE(&from, this); |
8186 | 0 | _internal_metadata_.MergeFrom(from._internal_metadata_); |
8187 | 0 | ::google::protobuf::uint32 cached_has_bits = 0; |
8188 | 0 | (void) cached_has_bits; |
8189 | |
|
8190 | 0 | result_.MergeFrom(from.result_); |
8191 | 0 | cached_has_bits = from._has_bits_[0]; |
8192 | 0 | if (cached_has_bits & 255u) { |
8193 | 0 | if (cached_has_bits & 0x00000001u) { |
8194 | 0 | set_has_disp_data_url_ex(); |
8195 | 0 | disp_data_url_ex_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.disp_data_url_ex_); |
8196 | 0 | } |
8197 | 0 | if (cached_has_bits & 0x00000002u) { |
8198 | 0 | set_has_disp_data_query_ex(); |
8199 | 0 | disp_data_query_ex_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.disp_data_query_ex_); |
8200 | 0 | } |
8201 | 0 | if (cached_has_bits & 0x00000004u) { |
8202 | 0 | set_has_name(); |
8203 | 0 | name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_); |
8204 | 0 | } |
8205 | 0 | if (cached_has_bits & 0x00000008u) { |
8206 | 0 | mutable_info()->::gss::message::debug_info_t::MergeFrom(from.info()); |
8207 | 0 | } |
8208 | 0 | if (cached_has_bits & 0x00000010u) { |
8209 | 0 | queryid_ = from.queryid_; |
8210 | 0 | } |
8211 | 0 | if (cached_has_bits & 0x00000020u) { |
8212 | 0 | resultcode_ = from.resultcode_; |
8213 | 0 | } |
8214 | 0 | if (cached_has_bits & 0x00000040u) { |
8215 | 0 | resultnum_ = from.resultnum_; |
8216 | 0 | } |
8217 | 0 | if (cached_has_bits & 0x00000080u) { |
8218 | 0 | bfe_cached_time_ = from.bfe_cached_time_; |
8219 | 0 | } |
8220 | 0 | _has_bits_[0] |= cached_has_bits; |
8221 | 0 | } |
8222 | 0 | if (cached_has_bits & 0x00000100u) { |
8223 | 0 | set_bfe_cached_islocate(from.bfe_cached_islocate()); |
8224 | 0 | } |
8225 | 0 | } |
8226 | | |
8227 | 0 | void gss_us_res_t::CopyFrom(const ::google::protobuf::Message& from) { |
8228 | | // @@protoc_insertion_point(generalized_copy_from_start:gss.message.gss_us_res_t) |
8229 | 0 | if (&from == this) return; |
8230 | 0 | Clear(); |
8231 | 0 | MergeFrom(from); |
8232 | 0 | } |
8233 | | |
8234 | 0 | void gss_us_res_t::CopyFrom(const gss_us_res_t& from) { |
8235 | | // @@protoc_insertion_point(class_specific_copy_from_start:gss.message.gss_us_res_t) |
8236 | 0 | if (&from == this) return; |
8237 | 0 | Clear(); |
8238 | 0 | MergeFrom(from); |
8239 | 0 | } |
8240 | | |
8241 | 0 | bool gss_us_res_t::IsInitialized() const { |
8242 | 0 | if ((_has_bits_[0] & 0x00000070) != 0x00000070) return false; |
8243 | 0 | if (!::google::protobuf::internal::AllAreInitialized(this->result())) return false; |
8244 | 0 | if (has_info()) { |
8245 | 0 | if (!this->info_->IsInitialized()) return false; |
8246 | 0 | } |
8247 | 0 | return true; |
8248 | 0 | } |
8249 | | |
8250 | 0 | void gss_us_res_t::Swap(gss_us_res_t* other) { |
8251 | 0 | if (other == this) return; |
8252 | 0 | InternalSwap(other); |
8253 | 0 | } |
8254 | 0 | void gss_us_res_t::InternalSwap(gss_us_res_t* other) { |
8255 | 0 | using std::swap; |
8256 | 0 | CastToBase(&result_)->InternalSwap(CastToBase(&other->result_)); |
8257 | 0 | disp_data_url_ex_.Swap(&other->disp_data_url_ex_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8258 | 0 | GetArenaNoVirtual()); |
8259 | 0 | disp_data_query_ex_.Swap(&other->disp_data_query_ex_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8260 | 0 | GetArenaNoVirtual()); |
8261 | 0 | name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
8262 | 0 | GetArenaNoVirtual()); |
8263 | 0 | swap(info_, other->info_); |
8264 | 0 | swap(queryid_, other->queryid_); |
8265 | 0 | swap(resultcode_, other->resultcode_); |
8266 | 0 | swap(resultnum_, other->resultnum_); |
8267 | 0 | swap(bfe_cached_time_, other->bfe_cached_time_); |
8268 | 0 | swap(bfe_cached_islocate_, other->bfe_cached_islocate_); |
8269 | 0 | swap(_has_bits_[0], other->_has_bits_[0]); |
8270 | 0 | _internal_metadata_.Swap(&other->_internal_metadata_); |
8271 | 0 | } |
8272 | | |
8273 | 0 | ::google::protobuf::Metadata gss_us_res_t::GetMetadata() const { |
8274 | 0 | protobuf_message_2eproto::protobuf_AssignDescriptorsOnce(); |
8275 | 0 | return ::protobuf_message_2eproto::file_level_metadata[kIndexInFileMessages]; |
8276 | 0 | } |
8277 | | |
8278 | | |
8279 | | // @@protoc_insertion_point(namespace_scope) |
8280 | | } // namespace message |
8281 | | } // namespace gss |
8282 | | namespace google { |
8283 | | namespace protobuf { |
8284 | 0 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::gss::message::gss_src_req_t* Arena::CreateMaybeMessage< ::gss::message::gss_src_req_t >(Arena* arena) { |
8285 | 0 | return Arena::CreateInternal< ::gss::message::gss_src_req_t >(arena); |
8286 | 0 | } |
8287 | 0 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::gss::message::ua_info_t* Arena::CreateMaybeMessage< ::gss::message::ua_info_t >(Arena* arena) { |
8288 | 0 | return Arena::CreateInternal< ::gss::message::ua_info_t >(arena); |
8289 | 0 | } |
8290 | 0 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::gss::message::app_info_t* Arena::CreateMaybeMessage< ::gss::message::app_info_t >(Arena* arena) { |
8291 | 0 | return Arena::CreateInternal< ::gss::message::app_info_t >(arena); |
8292 | 0 | } |
8293 | 0 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::gss::message::us_gss_req_t* Arena::CreateMaybeMessage< ::gss::message::us_gss_req_t >(Arena* arena) { |
8294 | 0 | return Arena::CreateInternal< ::gss::message::us_gss_req_t >(arena); |
8295 | 0 | } |
8296 | 0 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::gss::message::UserAgent* Arena::CreateMaybeMessage< ::gss::message::UserAgent >(Arena* arena) { |
8297 | 0 | return Arena::CreateInternal< ::gss::message::UserAgent >(arena); |
8298 | 0 | } |
8299 | 0 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::gss::message::sub_url_t* Arena::CreateMaybeMessage< ::gss::message::sub_url_t >(Arena* arena) { |
8300 | 0 | return Arena::CreateInternal< ::gss::message::sub_url_t >(arena); |
8301 | 0 | } |
8302 | 0 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::gss::message::gss_res_t* Arena::CreateMaybeMessage< ::gss::message::gss_res_t >(Arena* arena) { |
8303 | 0 | return Arena::CreateInternal< ::gss::message::gss_res_t >(arena); |
8304 | 0 | } |
8305 | 0 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::gss::message::item_t* Arena::CreateMaybeMessage< ::gss::message::item_t >(Arena* arena) { |
8306 | 0 | return Arena::CreateInternal< ::gss::message::item_t >(arena); |
8307 | 0 | } |
8308 | 0 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::gss::message::debug_info_t* Arena::CreateMaybeMessage< ::gss::message::debug_info_t >(Arena* arena) { |
8309 | 0 | return Arena::CreateInternal< ::gss::message::debug_info_t >(arena); |
8310 | 0 | } |
8311 | 0 | template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::gss::message::gss_us_res_t* Arena::CreateMaybeMessage< ::gss::message::gss_us_res_t >(Arena* arena) { |
8312 | 0 | return Arena::CreateInternal< ::gss::message::gss_us_res_t >(arena); |
8313 | 0 | } |
8314 | | } // namespace protobuf |
8315 | | } // namespace google |
8316 | | |
8317 | | // @@protoc_insertion_point(global_scope) |