Coverage Report

Created: 2025-12-17 06:32

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/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/io/coded_stream.h>
9
#include <google/protobuf/extension_set.h>
10
#include <google/protobuf/wire_format_lite.h>
11
#include <google/protobuf/descriptor.h>
12
#include <google/protobuf/generated_message_reflection.h>
13
#include <google/protobuf/reflection_ops.h>
14
#include <google/protobuf/wire_format.h>
15
// @@protoc_insertion_point(includes)
16
#include <google/protobuf/port_def.inc>
17
18
PROTOBUF_PRAGMA_INIT_SEG
19
20
namespace _pb = ::PROTOBUF_NAMESPACE_ID;
21
namespace _pbi = _pb::internal;
22
23
namespace gss {
24
namespace message {
25
PROTOBUF_CONSTEXPR gss_src_req_t::gss_src_req_t(
26
    ::_pbi::ConstantInitialized): _impl_{
27
    /*decltype(_impl_._has_bits_)*/{}
28
  , /*decltype(_impl_._cached_size_)*/{}
29
  , /*decltype(_impl_.transquery_)*/{}
30
  , /*decltype(_impl_.exttype_)*/{}
31
  , /*decltype(_impl_.key_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
32
  , /*decltype(_impl_.reqkey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
33
  , /*decltype(_impl_.highlight_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
34
  , /*decltype(_impl_.retformat_)*/{nullptr, ::_pbi::ConstantInitialized{}}
35
  , /*decltype(_impl_.tagfilter_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
36
  , /*decltype(_impl_.urikey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
37
  , /*decltype(_impl_.entityname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
38
  , /*decltype(_impl_.srcid_)*/0
39
  , /*decltype(_impl_.pos_)*/0
40
  , /*decltype(_impl_.place_)*/0
41
  , /*decltype(_impl_.degree_)*/0
42
  , /*decltype(_impl_.querytype_)*/0
43
  , /*decltype(_impl_.spreqtype_)*/0} {}
44
struct gss_src_req_tDefaultTypeInternal {
45
  PROTOBUF_CONSTEXPR gss_src_req_tDefaultTypeInternal()
46
0
      : _instance(::_pbi::ConstantInitialized{}) {}
47
0
  ~gss_src_req_tDefaultTypeInternal() {}
48
  union {
49
    gss_src_req_t _instance;
50
  };
51
};
52
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 gss_src_req_tDefaultTypeInternal _gss_src_req_t_default_instance_;
53
PROTOBUF_CONSTEXPR ua_info_t::ua_info_t(
54
    ::_pbi::ConstantInitialized): _impl_{
55
    /*decltype(_impl_._has_bits_)*/{}
56
  , /*decltype(_impl_._cached_size_)*/{}
57
  , /*decltype(_impl_.ua_os_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
58
  , /*decltype(_impl_.ua_browser_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
59
  , /*decltype(_impl_.ua_modal_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
60
  , /*decltype(_impl_.ua_measure_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
61
  , /*decltype(_impl_.ua_ext_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
62
  , /*decltype(_impl_.ua_res_x_)*/0
63
  , /*decltype(_impl_.ua_res_y_)*/0} {}
64
struct ua_info_tDefaultTypeInternal {
65
  PROTOBUF_CONSTEXPR ua_info_tDefaultTypeInternal()
66
0
      : _instance(::_pbi::ConstantInitialized{}) {}
67
0
  ~ua_info_tDefaultTypeInternal() {}
68
  union {
69
    ua_info_t _instance;
70
  };
71
};
72
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ua_info_tDefaultTypeInternal _ua_info_t_default_instance_;
73
PROTOBUF_CONSTEXPR app_info_t::app_info_t(
74
    ::_pbi::ConstantInitialized): _impl_{
75
    /*decltype(_impl_._has_bits_)*/{}
76
  , /*decltype(_impl_._cached_size_)*/{}
77
  , /*decltype(_impl_.package_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
78
  , /*decltype(_impl_.version_)*/0
79
  , /*decltype(_impl_.signmd5_)*/0u} {}
80
struct app_info_tDefaultTypeInternal {
81
  PROTOBUF_CONSTEXPR app_info_tDefaultTypeInternal()
82
0
      : _instance(::_pbi::ConstantInitialized{}) {}
83
0
  ~app_info_tDefaultTypeInternal() {}
84
  union {
85
    app_info_t _instance;
86
  };
87
};
88
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 app_info_tDefaultTypeInternal _app_info_t_default_instance_;
89
PROTOBUF_CONSTEXPR us_gss_req_t::us_gss_req_t(
90
    ::_pbi::ConstantInitialized): _impl_{
91
    /*decltype(_impl_._has_bits_)*/{}
92
  , /*decltype(_impl_._cached_size_)*/{}
93
  , /*decltype(_impl_.sid_)*/{}
94
  , /*decltype(_impl_.srcarr_)*/{}
95
  , /*decltype(_impl_.appinfoarr_)*/{}
96
  , /*decltype(_impl_.originquery_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
97
  , /*decltype(_impl_.clientname_)*/{nullptr, ::_pbi::ConstantInitialized{}}
98
  , /*decltype(_impl_.templatename_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
99
  , /*decltype(_impl_.urlparapack_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
100
  , /*decltype(_impl_.gssqa_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
101
  , /*decltype(_impl_.cookie_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
102
  , /*decltype(_impl_.province_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
103
  , /*decltype(_impl_.city_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
104
  , /*decltype(_impl_.isp_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
105
  , /*decltype(_impl_.from_)*/{nullptr, ::_pbi::ConstantInitialized{}}
106
  , /*decltype(_impl_.fmt_)*/{nullptr, ::_pbi::ConstantInitialized{}}
107
  , /*decltype(_impl_.highlight_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
108
  , /*decltype(_impl_.useragent_full_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
109
  , /*decltype(_impl_.uname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
110
  , /*decltype(_impl_.service_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
111
  , /*decltype(_impl_.caller_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
112
  , /*decltype(_impl_.uainfo_)*/nullptr
113
  , /*decltype(_impl_.user_agent_)*/nullptr
114
  , /*decltype(_impl_.userip_)*/0
115
  , /*decltype(_impl_.timingneed_)*/0
116
  , /*decltype(_impl_.queryid64_)*/uint64_t{0u}
117
  , /*decltype(_impl_.pagenum_)*/0
118
  , /*decltype(_impl_.ctpl_or_php_)*/0
119
  , /*decltype(_impl_.setype_)*/0
120
  , /*decltype(_impl_.srcnum_)*/0u
121
  , /*decltype(_impl_.resultlang_)*/int64_t{0}
122
  , /*decltype(_impl_.resultlocale_)*/int64_t{0}
123
  , /*decltype(_impl_.needhilightstr_)*/0
124
  , /*decltype(_impl_.uid_)*/0
125
  , /*decltype(_impl_.open_gssda_recall_)*/0
126
  , /*decltype(_impl_.prefetch_flag_)*/0
127
  , /*decltype(_impl_.resnum_)*/20} {}
128
struct us_gss_req_tDefaultTypeInternal {
129
  PROTOBUF_CONSTEXPR us_gss_req_tDefaultTypeInternal()
130
0
      : _instance(::_pbi::ConstantInitialized{}) {}
131
0
  ~us_gss_req_tDefaultTypeInternal() {}
132
  union {
133
    us_gss_req_t _instance;
134
  };
135
};
136
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 us_gss_req_tDefaultTypeInternal _us_gss_req_t_default_instance_;
137
PROTOBUF_CONSTEXPR UserAgent::UserAgent(
138
    ::_pbi::ConstantInitialized): _impl_{
139
    /*decltype(_impl_._has_bits_)*/{}
140
  , /*decltype(_impl_._cached_size_)*/{}
141
  , /*decltype(_impl_.dsp_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
142
  , /*decltype(_impl_.os_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
143
  , /*decltype(_impl_.osv_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
144
  , /*decltype(_impl_.mb_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
145
  , /*decltype(_impl_.mbv_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
146
  , /*decltype(_impl_.cuid_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
147
  , /*decltype(_impl_.net_type_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
148
  , /*decltype(_impl_.apn_)*/0
149
  , /*decltype(_impl_.arn_)*/0} {}
150
struct UserAgentDefaultTypeInternal {
151
  PROTOBUF_CONSTEXPR UserAgentDefaultTypeInternal()
152
0
      : _instance(::_pbi::ConstantInitialized{}) {}
153
0
  ~UserAgentDefaultTypeInternal() {}
154
  union {
155
    UserAgent _instance;
156
  };
157
};
158
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UserAgentDefaultTypeInternal _UserAgent_default_instance_;
159
PROTOBUF_CONSTEXPR sub_url_t::sub_url_t(
160
    ::_pbi::ConstantInitialized): _impl_{
161
    /*decltype(_impl_._has_bits_)*/{}
162
  , /*decltype(_impl_._cached_size_)*/{}
163
  , /*decltype(_impl_.suburl_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
164
  , /*decltype(_impl_.suburi_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
165
  , /*decltype(_impl_.subname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
166
  , /*decltype(_impl_.subpath_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
167
  , /*decltype(_impl_.subex_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
168
  , /*decltype(_impl_.siteid_)*/0} {}
169
struct sub_url_tDefaultTypeInternal {
170
  PROTOBUF_CONSTEXPR sub_url_tDefaultTypeInternal()
171
0
      : _instance(::_pbi::ConstantInitialized{}) {}
172
0
  ~sub_url_tDefaultTypeInternal() {}
173
  union {
174
    sub_url_t _instance;
175
  };
176
};
177
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 sub_url_tDefaultTypeInternal _sub_url_t_default_instance_;
178
PROTOBUF_CONSTEXPR gss_res_t::gss_res_t(
179
    ::_pbi::ConstantInitialized): _impl_{
180
    /*decltype(_impl_._has_bits_)*/{}
181
  , /*decltype(_impl_._cached_size_)*/{}
182
  , /*decltype(_impl_.subresult_)*/{}
183
  , /*decltype(_impl_.resulturl_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
184
  , /*decltype(_impl_.display_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
185
  , /*decltype(_impl_.urikey_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
186
  , /*decltype(_impl_.entityname_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
187
  , /*decltype(_impl_.displaylog_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
188
  , /*decltype(_impl_.displaydata_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
189
  , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
190
  , /*decltype(_impl_.weight_)*/0
191
  , /*decltype(_impl_.sort_)*/0
192
  , /*decltype(_impl_.srcid_)*/0
193
  , /*decltype(_impl_.timingneed_)*/0
194
  , /*decltype(_impl_.wisestrategyflag_)*/0u
195
  , /*decltype(_impl_.degree_)*/0
196
  , /*decltype(_impl_.clickneed_)*/0
197
  , /*decltype(_impl_.strategyinfo_)*/0
198
  , /*decltype(_impl_.spreqtype_)*/0
199
  , /*decltype(_impl_.subresnum_)*/0
200
  , /*decltype(_impl_.restype_)*/0u
201
  , /*decltype(_impl_.recovercachetime_)*/0} {}
202
struct gss_res_tDefaultTypeInternal {
203
  PROTOBUF_CONSTEXPR gss_res_tDefaultTypeInternal()
204
0
      : _instance(::_pbi::ConstantInitialized{}) {}
205
0
  ~gss_res_tDefaultTypeInternal() {}
206
  union {
207
    gss_res_t _instance;
208
  };
209
};
210
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 gss_res_tDefaultTypeInternal _gss_res_t_default_instance_;
211
PROTOBUF_CONSTEXPR item_t::item_t(
212
    ::_pbi::ConstantInitialized): _impl_{
213
    /*decltype(_impl_._has_bits_)*/{}
214
  , /*decltype(_impl_._cached_size_)*/{}
215
  , /*decltype(_impl_.title_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
216
  , /*decltype(_impl_.content_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
217
  , /*decltype(_impl_.parent_)*/0} {}
218
struct item_tDefaultTypeInternal {
219
  PROTOBUF_CONSTEXPR item_tDefaultTypeInternal()
220
0
      : _instance(::_pbi::ConstantInitialized{}) {}
221
0
  ~item_tDefaultTypeInternal() {}
222
  union {
223
    item_t _instance;
224
  };
225
};
226
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 item_tDefaultTypeInternal _item_t_default_instance_;
227
PROTOBUF_CONSTEXPR debug_info_t::debug_info_t(
228
    ::_pbi::ConstantInitialized): _impl_{
229
    /*decltype(_impl_._has_bits_)*/{}
230
  , /*decltype(_impl_._cached_size_)*/{}
231
  , /*decltype(_impl_.item_info_)*/{}
232
  , /*decltype(_impl_.anchor_info_)*/{}
233
  , /*decltype(_impl_.debug_info_)*/{}
234
  , /*decltype(_impl_.idebug_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
235
struct debug_info_tDefaultTypeInternal {
236
  PROTOBUF_CONSTEXPR debug_info_tDefaultTypeInternal()
237
0
      : _instance(::_pbi::ConstantInitialized{}) {}
238
0
  ~debug_info_tDefaultTypeInternal() {}
239
  union {
240
    debug_info_t _instance;
241
  };
242
};
243
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 debug_info_tDefaultTypeInternal _debug_info_t_default_instance_;
244
PROTOBUF_CONSTEXPR gss_us_res_t::gss_us_res_t(
245
    ::_pbi::ConstantInitialized): _impl_{
246
    /*decltype(_impl_._has_bits_)*/{}
247
  , /*decltype(_impl_._cached_size_)*/{}
248
  , /*decltype(_impl_.result_)*/{}
249
  , /*decltype(_impl_.disp_data_url_ex_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
250
  , /*decltype(_impl_.disp_data_query_ex_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
251
  , /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
252
  , /*decltype(_impl_.info_)*/nullptr
253
  , /*decltype(_impl_.queryid_)*/uint64_t{0u}
254
  , /*decltype(_impl_.resultcode_)*/0
255
  , /*decltype(_impl_.resultnum_)*/0u
256
  , /*decltype(_impl_.bfe_cached_time_)*/0
257
  , /*decltype(_impl_.bfe_cached_islocate_)*/0} {}
258
struct gss_us_res_tDefaultTypeInternal {
259
  PROTOBUF_CONSTEXPR gss_us_res_tDefaultTypeInternal()
260
0
      : _instance(::_pbi::ConstantInitialized{}) {}
261
0
  ~gss_us_res_tDefaultTypeInternal() {}
262
  union {
263
    gss_us_res_t _instance;
264
  };
265
};
266
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 gss_us_res_tDefaultTypeInternal _gss_us_res_t_default_instance_;
267
}  // namespace message
268
}  // namespace gss
269
static ::_pb::Metadata file_level_metadata_message_2eproto[10];
270
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_message_2eproto = nullptr;
271
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_message_2eproto = nullptr;
272
273
const uint32_t TableStruct_message_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
274
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_._has_bits_),
275
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _internal_metadata_),
276
  ~0u,  // no _extensions_
277
  ~0u,  // no _oneof_case_
278
  ~0u,  // no _weak_field_map_
279
  ~0u,  // no _inlined_string_donated_
280
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.transquery_),
281
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.exttype_),
282
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.srcid_),
283
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.pos_),
284
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.place_),
285
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.degree_),
286
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.key_),
287
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.reqkey_),
288
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.querytype_),
289
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.highlight_),
290
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.retformat_),
291
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.tagfilter_),
292
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.spreqtype_),
293
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.urikey_),
294
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_src_req_t, _impl_.entityname_),
295
  ~0u,
296
  ~0u,
297
  7,
298
  8,
299
  9,
300
  10,
301
  0,
302
  1,
303
  11,
304
  2,
305
  3,
306
  4,
307
  12,
308
  5,
309
  6,
310
  PROTOBUF_FIELD_OFFSET(::gss::message::ua_info_t, _impl_._has_bits_),
311
  PROTOBUF_FIELD_OFFSET(::gss::message::ua_info_t, _internal_metadata_),
312
  ~0u,  // no _extensions_
313
  ~0u,  // no _oneof_case_
314
  ~0u,  // no _weak_field_map_
315
  ~0u,  // no _inlined_string_donated_
316
  PROTOBUF_FIELD_OFFSET(::gss::message::ua_info_t, _impl_.ua_os_),
317
  PROTOBUF_FIELD_OFFSET(::gss::message::ua_info_t, _impl_.ua_browser_),
318
  PROTOBUF_FIELD_OFFSET(::gss::message::ua_info_t, _impl_.ua_modal_),
319
  PROTOBUF_FIELD_OFFSET(::gss::message::ua_info_t, _impl_.ua_measure_),
320
  PROTOBUF_FIELD_OFFSET(::gss::message::ua_info_t, _impl_.ua_res_x_),
321
  PROTOBUF_FIELD_OFFSET(::gss::message::ua_info_t, _impl_.ua_res_y_),
322
  PROTOBUF_FIELD_OFFSET(::gss::message::ua_info_t, _impl_.ua_ext_),
323
  0,
324
  1,
325
  2,
326
  3,
327
  5,
328
  6,
329
  4,
330
  PROTOBUF_FIELD_OFFSET(::gss::message::app_info_t, _impl_._has_bits_),
331
  PROTOBUF_FIELD_OFFSET(::gss::message::app_info_t, _internal_metadata_),
332
  ~0u,  // no _extensions_
333
  ~0u,  // no _oneof_case_
334
  ~0u,  // no _weak_field_map_
335
  ~0u,  // no _inlined_string_donated_
336
  PROTOBUF_FIELD_OFFSET(::gss::message::app_info_t, _impl_.package_),
337
  PROTOBUF_FIELD_OFFSET(::gss::message::app_info_t, _impl_.version_),
338
  PROTOBUF_FIELD_OFFSET(::gss::message::app_info_t, _impl_.signmd5_),
339
  0,
340
  1,
341
  2,
342
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_._has_bits_),
343
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _internal_metadata_),
344
  ~0u,  // no _extensions_
345
  ~0u,  // no _oneof_case_
346
  ~0u,  // no _weak_field_map_
347
  ~0u,  // no _inlined_string_donated_
348
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.originquery_),
349
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.userip_),
350
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.timingneed_),
351
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.queryid64_),
352
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.clientname_),
353
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.resnum_),
354
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.pagenum_),
355
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.ctpl_or_php_),
356
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.setype_),
357
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.templatename_),
358
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.sid_),
359
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.urlparapack_),
360
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.gssqa_),
361
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.cookie_),
362
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.province_name_),
363
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.city_name_),
364
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.isp_name_),
365
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.srcnum_),
366
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.from_),
367
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.fmt_),
368
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.highlight_),
369
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.needhilightstr_),
370
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.srcarr_),
371
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.resultlang_),
372
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.resultlocale_),
373
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.appinfoarr_),
374
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.uainfo_),
375
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.useragent_full_),
376
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.uid_),
377
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.uname_),
378
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.open_gssda_recall_),
379
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.prefetch_flag_),
380
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.service_name_),
381
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.caller_),
382
  PROTOBUF_FIELD_OFFSET(::gss::message::us_gss_req_t, _impl_.user_agent_),
383
  0,
384
  18,
385
  19,
386
  20,
387
  1,
388
  31,
389
  21,
390
  22,
391
  23,
392
  2,
393
  ~0u,
394
  3,
395
  4,
396
  5,
397
  6,
398
  7,
399
  8,
400
  24,
401
  9,
402
  10,
403
  11,
404
  27,
405
  ~0u,
406
  25,
407
  26,
408
  ~0u,
409
  16,
410
  12,
411
  28,
412
  13,
413
  29,
414
  30,
415
  14,
416
  15,
417
  17,
418
  PROTOBUF_FIELD_OFFSET(::gss::message::UserAgent, _impl_._has_bits_),
419
  PROTOBUF_FIELD_OFFSET(::gss::message::UserAgent, _internal_metadata_),
420
  ~0u,  // no _extensions_
421
  ~0u,  // no _oneof_case_
422
  ~0u,  // no _weak_field_map_
423
  ~0u,  // no _inlined_string_donated_
424
  PROTOBUF_FIELD_OFFSET(::gss::message::UserAgent, _impl_.dsp_),
425
  PROTOBUF_FIELD_OFFSET(::gss::message::UserAgent, _impl_.os_),
426
  PROTOBUF_FIELD_OFFSET(::gss::message::UserAgent, _impl_.osv_),
427
  PROTOBUF_FIELD_OFFSET(::gss::message::UserAgent, _impl_.mb_),
428
  PROTOBUF_FIELD_OFFSET(::gss::message::UserAgent, _impl_.mbv_),
429
  PROTOBUF_FIELD_OFFSET(::gss::message::UserAgent, _impl_.apn_),
430
  PROTOBUF_FIELD_OFFSET(::gss::message::UserAgent, _impl_.arn_),
431
  PROTOBUF_FIELD_OFFSET(::gss::message::UserAgent, _impl_.cuid_),
432
  PROTOBUF_FIELD_OFFSET(::gss::message::UserAgent, _impl_.net_type_),
433
  0,
434
  1,
435
  2,
436
  3,
437
  4,
438
  7,
439
  8,
440
  5,
441
  6,
442
  PROTOBUF_FIELD_OFFSET(::gss::message::sub_url_t, _impl_._has_bits_),
443
  PROTOBUF_FIELD_OFFSET(::gss::message::sub_url_t, _internal_metadata_),
444
  ~0u,  // no _extensions_
445
  ~0u,  // no _oneof_case_
446
  ~0u,  // no _weak_field_map_
447
  ~0u,  // no _inlined_string_donated_
448
  PROTOBUF_FIELD_OFFSET(::gss::message::sub_url_t, _impl_.suburl_),
449
  PROTOBUF_FIELD_OFFSET(::gss::message::sub_url_t, _impl_.suburi_),
450
  PROTOBUF_FIELD_OFFSET(::gss::message::sub_url_t, _impl_.subname_),
451
  PROTOBUF_FIELD_OFFSET(::gss::message::sub_url_t, _impl_.subpath_),
452
  PROTOBUF_FIELD_OFFSET(::gss::message::sub_url_t, _impl_.siteid_),
453
  PROTOBUF_FIELD_OFFSET(::gss::message::sub_url_t, _impl_.subex_),
454
  0,
455
  1,
456
  2,
457
  3,
458
  5,
459
  4,
460
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_._has_bits_),
461
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _internal_metadata_),
462
  ~0u,  // no _extensions_
463
  ~0u,  // no _oneof_case_
464
  ~0u,  // no _weak_field_map_
465
  ~0u,  // no _inlined_string_donated_
466
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.resulturl_),
467
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.display_),
468
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.weight_),
469
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.sort_),
470
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.srcid_),
471
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.timingneed_),
472
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.wisestrategyflag_),
473
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.degree_),
474
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.clickneed_),
475
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.strategyinfo_),
476
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.spreqtype_),
477
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.urikey_),
478
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.entityname_),
479
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.subresult_),
480
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.subresnum_),
481
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.displaylog_),
482
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.displaydata_),
483
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.restype_),
484
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.title_),
485
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_res_t, _impl_.recovercachetime_),
486
  0,
487
  1,
488
  7,
489
  8,
490
  9,
491
  10,
492
  11,
493
  12,
494
  13,
495
  14,
496
  15,
497
  2,
498
  3,
499
  ~0u,
500
  16,
501
  4,
502
  5,
503
  17,
504
  6,
505
  18,
506
  PROTOBUF_FIELD_OFFSET(::gss::message::item_t, _impl_._has_bits_),
507
  PROTOBUF_FIELD_OFFSET(::gss::message::item_t, _internal_metadata_),
508
  ~0u,  // no _extensions_
509
  ~0u,  // no _oneof_case_
510
  ~0u,  // no _weak_field_map_
511
  ~0u,  // no _inlined_string_donated_
512
  PROTOBUF_FIELD_OFFSET(::gss::message::item_t, _impl_.title_),
513
  PROTOBUF_FIELD_OFFSET(::gss::message::item_t, _impl_.content_),
514
  PROTOBUF_FIELD_OFFSET(::gss::message::item_t, _impl_.parent_),
515
  0,
516
  1,
517
  2,
518
  PROTOBUF_FIELD_OFFSET(::gss::message::debug_info_t, _impl_._has_bits_),
519
  PROTOBUF_FIELD_OFFSET(::gss::message::debug_info_t, _internal_metadata_),
520
  ~0u,  // no _extensions_
521
  ~0u,  // no _oneof_case_
522
  ~0u,  // no _weak_field_map_
523
  ~0u,  // no _inlined_string_donated_
524
  PROTOBUF_FIELD_OFFSET(::gss::message::debug_info_t, _impl_.idebug_),
525
  PROTOBUF_FIELD_OFFSET(::gss::message::debug_info_t, _impl_.item_info_),
526
  PROTOBUF_FIELD_OFFSET(::gss::message::debug_info_t, _impl_.anchor_info_),
527
  PROTOBUF_FIELD_OFFSET(::gss::message::debug_info_t, _impl_.debug_info_),
528
  0,
529
  ~0u,
530
  ~0u,
531
  ~0u,
532
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_us_res_t, _impl_._has_bits_),
533
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_us_res_t, _internal_metadata_),
534
  ~0u,  // no _extensions_
535
  ~0u,  // no _oneof_case_
536
  ~0u,  // no _weak_field_map_
537
  ~0u,  // no _inlined_string_donated_
538
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_us_res_t, _impl_.resultcode_),
539
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_us_res_t, _impl_.queryid_),
540
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_us_res_t, _impl_.result_),
541
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_us_res_t, _impl_.resultnum_),
542
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_us_res_t, _impl_.info_),
543
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_us_res_t, _impl_.bfe_cached_time_),
544
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_us_res_t, _impl_.bfe_cached_islocate_),
545
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_us_res_t, _impl_.disp_data_url_ex_),
546
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_us_res_t, _impl_.disp_data_query_ex_),
547
  PROTOBUF_FIELD_OFFSET(::gss::message::gss_us_res_t, _impl_.name_),
548
  5,
549
  4,
550
  ~0u,
551
  6,
552
  3,
553
  7,
554
  8,
555
  0,
556
  1,
557
  2,
558
};
559
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
560
  { 0, 21, -1, sizeof(::gss::message::gss_src_req_t)},
561
  { 36, 49, -1, sizeof(::gss::message::ua_info_t)},
562
  { 56, 65, -1, sizeof(::gss::message::app_info_t)},
563
  { 68, 109, -1, sizeof(::gss::message::us_gss_req_t)},
564
  { 144, 159, -1, sizeof(::gss::message::UserAgent)},
565
  { 168, 180, -1, sizeof(::gss::message::sub_url_t)},
566
  { 186, 212, -1, sizeof(::gss::message::gss_res_t)},
567
  { 232, 241, -1, sizeof(::gss::message::item_t)},
568
  { 244, 254, -1, sizeof(::gss::message::debug_info_t)},
569
  { 258, 274, -1, sizeof(::gss::message::gss_us_res_t)},
570
};
571
572
static const ::_pb::Message* const file_default_instances[] = {
573
  &::gss::message::_gss_src_req_t_default_instance_._instance,
574
  &::gss::message::_ua_info_t_default_instance_._instance,
575
  &::gss::message::_app_info_t_default_instance_._instance,
576
  &::gss::message::_us_gss_req_t_default_instance_._instance,
577
  &::gss::message::_UserAgent_default_instance_._instance,
578
  &::gss::message::_sub_url_t_default_instance_._instance,
579
  &::gss::message::_gss_res_t_default_instance_._instance,
580
  &::gss::message::_item_t_default_instance_._instance,
581
  &::gss::message::_debug_info_t_default_instance_._instance,
582
  &::gss::message::_gss_us_res_t_default_instance_._instance,
583
};
584
585
const char descriptor_table_protodef_message_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
586
  "\n\rmessage.proto\022\013gss.message\"\225\002\n\rgss_src"
587
  "_req_t\022\022\n\nTransQuery\030\001 \003(\t\022\017\n\007ExtType\030\002 "
588
  "\003(\005\022\r\n\005SrcID\030\003 \001(\005\022\013\n\003Pos\030\005 \001(\005\022\r\n\005Place"
589
  "\030\006 \001(\005\022\016\n\006Degree\030\007 \001(\005\022\013\n\003Key\030\010 \001(\t\022\016\n\006R"
590
  "eqKey\030\t \001(\t\022\021\n\tQueryType\030\n \001(\005\022\021\n\tHighLi"
591
  "ght\030\013 \001(\014\022\027\n\tRetFormat\030\014 \001(\t:\004html\022\021\n\tTa"
592
  "gFilter\030\r \001(\t\022\021\n\tSpReqType\030\016 \001(\005\022\016\n\006UriK"
593
  "ey\030\017 \001(\t\022\022\n\nEntityName\030\020 \001(\t\"\210\001\n\tua_info"
594
  "_t\022\r\n\005ua_os\030\001 \001(\t\022\022\n\nua_browser\030\002 \001(\t\022\020\n"
595
  "\010ua_modal\030\003 \001(\t\022\022\n\nua_measure\030\004 \001(\t\022\020\n\010u"
596
  "a_res_x\030\005 \001(\005\022\020\n\010ua_res_y\030\006 \001(\005\022\016\n\006ua_ex"
597
  "t\030\007 \001(\014\"\?\n\napp_info_t\022\017\n\007package\030\001 \002(\t\022\017"
598
  "\n\007version\030\002 \002(\005\022\017\n\007signmd5\030\003 \002(\r\"\246\006\n\014us_"
599
  "gss_req_t\022\023\n\013OriginQuery\030\001 \002(\t\022\016\n\006UserIP"
600
  "\030\002 \002(\005\022\022\n\nTimingNeed\030\003 \002(\005\022\024\n\tQueryID64\030"
601
  "\004 \001(\004:\0010\022\032\n\nClientName\030\005 \001(\t:\006unknow\022\022\n\006"
602
  "ResNum\030\013 \001(\005:\00220\022\022\n\007PageNum\030\014 \001(\005:\0010\022\026\n\013"
603
  "ctpl_or_php\030\r \001(\005:\0010\022\021\n\006SeType\030\016 \001(\005:\0010\022"
604
  "\024\n\014TemplateName\030\017 \002(\t\022\013\n\003sid\030\020 \003(\005\022\023\n\013Ur"
605
  "lParaPack\030\021 \001(\014\022\r\n\005gssqa\030\022 \001(\014\022\016\n\006Cookie"
606
  "\030\023 \001(\t\022\025\n\rprovince_name\030\037 \001(\t\022\021\n\tcity_na"
607
  "me\030  \001(\t\022\020\n\010isp_name\030! \001(\t\022\016\n\006SrcNum\030\" \002"
608
  "(\r\022\021\n\004From\030# \001(\t:\003www\022\021\n\003Fmt\030$ \001(\t:\004html"
609
  "\022\021\n\tHighLight\030% \001(\014\022\031\n\016NeedHilightStr\030& "
610
  "\001(\005:\0010\022*\n\006SrcArr\030\' \003(\0132\032.gss.message.gss"
611
  "_src_req_t\022\022\n\nresultLang\030( \001(\003\022\024\n\014result"
612
  "Locale\030) \001(\003\022+\n\nAppInfoArr\030* \003(\0132\027.gss.m"
613
  "essage.app_info_t\022&\n\006uaInfo\030+ \001(\0132\026.gss."
614
  "message.ua_info_t\022\026\n\016useragent_full\030, \001("
615
  "\t\022\013\n\003uid\030- \001(\005\022\r\n\005uname\030. \001(\t\022\031\n\021open_gs"
616
  "sda_recall\030/ \001(\005\022\025\n\rprefetch_flag\0300 \001(\005\022"
617
  "\024\n\014service_name\030G \001(\t\022\016\n\006caller\030H \001(\t\022*\n"
618
  "\nuser_agent\030I \001(\0132\026.gss.message.UserAgen"
619
  "t\"\204\001\n\tUserAgent\022\013\n\003dsp\030\001 \001(\t\022\n\n\002os\030\002 \001(\t"
620
  "\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"
621
  "\n\003apn\030\006 \001(\005\022\013\n\003arn\030\007 \001(\005\022\014\n\004cuid\030\010 \001(\t\022\020"
622
  "\n\010net_type\030\t \001(\t\"l\n\tsub_url_t\022\016\n\006SubURL\030"
623
  "\001 \002(\t\022\016\n\006SubURI\030\002 \001(\t\022\017\n\007SubName\030\003 \001(\t\022\017"
624
  "\n\007SubPath\030\004 \001(\t\022\016\n\006SiteId\030\005 \001(\005\022\r\n\005SubEx"
625
  "\030\006 \001(\t\"\233\003\n\tgss_res_t\022\021\n\tResultURL\030\002 \002(\t\022"
626
  "\017\n\007Display\030\003 \001(\t\022\016\n\006Weight\030\004 \002(\005\022\014\n\004Sort"
627
  "\030\005 \001(\005\022\r\n\005SrcID\030\006 \001(\005\022\022\n\nTimingNeed\030\007 \002("
628
  "\005\022\030\n\020WiseStrategyFlag\030\010 \001(\r\022\016\n\006Degree\030\t "
629
  "\001(\005\022\021\n\tClickNeed\030\n \001(\005\022\024\n\014StrategyInfo\030\013"
630
  " \001(\005\022\021\n\tSpReqType\030\014 \001(\005\022\016\n\006UriKey\030\r \001(\t\022"
631
  "\022\n\nEntityName\030\016 \001(\t\022)\n\tSubResult\030\017 \003(\0132\026"
632
  ".gss.message.sub_url_t\022\021\n\tSubResNum\030\020 \001("
633
  "\005\022\022\n\nDisplayLog\030\021 \001(\t\022\023\n\013DisplayData\030\022 \001"
634
  "(\014\022\017\n\007ResType\030\023 \001(\r\022\r\n\005Title\030\024 \001(\t\022\030\n\020Re"
635
  "coverCacheTime\030\025 \001(\005\"8\n\006item_t\022\r\n\005title\030"
636
  "\001 \002(\t\022\017\n\007content\030\002 \002(\t\022\016\n\006parent\030\003 \002(\005\"s"
637
  "\n\014debug_info_t\022\016\n\006idebug\030\001 \001(\014\022\021\n\titem_i"
638
  "nfo\030\002 \003(\t\022\023\n\013anchor_info\030\003 \003(\t\022+\n\ndebug_"
639
  "info\030\004 \003(\0132\023.gss.message.item_tB\002\030\001\"\221\002\n\014"
640
  "gss_us_res_t\022\022\n\nResultCode\030\001 \002(\005\022\017\n\007Quer"
641
  "yID\030\002 \002(\004\022&\n\006Result\030\003 \003(\0132\026.gss.message."
642
  "gss_res_t\022\021\n\tResultNum\030\004 \002(\r\022\'\n\004info\030\005 \001"
643
  "(\0132\031.gss.message.debug_info_t\022\027\n\017bfe_cac"
644
  "hed_time\030\006 \001(\005\022\033\n\023bfe_cached_islocate\030\007 "
645
  "\001(\005\022\030\n\020disp_data_url_ex\030\010 \001(\014\022\032\n\022disp_da"
646
  "ta_query_ex\030\t \001(\014\022\014\n\004name\030\024 \001(\t"
647
  ;
648
static ::_pbi::once_flag descriptor_table_message_2eproto_once;
649
const ::_pbi::DescriptorTable descriptor_table_message_2eproto = {
650
    false, false, 2431, descriptor_table_protodef_message_2eproto,
651
    "message.proto",
652
    &descriptor_table_message_2eproto_once, nullptr, 0, 10,
653
    schemas, file_default_instances, TableStruct_message_2eproto::offsets,
654
    file_level_metadata_message_2eproto, file_level_enum_descriptors_message_2eproto,
655
    file_level_service_descriptors_message_2eproto,
656
};
657
0
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_message_2eproto_getter() {
658
0
  return &descriptor_table_message_2eproto;
659
0
}
660
661
// Force running AddDescriptors() at dynamic initialization time.
662
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_message_2eproto(&descriptor_table_message_2eproto);
663
namespace gss {
664
namespace message {
665
666
// ===================================================================
667
668
class gss_src_req_t::_Internal {
669
 public:
670
  using HasBits = decltype(std::declval<gss_src_req_t>()._impl_._has_bits_);
671
0
  static void set_has_srcid(HasBits* has_bits) {
672
0
    (*has_bits)[0] |= 128u;
673
0
  }
674
0
  static void set_has_pos(HasBits* has_bits) {
675
0
    (*has_bits)[0] |= 256u;
676
0
  }
677
0
  static void set_has_place(HasBits* has_bits) {
678
0
    (*has_bits)[0] |= 512u;
679
0
  }
680
0
  static void set_has_degree(HasBits* has_bits) {
681
0
    (*has_bits)[0] |= 1024u;
682
0
  }
683
0
  static void set_has_key(HasBits* has_bits) {
684
0
    (*has_bits)[0] |= 1u;
685
0
  }
686
0
  static void set_has_reqkey(HasBits* has_bits) {
687
0
    (*has_bits)[0] |= 2u;
688
0
  }
689
0
  static void set_has_querytype(HasBits* has_bits) {
690
0
    (*has_bits)[0] |= 2048u;
691
0
  }
692
0
  static void set_has_highlight(HasBits* has_bits) {
693
0
    (*has_bits)[0] |= 4u;
694
0
  }
695
0
  static void set_has_retformat(HasBits* has_bits) {
696
0
    (*has_bits)[0] |= 8u;
697
0
  }
698
0
  static void set_has_tagfilter(HasBits* has_bits) {
699
0
    (*has_bits)[0] |= 16u;
700
0
  }
701
0
  static void set_has_spreqtype(HasBits* has_bits) {
702
0
    (*has_bits)[0] |= 4096u;
703
0
  }
704
0
  static void set_has_urikey(HasBits* has_bits) {
705
0
    (*has_bits)[0] |= 32u;
706
0
  }
707
0
  static void set_has_entityname(HasBits* has_bits) {
708
0
    (*has_bits)[0] |= 64u;
709
0
  }
710
};
711
712
const ::PROTOBUF_NAMESPACE_ID::internal::LazyString gss_src_req_t::Impl_::_i_give_permission_to_break_this_code_default_retformat_{{{"html", 4}}, {nullptr}};
713
gss_src_req_t::gss_src_req_t(::PROTOBUF_NAMESPACE_ID::Arena* arena,
714
                         bool is_message_owned)
715
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
716
0
  SharedCtor(arena, is_message_owned);
717
  // @@protoc_insertion_point(arena_constructor:gss.message.gss_src_req_t)
718
0
}
719
gss_src_req_t::gss_src_req_t(const gss_src_req_t& from)
720
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
721
0
  gss_src_req_t* const _this = this; (void)_this;
722
0
  new (&_impl_) Impl_{
723
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
724
0
    , /*decltype(_impl_._cached_size_)*/{}
725
0
    , decltype(_impl_.transquery_){from._impl_.transquery_}
726
0
    , decltype(_impl_.exttype_){from._impl_.exttype_}
727
0
    , decltype(_impl_.key_){}
728
0
    , decltype(_impl_.reqkey_){}
729
0
    , decltype(_impl_.highlight_){}
730
0
    , decltype(_impl_.retformat_){}
731
0
    , decltype(_impl_.tagfilter_){}
732
0
    , decltype(_impl_.urikey_){}
733
0
    , decltype(_impl_.entityname_){}
734
0
    , decltype(_impl_.srcid_){}
735
0
    , decltype(_impl_.pos_){}
736
0
    , decltype(_impl_.place_){}
737
0
    , decltype(_impl_.degree_){}
738
0
    , decltype(_impl_.querytype_){}
739
0
    , decltype(_impl_.spreqtype_){}};
740
741
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
742
0
  _impl_.key_.InitDefault();
743
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
744
    _impl_.key_.Set("", GetArenaForAllocation());
745
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
746
0
  if (from._internal_has_key()) {
747
0
    _this->_impl_.key_.Set(from._internal_key(), 
748
0
      _this->GetArenaForAllocation());
749
0
  }
750
0
  _impl_.reqkey_.InitDefault();
751
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
752
    _impl_.reqkey_.Set("", GetArenaForAllocation());
753
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
754
0
  if (from._internal_has_reqkey()) {
755
0
    _this->_impl_.reqkey_.Set(from._internal_reqkey(), 
756
0
      _this->GetArenaForAllocation());
757
0
  }
758
0
  _impl_.highlight_.InitDefault();
759
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
760
    _impl_.highlight_.Set("", GetArenaForAllocation());
761
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
762
0
  if (from._internal_has_highlight()) {
763
0
    _this->_impl_.highlight_.Set(from._internal_highlight(), 
764
0
      _this->GetArenaForAllocation());
765
0
  }
766
0
  _impl_.retformat_.InitDefault();
767
0
  if (from._internal_has_retformat()) {
768
0
    _this->_impl_.retformat_.Set(from._internal_retformat(), 
769
0
      _this->GetArenaForAllocation());
770
0
  }
771
0
  _impl_.tagfilter_.InitDefault();
772
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
773
    _impl_.tagfilter_.Set("", GetArenaForAllocation());
774
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
775
0
  if (from._internal_has_tagfilter()) {
776
0
    _this->_impl_.tagfilter_.Set(from._internal_tagfilter(), 
777
0
      _this->GetArenaForAllocation());
778
0
  }
779
0
  _impl_.urikey_.InitDefault();
780
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
781
    _impl_.urikey_.Set("", GetArenaForAllocation());
782
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
783
0
  if (from._internal_has_urikey()) {
784
0
    _this->_impl_.urikey_.Set(from._internal_urikey(), 
785
0
      _this->GetArenaForAllocation());
786
0
  }
787
0
  _impl_.entityname_.InitDefault();
788
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
789
    _impl_.entityname_.Set("", GetArenaForAllocation());
790
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
791
0
  if (from._internal_has_entityname()) {
792
0
    _this->_impl_.entityname_.Set(from._internal_entityname(), 
793
0
      _this->GetArenaForAllocation());
794
0
  }
795
0
  ::memcpy(&_impl_.srcid_, &from._impl_.srcid_,
796
0
    static_cast<size_t>(reinterpret_cast<char*>(&_impl_.spreqtype_) -
797
0
    reinterpret_cast<char*>(&_impl_.srcid_)) + sizeof(_impl_.spreqtype_));
798
  // @@protoc_insertion_point(copy_constructor:gss.message.gss_src_req_t)
799
0
}
800
801
inline void gss_src_req_t::SharedCtor(
802
0
    ::_pb::Arena* arena, bool is_message_owned) {
803
0
  (void)arena;
804
0
  (void)is_message_owned;
805
0
  new (&_impl_) Impl_{
806
0
      decltype(_impl_._has_bits_){}
807
0
    , /*decltype(_impl_._cached_size_)*/{}
808
0
    , decltype(_impl_.transquery_){arena}
809
0
    , decltype(_impl_.exttype_){arena}
810
0
    , decltype(_impl_.key_){}
811
0
    , decltype(_impl_.reqkey_){}
812
0
    , decltype(_impl_.highlight_){}
813
0
    , decltype(_impl_.retformat_){}
814
0
    , decltype(_impl_.tagfilter_){}
815
0
    , decltype(_impl_.urikey_){}
816
0
    , decltype(_impl_.entityname_){}
817
0
    , decltype(_impl_.srcid_){0}
818
0
    , decltype(_impl_.pos_){0}
819
0
    , decltype(_impl_.place_){0}
820
0
    , decltype(_impl_.degree_){0}
821
0
    , decltype(_impl_.querytype_){0}
822
0
    , decltype(_impl_.spreqtype_){0}
823
0
  };
824
0
  _impl_.key_.InitDefault();
825
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
826
    _impl_.key_.Set("", GetArenaForAllocation());
827
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
828
0
  _impl_.reqkey_.InitDefault();
829
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
830
    _impl_.reqkey_.Set("", GetArenaForAllocation());
831
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
832
0
  _impl_.highlight_.InitDefault();
833
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
834
    _impl_.highlight_.Set("", GetArenaForAllocation());
835
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
836
0
  _impl_.retformat_.InitDefault();
837
0
  _impl_.tagfilter_.InitDefault();
838
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
839
    _impl_.tagfilter_.Set("", GetArenaForAllocation());
840
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
841
0
  _impl_.urikey_.InitDefault();
842
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
843
    _impl_.urikey_.Set("", GetArenaForAllocation());
844
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
845
0
  _impl_.entityname_.InitDefault();
846
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
847
    _impl_.entityname_.Set("", GetArenaForAllocation());
848
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
849
0
}
850
851
0
gss_src_req_t::~gss_src_req_t() {
852
  // @@protoc_insertion_point(destructor:gss.message.gss_src_req_t)
853
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
854
0
  (void)arena;
855
0
    return;
856
0
  }
857
0
  SharedDtor();
858
0
}
859
860
0
inline void gss_src_req_t::SharedDtor() {
861
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
862
0
  _impl_.transquery_.~RepeatedPtrField();
863
0
  _impl_.exttype_.~RepeatedField();
864
0
  _impl_.key_.Destroy();
865
0
  _impl_.reqkey_.Destroy();
866
0
  _impl_.highlight_.Destroy();
867
0
  _impl_.retformat_.Destroy();
868
0
  _impl_.tagfilter_.Destroy();
869
0
  _impl_.urikey_.Destroy();
870
0
  _impl_.entityname_.Destroy();
871
0
}
872
873
0
void gss_src_req_t::SetCachedSize(int size) const {
874
0
  _impl_._cached_size_.Set(size);
875
0
}
876
877
0
void gss_src_req_t::Clear() {
878
// @@protoc_insertion_point(message_clear_start:gss.message.gss_src_req_t)
879
0
  uint32_t cached_has_bits = 0;
880
  // Prevent compiler warnings about cached_has_bits being unused
881
0
  (void) cached_has_bits;
882
883
0
  _impl_.transquery_.Clear();
884
0
  _impl_.exttype_.Clear();
885
0
  cached_has_bits = _impl_._has_bits_[0];
886
0
  if (cached_has_bits & 0x0000007fu) {
887
0
    if (cached_has_bits & 0x00000001u) {
888
0
      _impl_.key_.ClearNonDefaultToEmpty();
889
0
    }
890
0
    if (cached_has_bits & 0x00000002u) {
891
0
      _impl_.reqkey_.ClearNonDefaultToEmpty();
892
0
    }
893
0
    if (cached_has_bits & 0x00000004u) {
894
0
      _impl_.highlight_.ClearNonDefaultToEmpty();
895
0
    }
896
0
    if (cached_has_bits & 0x00000008u) {
897
0
      _impl_.retformat_.ClearToDefault(::gss::message::gss_src_req_t::Impl_::_i_give_permission_to_break_this_code_default_retformat_, GetArenaForAllocation());
898
0
       }
899
0
    if (cached_has_bits & 0x00000010u) {
900
0
      _impl_.tagfilter_.ClearNonDefaultToEmpty();
901
0
    }
902
0
    if (cached_has_bits & 0x00000020u) {
903
0
      _impl_.urikey_.ClearNonDefaultToEmpty();
904
0
    }
905
0
    if (cached_has_bits & 0x00000040u) {
906
0
      _impl_.entityname_.ClearNonDefaultToEmpty();
907
0
    }
908
0
  }
909
0
  _impl_.srcid_ = 0;
910
0
  if (cached_has_bits & 0x00001f00u) {
911
0
    ::memset(&_impl_.pos_, 0, static_cast<size_t>(
912
0
        reinterpret_cast<char*>(&_impl_.spreqtype_) -
913
0
        reinterpret_cast<char*>(&_impl_.pos_)) + sizeof(_impl_.spreqtype_));
914
0
  }
915
0
  _impl_._has_bits_.Clear();
916
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
917
0
}
918
919
0
const char* gss_src_req_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
920
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
921
0
  _Internal::HasBits has_bits{};
922
0
  while (!ctx->Done(&ptr)) {
923
0
    uint32_t tag;
924
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
925
0
    switch (tag >> 3) {
926
      // repeated string TransQuery = 1;
927
0
      case 1:
928
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
929
0
          ptr -= 1;
930
0
          do {
931
0
            ptr += 1;
932
0
            auto str = _internal_add_transquery();
933
0
            ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
934
0
            CHK_(ptr);
935
0
            #ifndef NDEBUG
936
0
            ::_pbi::VerifyUTF8(str, "gss.message.gss_src_req_t.TransQuery");
937
0
            #endif  // !NDEBUG
938
0
            if (!ctx->DataAvailable(ptr)) break;
939
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
940
0
        } else
941
0
          goto handle_unusual;
942
0
        continue;
943
      // repeated int32 ExtType = 2;
944
0
      case 2:
945
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
946
0
          ptr -= 1;
947
0
          do {
948
0
            ptr += 1;
949
0
            _internal_add_exttype(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr));
950
0
            CHK_(ptr);
951
0
            if (!ctx->DataAvailable(ptr)) break;
952
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<16>(ptr));
953
0
        } else if (static_cast<uint8_t>(tag) == 18) {
954
0
          ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_exttype(), ptr, ctx);
955
0
          CHK_(ptr);
956
0
        } else
957
0
          goto handle_unusual;
958
0
        continue;
959
      // optional int32 SrcID = 3;
960
0
      case 3:
961
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
962
0
          _Internal::set_has_srcid(&has_bits);
963
0
          _impl_.srcid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
964
0
          CHK_(ptr);
965
0
        } else
966
0
          goto handle_unusual;
967
0
        continue;
968
      // optional int32 Pos = 5;
969
0
      case 5:
970
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
971
0
          _Internal::set_has_pos(&has_bits);
972
0
          _impl_.pos_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
973
0
          CHK_(ptr);
974
0
        } else
975
0
          goto handle_unusual;
976
0
        continue;
977
      // optional int32 Place = 6;
978
0
      case 6:
979
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
980
0
          _Internal::set_has_place(&has_bits);
981
0
          _impl_.place_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
982
0
          CHK_(ptr);
983
0
        } else
984
0
          goto handle_unusual;
985
0
        continue;
986
      // optional int32 Degree = 7;
987
0
      case 7:
988
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
989
0
          _Internal::set_has_degree(&has_bits);
990
0
          _impl_.degree_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
991
0
          CHK_(ptr);
992
0
        } else
993
0
          goto handle_unusual;
994
0
        continue;
995
      // optional string Key = 8;
996
0
      case 8:
997
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
998
0
          auto str = _internal_mutable_key();
999
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1000
0
          CHK_(ptr);
1001
0
          #ifndef NDEBUG
1002
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_src_req_t.Key");
1003
0
          #endif  // !NDEBUG
1004
0
        } else
1005
0
          goto handle_unusual;
1006
0
        continue;
1007
      // optional string ReqKey = 9;
1008
0
      case 9:
1009
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
1010
0
          auto str = _internal_mutable_reqkey();
1011
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1012
0
          CHK_(ptr);
1013
0
          #ifndef NDEBUG
1014
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_src_req_t.ReqKey");
1015
0
          #endif  // !NDEBUG
1016
0
        } else
1017
0
          goto handle_unusual;
1018
0
        continue;
1019
      // optional int32 QueryType = 10;
1020
0
      case 10:
1021
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
1022
0
          _Internal::set_has_querytype(&has_bits);
1023
0
          _impl_.querytype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1024
0
          CHK_(ptr);
1025
0
        } else
1026
0
          goto handle_unusual;
1027
0
        continue;
1028
      // optional bytes HighLight = 11;
1029
0
      case 11:
1030
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) {
1031
0
          auto str = _internal_mutable_highlight();
1032
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1033
0
          CHK_(ptr);
1034
0
        } else
1035
0
          goto handle_unusual;
1036
0
        continue;
1037
      // optional string RetFormat = 12 [default = "html"];
1038
0
      case 12:
1039
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 98)) {
1040
0
          auto str = _internal_mutable_retformat();
1041
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1042
0
          CHK_(ptr);
1043
0
          #ifndef NDEBUG
1044
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_src_req_t.RetFormat");
1045
0
          #endif  // !NDEBUG
1046
0
        } else
1047
0
          goto handle_unusual;
1048
0
        continue;
1049
      // optional string TagFilter = 13;
1050
0
      case 13:
1051
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 106)) {
1052
0
          auto str = _internal_mutable_tagfilter();
1053
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1054
0
          CHK_(ptr);
1055
0
          #ifndef NDEBUG
1056
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_src_req_t.TagFilter");
1057
0
          #endif  // !NDEBUG
1058
0
        } else
1059
0
          goto handle_unusual;
1060
0
        continue;
1061
      // optional int32 SpReqType = 14;
1062
0
      case 14:
1063
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 112)) {
1064
0
          _Internal::set_has_spreqtype(&has_bits);
1065
0
          _impl_.spreqtype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1066
0
          CHK_(ptr);
1067
0
        } else
1068
0
          goto handle_unusual;
1069
0
        continue;
1070
      // optional string UriKey = 15;
1071
0
      case 15:
1072
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 122)) {
1073
0
          auto str = _internal_mutable_urikey();
1074
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1075
0
          CHK_(ptr);
1076
0
          #ifndef NDEBUG
1077
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_src_req_t.UriKey");
1078
0
          #endif  // !NDEBUG
1079
0
        } else
1080
0
          goto handle_unusual;
1081
0
        continue;
1082
      // optional string EntityName = 16;
1083
0
      case 16:
1084
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) {
1085
0
          auto str = _internal_mutable_entityname();
1086
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1087
0
          CHK_(ptr);
1088
0
          #ifndef NDEBUG
1089
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_src_req_t.EntityName");
1090
0
          #endif  // !NDEBUG
1091
0
        } else
1092
0
          goto handle_unusual;
1093
0
        continue;
1094
0
      default:
1095
0
        goto handle_unusual;
1096
0
    }  // switch
1097
0
  handle_unusual:
1098
0
    if ((tag == 0) || ((tag & 7) == 4)) {
1099
0
      CHK_(ptr);
1100
0
      ctx->SetLastTag(tag);
1101
0
      goto message_done;
1102
0
    }
1103
0
    ptr = UnknownFieldParse(
1104
0
        tag,
1105
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1106
0
        ptr, ctx);
1107
0
    CHK_(ptr != nullptr);
1108
0
  }  // while
1109
0
message_done:
1110
0
  _impl_._has_bits_.Or(has_bits);
1111
0
  return ptr;
1112
0
failure:
1113
0
  ptr = nullptr;
1114
0
  goto message_done;
1115
0
#undef CHK_
1116
0
}
1117
1118
uint8_t* gss_src_req_t::_InternalSerialize(
1119
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1120
  // @@protoc_insertion_point(serialize_to_array_start:gss.message.gss_src_req_t)
1121
0
  uint32_t cached_has_bits = 0;
1122
0
  (void) cached_has_bits;
1123
1124
  // repeated string TransQuery = 1;
1125
0
  for (int i = 0, n = this->_internal_transquery_size(); i < n; i++) {
1126
0
    const auto& s = this->_internal_transquery(i);
1127
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1128
0
      s.data(), static_cast<int>(s.length()),
1129
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1130
0
      "gss.message.gss_src_req_t.TransQuery");
1131
0
    target = stream->WriteString(1, s, target);
1132
0
  }
1133
1134
  // repeated int32 ExtType = 2;
1135
0
  for (int i = 0, n = this->_internal_exttype_size(); i < n; i++) {
1136
0
    target = stream->EnsureSpace(target);
1137
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_exttype(i), target);
1138
0
  }
1139
1140
0
  cached_has_bits = _impl_._has_bits_[0];
1141
  // optional int32 SrcID = 3;
1142
0
  if (cached_has_bits & 0x00000080u) {
1143
0
    target = stream->EnsureSpace(target);
1144
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_srcid(), target);
1145
0
  }
1146
1147
  // optional int32 Pos = 5;
1148
0
  if (cached_has_bits & 0x00000100u) {
1149
0
    target = stream->EnsureSpace(target);
1150
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_pos(), target);
1151
0
  }
1152
1153
  // optional int32 Place = 6;
1154
0
  if (cached_has_bits & 0x00000200u) {
1155
0
    target = stream->EnsureSpace(target);
1156
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_place(), target);
1157
0
  }
1158
1159
  // optional int32 Degree = 7;
1160
0
  if (cached_has_bits & 0x00000400u) {
1161
0
    target = stream->EnsureSpace(target);
1162
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_degree(), target);
1163
0
  }
1164
1165
  // optional string Key = 8;
1166
0
  if (cached_has_bits & 0x00000001u) {
1167
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1168
0
      this->_internal_key().data(), static_cast<int>(this->_internal_key().length()),
1169
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1170
0
      "gss.message.gss_src_req_t.Key");
1171
0
    target = stream->WriteStringMaybeAliased(
1172
0
        8, this->_internal_key(), target);
1173
0
  }
1174
1175
  // optional string ReqKey = 9;
1176
0
  if (cached_has_bits & 0x00000002u) {
1177
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1178
0
      this->_internal_reqkey().data(), static_cast<int>(this->_internal_reqkey().length()),
1179
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1180
0
      "gss.message.gss_src_req_t.ReqKey");
1181
0
    target = stream->WriteStringMaybeAliased(
1182
0
        9, this->_internal_reqkey(), target);
1183
0
  }
1184
1185
  // optional int32 QueryType = 10;
1186
0
  if (cached_has_bits & 0x00000800u) {
1187
0
    target = stream->EnsureSpace(target);
1188
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_querytype(), target);
1189
0
  }
1190
1191
  // optional bytes HighLight = 11;
1192
0
  if (cached_has_bits & 0x00000004u) {
1193
0
    target = stream->WriteBytesMaybeAliased(
1194
0
        11, this->_internal_highlight(), target);
1195
0
  }
1196
1197
  // optional string RetFormat = 12 [default = "html"];
1198
0
  if (cached_has_bits & 0x00000008u) {
1199
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1200
0
      this->_internal_retformat().data(), static_cast<int>(this->_internal_retformat().length()),
1201
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1202
0
      "gss.message.gss_src_req_t.RetFormat");
1203
0
    target = stream->WriteStringMaybeAliased(
1204
0
        12, this->_internal_retformat(), target);
1205
0
  }
1206
1207
  // optional string TagFilter = 13;
1208
0
  if (cached_has_bits & 0x00000010u) {
1209
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1210
0
      this->_internal_tagfilter().data(), static_cast<int>(this->_internal_tagfilter().length()),
1211
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1212
0
      "gss.message.gss_src_req_t.TagFilter");
1213
0
    target = stream->WriteStringMaybeAliased(
1214
0
        13, this->_internal_tagfilter(), target);
1215
0
  }
1216
1217
  // optional int32 SpReqType = 14;
1218
0
  if (cached_has_bits & 0x00001000u) {
1219
0
    target = stream->EnsureSpace(target);
1220
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_spreqtype(), target);
1221
0
  }
1222
1223
  // optional string UriKey = 15;
1224
0
  if (cached_has_bits & 0x00000020u) {
1225
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1226
0
      this->_internal_urikey().data(), static_cast<int>(this->_internal_urikey().length()),
1227
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1228
0
      "gss.message.gss_src_req_t.UriKey");
1229
0
    target = stream->WriteStringMaybeAliased(
1230
0
        15, this->_internal_urikey(), target);
1231
0
  }
1232
1233
  // optional string EntityName = 16;
1234
0
  if (cached_has_bits & 0x00000040u) {
1235
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1236
0
      this->_internal_entityname().data(), static_cast<int>(this->_internal_entityname().length()),
1237
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1238
0
      "gss.message.gss_src_req_t.EntityName");
1239
0
    target = stream->WriteStringMaybeAliased(
1240
0
        16, this->_internal_entityname(), target);
1241
0
  }
1242
1243
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1244
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1245
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1246
0
  }
1247
  // @@protoc_insertion_point(serialize_to_array_end:gss.message.gss_src_req_t)
1248
0
  return target;
1249
0
}
1250
1251
0
size_t gss_src_req_t::ByteSizeLong() const {
1252
// @@protoc_insertion_point(message_byte_size_start:gss.message.gss_src_req_t)
1253
0
  size_t total_size = 0;
1254
1255
0
  uint32_t cached_has_bits = 0;
1256
  // Prevent compiler warnings about cached_has_bits being unused
1257
0
  (void) cached_has_bits;
1258
1259
  // repeated string TransQuery = 1;
1260
0
  total_size += 1 *
1261
0
      ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.transquery_.size());
1262
0
  for (int i = 0, n = _impl_.transquery_.size(); i < n; i++) {
1263
0
    total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1264
0
      _impl_.transquery_.Get(i));
1265
0
  }
1266
1267
  // repeated int32 ExtType = 2;
1268
0
  {
1269
0
    size_t data_size = ::_pbi::WireFormatLite::
1270
0
      Int32Size(this->_impl_.exttype_);
1271
0
    total_size += 1 *
1272
0
                  ::_pbi::FromIntSize(this->_internal_exttype_size());
1273
0
    total_size += data_size;
1274
0
  }
1275
1276
0
  cached_has_bits = _impl_._has_bits_[0];
1277
0
  if (cached_has_bits & 0x000000ffu) {
1278
    // optional string Key = 8;
1279
0
    if (cached_has_bits & 0x00000001u) {
1280
0
      total_size += 1 +
1281
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1282
0
          this->_internal_key());
1283
0
    }
1284
1285
    // optional string ReqKey = 9;
1286
0
    if (cached_has_bits & 0x00000002u) {
1287
0
      total_size += 1 +
1288
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1289
0
          this->_internal_reqkey());
1290
0
    }
1291
1292
    // optional bytes HighLight = 11;
1293
0
    if (cached_has_bits & 0x00000004u) {
1294
0
      total_size += 1 +
1295
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
1296
0
          this->_internal_highlight());
1297
0
    }
1298
1299
    // optional string RetFormat = 12 [default = "html"];
1300
0
    if (cached_has_bits & 0x00000008u) {
1301
0
      total_size += 1 +
1302
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1303
0
          this->_internal_retformat());
1304
0
    }
1305
1306
    // optional string TagFilter = 13;
1307
0
    if (cached_has_bits & 0x00000010u) {
1308
0
      total_size += 1 +
1309
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1310
0
          this->_internal_tagfilter());
1311
0
    }
1312
1313
    // optional string UriKey = 15;
1314
0
    if (cached_has_bits & 0x00000020u) {
1315
0
      total_size += 1 +
1316
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1317
0
          this->_internal_urikey());
1318
0
    }
1319
1320
    // optional string EntityName = 16;
1321
0
    if (cached_has_bits & 0x00000040u) {
1322
0
      total_size += 2 +
1323
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1324
0
          this->_internal_entityname());
1325
0
    }
1326
1327
    // optional int32 SrcID = 3;
1328
0
    if (cached_has_bits & 0x00000080u) {
1329
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_srcid());
1330
0
    }
1331
1332
0
  }
1333
0
  if (cached_has_bits & 0x00001f00u) {
1334
    // optional int32 Pos = 5;
1335
0
    if (cached_has_bits & 0x00000100u) {
1336
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pos());
1337
0
    }
1338
1339
    // optional int32 Place = 6;
1340
0
    if (cached_has_bits & 0x00000200u) {
1341
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_place());
1342
0
    }
1343
1344
    // optional int32 Degree = 7;
1345
0
    if (cached_has_bits & 0x00000400u) {
1346
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_degree());
1347
0
    }
1348
1349
    // optional int32 QueryType = 10;
1350
0
    if (cached_has_bits & 0x00000800u) {
1351
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_querytype());
1352
0
    }
1353
1354
    // optional int32 SpReqType = 14;
1355
0
    if (cached_has_bits & 0x00001000u) {
1356
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_spreqtype());
1357
0
    }
1358
1359
0
  }
1360
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1361
0
}
1362
1363
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData gss_src_req_t::_class_data_ = {
1364
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
1365
    gss_src_req_t::MergeImpl
1366
};
1367
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*gss_src_req_t::GetClassData() const { return &_class_data_; }
1368
1369
1370
0
void gss_src_req_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
1371
0
  auto* const _this = static_cast<gss_src_req_t*>(&to_msg);
1372
0
  auto& from = static_cast<const gss_src_req_t&>(from_msg);
1373
  // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.gss_src_req_t)
1374
0
  GOOGLE_DCHECK_NE(&from, _this);
1375
0
  uint32_t cached_has_bits = 0;
1376
0
  (void) cached_has_bits;
1377
1378
0
  _this->_impl_.transquery_.MergeFrom(from._impl_.transquery_);
1379
0
  _this->_impl_.exttype_.MergeFrom(from._impl_.exttype_);
1380
0
  cached_has_bits = from._impl_._has_bits_[0];
1381
0
  if (cached_has_bits & 0x000000ffu) {
1382
0
    if (cached_has_bits & 0x00000001u) {
1383
0
      _this->_internal_set_key(from._internal_key());
1384
0
    }
1385
0
    if (cached_has_bits & 0x00000002u) {
1386
0
      _this->_internal_set_reqkey(from._internal_reqkey());
1387
0
    }
1388
0
    if (cached_has_bits & 0x00000004u) {
1389
0
      _this->_internal_set_highlight(from._internal_highlight());
1390
0
    }
1391
0
    if (cached_has_bits & 0x00000008u) {
1392
0
      _this->_internal_set_retformat(from._internal_retformat());
1393
0
    }
1394
0
    if (cached_has_bits & 0x00000010u) {
1395
0
      _this->_internal_set_tagfilter(from._internal_tagfilter());
1396
0
    }
1397
0
    if (cached_has_bits & 0x00000020u) {
1398
0
      _this->_internal_set_urikey(from._internal_urikey());
1399
0
    }
1400
0
    if (cached_has_bits & 0x00000040u) {
1401
0
      _this->_internal_set_entityname(from._internal_entityname());
1402
0
    }
1403
0
    if (cached_has_bits & 0x00000080u) {
1404
0
      _this->_impl_.srcid_ = from._impl_.srcid_;
1405
0
    }
1406
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
1407
0
  }
1408
0
  if (cached_has_bits & 0x00001f00u) {
1409
0
    if (cached_has_bits & 0x00000100u) {
1410
0
      _this->_impl_.pos_ = from._impl_.pos_;
1411
0
    }
1412
0
    if (cached_has_bits & 0x00000200u) {
1413
0
      _this->_impl_.place_ = from._impl_.place_;
1414
0
    }
1415
0
    if (cached_has_bits & 0x00000400u) {
1416
0
      _this->_impl_.degree_ = from._impl_.degree_;
1417
0
    }
1418
0
    if (cached_has_bits & 0x00000800u) {
1419
0
      _this->_impl_.querytype_ = from._impl_.querytype_;
1420
0
    }
1421
0
    if (cached_has_bits & 0x00001000u) {
1422
0
      _this->_impl_.spreqtype_ = from._impl_.spreqtype_;
1423
0
    }
1424
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
1425
0
  }
1426
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1427
0
}
1428
1429
0
void gss_src_req_t::CopyFrom(const gss_src_req_t& from) {
1430
// @@protoc_insertion_point(class_specific_copy_from_start:gss.message.gss_src_req_t)
1431
0
  if (&from == this) return;
1432
0
  Clear();
1433
0
  MergeFrom(from);
1434
0
}
1435
1436
0
bool gss_src_req_t::IsInitialized() const {
1437
0
  return true;
1438
0
}
1439
1440
0
void gss_src_req_t::InternalSwap(gss_src_req_t* other) {
1441
0
  using std::swap;
1442
0
  auto* lhs_arena = GetArenaForAllocation();
1443
0
  auto* rhs_arena = other->GetArenaForAllocation();
1444
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1445
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1446
0
  _impl_.transquery_.InternalSwap(&other->_impl_.transquery_);
1447
0
  _impl_.exttype_.InternalSwap(&other->_impl_.exttype_);
1448
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1449
0
      &_impl_.key_, lhs_arena,
1450
0
      &other->_impl_.key_, rhs_arena
1451
0
  );
1452
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1453
0
      &_impl_.reqkey_, lhs_arena,
1454
0
      &other->_impl_.reqkey_, rhs_arena
1455
0
  );
1456
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1457
0
      &_impl_.highlight_, lhs_arena,
1458
0
      &other->_impl_.highlight_, rhs_arena
1459
0
  );
1460
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1461
0
      &_impl_.retformat_, lhs_arena,
1462
0
      &other->_impl_.retformat_, rhs_arena
1463
0
  );
1464
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1465
0
      &_impl_.tagfilter_, lhs_arena,
1466
0
      &other->_impl_.tagfilter_, rhs_arena
1467
0
  );
1468
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1469
0
      &_impl_.urikey_, lhs_arena,
1470
0
      &other->_impl_.urikey_, rhs_arena
1471
0
  );
1472
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1473
0
      &_impl_.entityname_, lhs_arena,
1474
0
      &other->_impl_.entityname_, rhs_arena
1475
0
  );
1476
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1477
0
      PROTOBUF_FIELD_OFFSET(gss_src_req_t, _impl_.spreqtype_)
1478
0
      + sizeof(gss_src_req_t::_impl_.spreqtype_)
1479
0
      - PROTOBUF_FIELD_OFFSET(gss_src_req_t, _impl_.srcid_)>(
1480
0
          reinterpret_cast<char*>(&_impl_.srcid_),
1481
0
          reinterpret_cast<char*>(&other->_impl_.srcid_));
1482
0
}
1483
1484
0
::PROTOBUF_NAMESPACE_ID::Metadata gss_src_req_t::GetMetadata() const {
1485
0
  return ::_pbi::AssignDescriptors(
1486
0
      &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once,
1487
0
      file_level_metadata_message_2eproto[0]);
1488
0
}
1489
1490
// ===================================================================
1491
1492
class ua_info_t::_Internal {
1493
 public:
1494
  using HasBits = decltype(std::declval<ua_info_t>()._impl_._has_bits_);
1495
0
  static void set_has_ua_os(HasBits* has_bits) {
1496
0
    (*has_bits)[0] |= 1u;
1497
0
  }
1498
0
  static void set_has_ua_browser(HasBits* has_bits) {
1499
0
    (*has_bits)[0] |= 2u;
1500
0
  }
1501
0
  static void set_has_ua_modal(HasBits* has_bits) {
1502
0
    (*has_bits)[0] |= 4u;
1503
0
  }
1504
0
  static void set_has_ua_measure(HasBits* has_bits) {
1505
0
    (*has_bits)[0] |= 8u;
1506
0
  }
1507
0
  static void set_has_ua_res_x(HasBits* has_bits) {
1508
0
    (*has_bits)[0] |= 32u;
1509
0
  }
1510
0
  static void set_has_ua_res_y(HasBits* has_bits) {
1511
0
    (*has_bits)[0] |= 64u;
1512
0
  }
1513
0
  static void set_has_ua_ext(HasBits* has_bits) {
1514
0
    (*has_bits)[0] |= 16u;
1515
0
  }
1516
};
1517
1518
ua_info_t::ua_info_t(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1519
                         bool is_message_owned)
1520
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1521
0
  SharedCtor(arena, is_message_owned);
1522
  // @@protoc_insertion_point(arena_constructor:gss.message.ua_info_t)
1523
0
}
1524
ua_info_t::ua_info_t(const ua_info_t& from)
1525
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
1526
0
  ua_info_t* const _this = this; (void)_this;
1527
0
  new (&_impl_) Impl_{
1528
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
1529
0
    , /*decltype(_impl_._cached_size_)*/{}
1530
0
    , decltype(_impl_.ua_os_){}
1531
0
    , decltype(_impl_.ua_browser_){}
1532
0
    , decltype(_impl_.ua_modal_){}
1533
0
    , decltype(_impl_.ua_measure_){}
1534
0
    , decltype(_impl_.ua_ext_){}
1535
0
    , decltype(_impl_.ua_res_x_){}
1536
0
    , decltype(_impl_.ua_res_y_){}};
1537
1538
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1539
0
  _impl_.ua_os_.InitDefault();
1540
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1541
    _impl_.ua_os_.Set("", GetArenaForAllocation());
1542
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1543
0
  if (from._internal_has_ua_os()) {
1544
0
    _this->_impl_.ua_os_.Set(from._internal_ua_os(), 
1545
0
      _this->GetArenaForAllocation());
1546
0
  }
1547
0
  _impl_.ua_browser_.InitDefault();
1548
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1549
    _impl_.ua_browser_.Set("", GetArenaForAllocation());
1550
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1551
0
  if (from._internal_has_ua_browser()) {
1552
0
    _this->_impl_.ua_browser_.Set(from._internal_ua_browser(), 
1553
0
      _this->GetArenaForAllocation());
1554
0
  }
1555
0
  _impl_.ua_modal_.InitDefault();
1556
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1557
    _impl_.ua_modal_.Set("", GetArenaForAllocation());
1558
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1559
0
  if (from._internal_has_ua_modal()) {
1560
0
    _this->_impl_.ua_modal_.Set(from._internal_ua_modal(), 
1561
0
      _this->GetArenaForAllocation());
1562
0
  }
1563
0
  _impl_.ua_measure_.InitDefault();
1564
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1565
    _impl_.ua_measure_.Set("", GetArenaForAllocation());
1566
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1567
0
  if (from._internal_has_ua_measure()) {
1568
0
    _this->_impl_.ua_measure_.Set(from._internal_ua_measure(), 
1569
0
      _this->GetArenaForAllocation());
1570
0
  }
1571
0
  _impl_.ua_ext_.InitDefault();
1572
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1573
    _impl_.ua_ext_.Set("", GetArenaForAllocation());
1574
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1575
0
  if (from._internal_has_ua_ext()) {
1576
0
    _this->_impl_.ua_ext_.Set(from._internal_ua_ext(), 
1577
0
      _this->GetArenaForAllocation());
1578
0
  }
1579
0
  ::memcpy(&_impl_.ua_res_x_, &from._impl_.ua_res_x_,
1580
0
    static_cast<size_t>(reinterpret_cast<char*>(&_impl_.ua_res_y_) -
1581
0
    reinterpret_cast<char*>(&_impl_.ua_res_x_)) + sizeof(_impl_.ua_res_y_));
1582
  // @@protoc_insertion_point(copy_constructor:gss.message.ua_info_t)
1583
0
}
1584
1585
inline void ua_info_t::SharedCtor(
1586
0
    ::_pb::Arena* arena, bool is_message_owned) {
1587
0
  (void)arena;
1588
0
  (void)is_message_owned;
1589
0
  new (&_impl_) Impl_{
1590
0
      decltype(_impl_._has_bits_){}
1591
0
    , /*decltype(_impl_._cached_size_)*/{}
1592
0
    , decltype(_impl_.ua_os_){}
1593
0
    , decltype(_impl_.ua_browser_){}
1594
0
    , decltype(_impl_.ua_modal_){}
1595
0
    , decltype(_impl_.ua_measure_){}
1596
0
    , decltype(_impl_.ua_ext_){}
1597
0
    , decltype(_impl_.ua_res_x_){0}
1598
0
    , decltype(_impl_.ua_res_y_){0}
1599
0
  };
1600
0
  _impl_.ua_os_.InitDefault();
1601
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1602
    _impl_.ua_os_.Set("", GetArenaForAllocation());
1603
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1604
0
  _impl_.ua_browser_.InitDefault();
1605
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1606
    _impl_.ua_browser_.Set("", GetArenaForAllocation());
1607
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1608
0
  _impl_.ua_modal_.InitDefault();
1609
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1610
    _impl_.ua_modal_.Set("", GetArenaForAllocation());
1611
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1612
0
  _impl_.ua_measure_.InitDefault();
1613
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1614
    _impl_.ua_measure_.Set("", GetArenaForAllocation());
1615
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1616
0
  _impl_.ua_ext_.InitDefault();
1617
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1618
    _impl_.ua_ext_.Set("", GetArenaForAllocation());
1619
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1620
0
}
1621
1622
0
ua_info_t::~ua_info_t() {
1623
  // @@protoc_insertion_point(destructor:gss.message.ua_info_t)
1624
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
1625
0
  (void)arena;
1626
0
    return;
1627
0
  }
1628
0
  SharedDtor();
1629
0
}
1630
1631
0
inline void ua_info_t::SharedDtor() {
1632
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1633
0
  _impl_.ua_os_.Destroy();
1634
0
  _impl_.ua_browser_.Destroy();
1635
0
  _impl_.ua_modal_.Destroy();
1636
0
  _impl_.ua_measure_.Destroy();
1637
0
  _impl_.ua_ext_.Destroy();
1638
0
}
1639
1640
0
void ua_info_t::SetCachedSize(int size) const {
1641
0
  _impl_._cached_size_.Set(size);
1642
0
}
1643
1644
0
void ua_info_t::Clear() {
1645
// @@protoc_insertion_point(message_clear_start:gss.message.ua_info_t)
1646
0
  uint32_t cached_has_bits = 0;
1647
  // Prevent compiler warnings about cached_has_bits being unused
1648
0
  (void) cached_has_bits;
1649
1650
0
  cached_has_bits = _impl_._has_bits_[0];
1651
0
  if (cached_has_bits & 0x0000001fu) {
1652
0
    if (cached_has_bits & 0x00000001u) {
1653
0
      _impl_.ua_os_.ClearNonDefaultToEmpty();
1654
0
    }
1655
0
    if (cached_has_bits & 0x00000002u) {
1656
0
      _impl_.ua_browser_.ClearNonDefaultToEmpty();
1657
0
    }
1658
0
    if (cached_has_bits & 0x00000004u) {
1659
0
      _impl_.ua_modal_.ClearNonDefaultToEmpty();
1660
0
    }
1661
0
    if (cached_has_bits & 0x00000008u) {
1662
0
      _impl_.ua_measure_.ClearNonDefaultToEmpty();
1663
0
    }
1664
0
    if (cached_has_bits & 0x00000010u) {
1665
0
      _impl_.ua_ext_.ClearNonDefaultToEmpty();
1666
0
    }
1667
0
  }
1668
0
  if (cached_has_bits & 0x00000060u) {
1669
0
    ::memset(&_impl_.ua_res_x_, 0, static_cast<size_t>(
1670
0
        reinterpret_cast<char*>(&_impl_.ua_res_y_) -
1671
0
        reinterpret_cast<char*>(&_impl_.ua_res_x_)) + sizeof(_impl_.ua_res_y_));
1672
0
  }
1673
0
  _impl_._has_bits_.Clear();
1674
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1675
0
}
1676
1677
0
const char* ua_info_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1678
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1679
0
  _Internal::HasBits has_bits{};
1680
0
  while (!ctx->Done(&ptr)) {
1681
0
    uint32_t tag;
1682
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
1683
0
    switch (tag >> 3) {
1684
      // optional string ua_os = 1;
1685
0
      case 1:
1686
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
1687
0
          auto str = _internal_mutable_ua_os();
1688
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1689
0
          CHK_(ptr);
1690
0
          #ifndef NDEBUG
1691
0
          ::_pbi::VerifyUTF8(str, "gss.message.ua_info_t.ua_os");
1692
0
          #endif  // !NDEBUG
1693
0
        } else
1694
0
          goto handle_unusual;
1695
0
        continue;
1696
      // optional string ua_browser = 2;
1697
0
      case 2:
1698
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
1699
0
          auto str = _internal_mutable_ua_browser();
1700
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1701
0
          CHK_(ptr);
1702
0
          #ifndef NDEBUG
1703
0
          ::_pbi::VerifyUTF8(str, "gss.message.ua_info_t.ua_browser");
1704
0
          #endif  // !NDEBUG
1705
0
        } else
1706
0
          goto handle_unusual;
1707
0
        continue;
1708
      // optional string ua_modal = 3;
1709
0
      case 3:
1710
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
1711
0
          auto str = _internal_mutable_ua_modal();
1712
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1713
0
          CHK_(ptr);
1714
0
          #ifndef NDEBUG
1715
0
          ::_pbi::VerifyUTF8(str, "gss.message.ua_info_t.ua_modal");
1716
0
          #endif  // !NDEBUG
1717
0
        } else
1718
0
          goto handle_unusual;
1719
0
        continue;
1720
      // optional string ua_measure = 4;
1721
0
      case 4:
1722
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
1723
0
          auto str = _internal_mutable_ua_measure();
1724
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1725
0
          CHK_(ptr);
1726
0
          #ifndef NDEBUG
1727
0
          ::_pbi::VerifyUTF8(str, "gss.message.ua_info_t.ua_measure");
1728
0
          #endif  // !NDEBUG
1729
0
        } else
1730
0
          goto handle_unusual;
1731
0
        continue;
1732
      // optional int32 ua_res_x = 5;
1733
0
      case 5:
1734
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
1735
0
          _Internal::set_has_ua_res_x(&has_bits);
1736
0
          _impl_.ua_res_x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1737
0
          CHK_(ptr);
1738
0
        } else
1739
0
          goto handle_unusual;
1740
0
        continue;
1741
      // optional int32 ua_res_y = 6;
1742
0
      case 6:
1743
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
1744
0
          _Internal::set_has_ua_res_y(&has_bits);
1745
0
          _impl_.ua_res_y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1746
0
          CHK_(ptr);
1747
0
        } else
1748
0
          goto handle_unusual;
1749
0
        continue;
1750
      // optional bytes ua_ext = 7;
1751
0
      case 7:
1752
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
1753
0
          auto str = _internal_mutable_ua_ext();
1754
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
1755
0
          CHK_(ptr);
1756
0
        } else
1757
0
          goto handle_unusual;
1758
0
        continue;
1759
0
      default:
1760
0
        goto handle_unusual;
1761
0
    }  // switch
1762
0
  handle_unusual:
1763
0
    if ((tag == 0) || ((tag & 7) == 4)) {
1764
0
      CHK_(ptr);
1765
0
      ctx->SetLastTag(tag);
1766
0
      goto message_done;
1767
0
    }
1768
0
    ptr = UnknownFieldParse(
1769
0
        tag,
1770
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1771
0
        ptr, ctx);
1772
0
    CHK_(ptr != nullptr);
1773
0
  }  // while
1774
0
message_done:
1775
0
  _impl_._has_bits_.Or(has_bits);
1776
0
  return ptr;
1777
0
failure:
1778
0
  ptr = nullptr;
1779
0
  goto message_done;
1780
0
#undef CHK_
1781
0
}
1782
1783
uint8_t* ua_info_t::_InternalSerialize(
1784
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1785
  // @@protoc_insertion_point(serialize_to_array_start:gss.message.ua_info_t)
1786
0
  uint32_t cached_has_bits = 0;
1787
0
  (void) cached_has_bits;
1788
1789
0
  cached_has_bits = _impl_._has_bits_[0];
1790
  // optional string ua_os = 1;
1791
0
  if (cached_has_bits & 0x00000001u) {
1792
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1793
0
      this->_internal_ua_os().data(), static_cast<int>(this->_internal_ua_os().length()),
1794
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1795
0
      "gss.message.ua_info_t.ua_os");
1796
0
    target = stream->WriteStringMaybeAliased(
1797
0
        1, this->_internal_ua_os(), target);
1798
0
  }
1799
1800
  // optional string ua_browser = 2;
1801
0
  if (cached_has_bits & 0x00000002u) {
1802
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1803
0
      this->_internal_ua_browser().data(), static_cast<int>(this->_internal_ua_browser().length()),
1804
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1805
0
      "gss.message.ua_info_t.ua_browser");
1806
0
    target = stream->WriteStringMaybeAliased(
1807
0
        2, this->_internal_ua_browser(), target);
1808
0
  }
1809
1810
  // optional string ua_modal = 3;
1811
0
  if (cached_has_bits & 0x00000004u) {
1812
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1813
0
      this->_internal_ua_modal().data(), static_cast<int>(this->_internal_ua_modal().length()),
1814
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1815
0
      "gss.message.ua_info_t.ua_modal");
1816
0
    target = stream->WriteStringMaybeAliased(
1817
0
        3, this->_internal_ua_modal(), target);
1818
0
  }
1819
1820
  // optional string ua_measure = 4;
1821
0
  if (cached_has_bits & 0x00000008u) {
1822
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1823
0
      this->_internal_ua_measure().data(), static_cast<int>(this->_internal_ua_measure().length()),
1824
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1825
0
      "gss.message.ua_info_t.ua_measure");
1826
0
    target = stream->WriteStringMaybeAliased(
1827
0
        4, this->_internal_ua_measure(), target);
1828
0
  }
1829
1830
  // optional int32 ua_res_x = 5;
1831
0
  if (cached_has_bits & 0x00000020u) {
1832
0
    target = stream->EnsureSpace(target);
1833
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_ua_res_x(), target);
1834
0
  }
1835
1836
  // optional int32 ua_res_y = 6;
1837
0
  if (cached_has_bits & 0x00000040u) {
1838
0
    target = stream->EnsureSpace(target);
1839
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_ua_res_y(), target);
1840
0
  }
1841
1842
  // optional bytes ua_ext = 7;
1843
0
  if (cached_has_bits & 0x00000010u) {
1844
0
    target = stream->WriteBytesMaybeAliased(
1845
0
        7, this->_internal_ua_ext(), target);
1846
0
  }
1847
1848
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1849
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1850
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1851
0
  }
1852
  // @@protoc_insertion_point(serialize_to_array_end:gss.message.ua_info_t)
1853
0
  return target;
1854
0
}
1855
1856
0
size_t ua_info_t::ByteSizeLong() const {
1857
// @@protoc_insertion_point(message_byte_size_start:gss.message.ua_info_t)
1858
0
  size_t total_size = 0;
1859
1860
0
  uint32_t cached_has_bits = 0;
1861
  // Prevent compiler warnings about cached_has_bits being unused
1862
0
  (void) cached_has_bits;
1863
1864
0
  cached_has_bits = _impl_._has_bits_[0];
1865
0
  if (cached_has_bits & 0x0000007fu) {
1866
    // optional string ua_os = 1;
1867
0
    if (cached_has_bits & 0x00000001u) {
1868
0
      total_size += 1 +
1869
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1870
0
          this->_internal_ua_os());
1871
0
    }
1872
1873
    // optional string ua_browser = 2;
1874
0
    if (cached_has_bits & 0x00000002u) {
1875
0
      total_size += 1 +
1876
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1877
0
          this->_internal_ua_browser());
1878
0
    }
1879
1880
    // optional string ua_modal = 3;
1881
0
    if (cached_has_bits & 0x00000004u) {
1882
0
      total_size += 1 +
1883
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1884
0
          this->_internal_ua_modal());
1885
0
    }
1886
1887
    // optional string ua_measure = 4;
1888
0
    if (cached_has_bits & 0x00000008u) {
1889
0
      total_size += 1 +
1890
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1891
0
          this->_internal_ua_measure());
1892
0
    }
1893
1894
    // optional bytes ua_ext = 7;
1895
0
    if (cached_has_bits & 0x00000010u) {
1896
0
      total_size += 1 +
1897
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
1898
0
          this->_internal_ua_ext());
1899
0
    }
1900
1901
    // optional int32 ua_res_x = 5;
1902
0
    if (cached_has_bits & 0x00000020u) {
1903
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ua_res_x());
1904
0
    }
1905
1906
    // optional int32 ua_res_y = 6;
1907
0
    if (cached_has_bits & 0x00000040u) {
1908
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ua_res_y());
1909
0
    }
1910
1911
0
  }
1912
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1913
0
}
1914
1915
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ua_info_t::_class_data_ = {
1916
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
1917
    ua_info_t::MergeImpl
1918
};
1919
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ua_info_t::GetClassData() const { return &_class_data_; }
1920
1921
1922
0
void ua_info_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
1923
0
  auto* const _this = static_cast<ua_info_t*>(&to_msg);
1924
0
  auto& from = static_cast<const ua_info_t&>(from_msg);
1925
  // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.ua_info_t)
1926
0
  GOOGLE_DCHECK_NE(&from, _this);
1927
0
  uint32_t cached_has_bits = 0;
1928
0
  (void) cached_has_bits;
1929
1930
0
  cached_has_bits = from._impl_._has_bits_[0];
1931
0
  if (cached_has_bits & 0x0000007fu) {
1932
0
    if (cached_has_bits & 0x00000001u) {
1933
0
      _this->_internal_set_ua_os(from._internal_ua_os());
1934
0
    }
1935
0
    if (cached_has_bits & 0x00000002u) {
1936
0
      _this->_internal_set_ua_browser(from._internal_ua_browser());
1937
0
    }
1938
0
    if (cached_has_bits & 0x00000004u) {
1939
0
      _this->_internal_set_ua_modal(from._internal_ua_modal());
1940
0
    }
1941
0
    if (cached_has_bits & 0x00000008u) {
1942
0
      _this->_internal_set_ua_measure(from._internal_ua_measure());
1943
0
    }
1944
0
    if (cached_has_bits & 0x00000010u) {
1945
0
      _this->_internal_set_ua_ext(from._internal_ua_ext());
1946
0
    }
1947
0
    if (cached_has_bits & 0x00000020u) {
1948
0
      _this->_impl_.ua_res_x_ = from._impl_.ua_res_x_;
1949
0
    }
1950
0
    if (cached_has_bits & 0x00000040u) {
1951
0
      _this->_impl_.ua_res_y_ = from._impl_.ua_res_y_;
1952
0
    }
1953
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
1954
0
  }
1955
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1956
0
}
1957
1958
0
void ua_info_t::CopyFrom(const ua_info_t& from) {
1959
// @@protoc_insertion_point(class_specific_copy_from_start:gss.message.ua_info_t)
1960
0
  if (&from == this) return;
1961
0
  Clear();
1962
0
  MergeFrom(from);
1963
0
}
1964
1965
0
bool ua_info_t::IsInitialized() const {
1966
0
  return true;
1967
0
}
1968
1969
0
void ua_info_t::InternalSwap(ua_info_t* other) {
1970
0
  using std::swap;
1971
0
  auto* lhs_arena = GetArenaForAllocation();
1972
0
  auto* rhs_arena = other->GetArenaForAllocation();
1973
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1974
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1975
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1976
0
      &_impl_.ua_os_, lhs_arena,
1977
0
      &other->_impl_.ua_os_, rhs_arena
1978
0
  );
1979
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1980
0
      &_impl_.ua_browser_, lhs_arena,
1981
0
      &other->_impl_.ua_browser_, rhs_arena
1982
0
  );
1983
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1984
0
      &_impl_.ua_modal_, lhs_arena,
1985
0
      &other->_impl_.ua_modal_, rhs_arena
1986
0
  );
1987
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1988
0
      &_impl_.ua_measure_, lhs_arena,
1989
0
      &other->_impl_.ua_measure_, rhs_arena
1990
0
  );
1991
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1992
0
      &_impl_.ua_ext_, lhs_arena,
1993
0
      &other->_impl_.ua_ext_, rhs_arena
1994
0
  );
1995
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1996
0
      PROTOBUF_FIELD_OFFSET(ua_info_t, _impl_.ua_res_y_)
1997
0
      + sizeof(ua_info_t::_impl_.ua_res_y_)
1998
0
      - PROTOBUF_FIELD_OFFSET(ua_info_t, _impl_.ua_res_x_)>(
1999
0
          reinterpret_cast<char*>(&_impl_.ua_res_x_),
2000
0
          reinterpret_cast<char*>(&other->_impl_.ua_res_x_));
2001
0
}
2002
2003
0
::PROTOBUF_NAMESPACE_ID::Metadata ua_info_t::GetMetadata() const {
2004
0
  return ::_pbi::AssignDescriptors(
2005
0
      &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once,
2006
0
      file_level_metadata_message_2eproto[1]);
2007
0
}
2008
2009
// ===================================================================
2010
2011
class app_info_t::_Internal {
2012
 public:
2013
  using HasBits = decltype(std::declval<app_info_t>()._impl_._has_bits_);
2014
0
  static void set_has_package(HasBits* has_bits) {
2015
0
    (*has_bits)[0] |= 1u;
2016
0
  }
2017
0
  static void set_has_version(HasBits* has_bits) {
2018
0
    (*has_bits)[0] |= 2u;
2019
0
  }
2020
0
  static void set_has_signmd5(HasBits* has_bits) {
2021
0
    (*has_bits)[0] |= 4u;
2022
0
  }
2023
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
2024
0
    return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
2025
0
  }
2026
};
2027
2028
app_info_t::app_info_t(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2029
                         bool is_message_owned)
2030
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2031
0
  SharedCtor(arena, is_message_owned);
2032
  // @@protoc_insertion_point(arena_constructor:gss.message.app_info_t)
2033
0
}
2034
app_info_t::app_info_t(const app_info_t& from)
2035
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
2036
0
  app_info_t* const _this = this; (void)_this;
2037
0
  new (&_impl_) Impl_{
2038
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
2039
0
    , /*decltype(_impl_._cached_size_)*/{}
2040
0
    , decltype(_impl_.package_){}
2041
0
    , decltype(_impl_.version_){}
2042
0
    , decltype(_impl_.signmd5_){}};
2043
2044
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2045
0
  _impl_.package_.InitDefault();
2046
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2047
    _impl_.package_.Set("", GetArenaForAllocation());
2048
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2049
0
  if (from._internal_has_package()) {
2050
0
    _this->_impl_.package_.Set(from._internal_package(), 
2051
0
      _this->GetArenaForAllocation());
2052
0
  }
2053
0
  ::memcpy(&_impl_.version_, &from._impl_.version_,
2054
0
    static_cast<size_t>(reinterpret_cast<char*>(&_impl_.signmd5_) -
2055
0
    reinterpret_cast<char*>(&_impl_.version_)) + sizeof(_impl_.signmd5_));
2056
  // @@protoc_insertion_point(copy_constructor:gss.message.app_info_t)
2057
0
}
2058
2059
inline void app_info_t::SharedCtor(
2060
0
    ::_pb::Arena* arena, bool is_message_owned) {
2061
0
  (void)arena;
2062
0
  (void)is_message_owned;
2063
0
  new (&_impl_) Impl_{
2064
0
      decltype(_impl_._has_bits_){}
2065
0
    , /*decltype(_impl_._cached_size_)*/{}
2066
0
    , decltype(_impl_.package_){}
2067
0
    , decltype(_impl_.version_){0}
2068
0
    , decltype(_impl_.signmd5_){0u}
2069
0
  };
2070
0
  _impl_.package_.InitDefault();
2071
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2072
    _impl_.package_.Set("", GetArenaForAllocation());
2073
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2074
0
}
2075
2076
0
app_info_t::~app_info_t() {
2077
  // @@protoc_insertion_point(destructor:gss.message.app_info_t)
2078
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2079
0
  (void)arena;
2080
0
    return;
2081
0
  }
2082
0
  SharedDtor();
2083
0
}
2084
2085
0
inline void app_info_t::SharedDtor() {
2086
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2087
0
  _impl_.package_.Destroy();
2088
0
}
2089
2090
0
void app_info_t::SetCachedSize(int size) const {
2091
0
  _impl_._cached_size_.Set(size);
2092
0
}
2093
2094
0
void app_info_t::Clear() {
2095
// @@protoc_insertion_point(message_clear_start:gss.message.app_info_t)
2096
0
  uint32_t cached_has_bits = 0;
2097
  // Prevent compiler warnings about cached_has_bits being unused
2098
0
  (void) cached_has_bits;
2099
2100
0
  cached_has_bits = _impl_._has_bits_[0];
2101
0
  if (cached_has_bits & 0x00000001u) {
2102
0
    _impl_.package_.ClearNonDefaultToEmpty();
2103
0
  }
2104
0
  if (cached_has_bits & 0x00000006u) {
2105
0
    ::memset(&_impl_.version_, 0, static_cast<size_t>(
2106
0
        reinterpret_cast<char*>(&_impl_.signmd5_) -
2107
0
        reinterpret_cast<char*>(&_impl_.version_)) + sizeof(_impl_.signmd5_));
2108
0
  }
2109
0
  _impl_._has_bits_.Clear();
2110
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2111
0
}
2112
2113
0
const char* app_info_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2114
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2115
0
  _Internal::HasBits has_bits{};
2116
0
  while (!ctx->Done(&ptr)) {
2117
0
    uint32_t tag;
2118
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
2119
0
    switch (tag >> 3) {
2120
      // required string package = 1;
2121
0
      case 1:
2122
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
2123
0
          auto str = _internal_mutable_package();
2124
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2125
0
          CHK_(ptr);
2126
0
          #ifndef NDEBUG
2127
0
          ::_pbi::VerifyUTF8(str, "gss.message.app_info_t.package");
2128
0
          #endif  // !NDEBUG
2129
0
        } else
2130
0
          goto handle_unusual;
2131
0
        continue;
2132
      // required int32 version = 2;
2133
0
      case 2:
2134
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
2135
0
          _Internal::set_has_version(&has_bits);
2136
0
          _impl_.version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2137
0
          CHK_(ptr);
2138
0
        } else
2139
0
          goto handle_unusual;
2140
0
        continue;
2141
      // required uint32 signmd5 = 3;
2142
0
      case 3:
2143
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
2144
0
          _Internal::set_has_signmd5(&has_bits);
2145
0
          _impl_.signmd5_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2146
0
          CHK_(ptr);
2147
0
        } else
2148
0
          goto handle_unusual;
2149
0
        continue;
2150
0
      default:
2151
0
        goto handle_unusual;
2152
0
    }  // switch
2153
0
  handle_unusual:
2154
0
    if ((tag == 0) || ((tag & 7) == 4)) {
2155
0
      CHK_(ptr);
2156
0
      ctx->SetLastTag(tag);
2157
0
      goto message_done;
2158
0
    }
2159
0
    ptr = UnknownFieldParse(
2160
0
        tag,
2161
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2162
0
        ptr, ctx);
2163
0
    CHK_(ptr != nullptr);
2164
0
  }  // while
2165
0
message_done:
2166
0
  _impl_._has_bits_.Or(has_bits);
2167
0
  return ptr;
2168
0
failure:
2169
0
  ptr = nullptr;
2170
0
  goto message_done;
2171
0
#undef CHK_
2172
0
}
2173
2174
uint8_t* app_info_t::_InternalSerialize(
2175
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2176
  // @@protoc_insertion_point(serialize_to_array_start:gss.message.app_info_t)
2177
0
  uint32_t cached_has_bits = 0;
2178
0
  (void) cached_has_bits;
2179
2180
0
  cached_has_bits = _impl_._has_bits_[0];
2181
  // required string package = 1;
2182
0
  if (cached_has_bits & 0x00000001u) {
2183
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
2184
0
      this->_internal_package().data(), static_cast<int>(this->_internal_package().length()),
2185
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
2186
0
      "gss.message.app_info_t.package");
2187
0
    target = stream->WriteStringMaybeAliased(
2188
0
        1, this->_internal_package(), target);
2189
0
  }
2190
2191
  // required int32 version = 2;
2192
0
  if (cached_has_bits & 0x00000002u) {
2193
0
    target = stream->EnsureSpace(target);
2194
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_version(), target);
2195
0
  }
2196
2197
  // required uint32 signmd5 = 3;
2198
0
  if (cached_has_bits & 0x00000004u) {
2199
0
    target = stream->EnsureSpace(target);
2200
0
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(3, this->_internal_signmd5(), target);
2201
0
  }
2202
2203
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2204
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2205
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2206
0
  }
2207
  // @@protoc_insertion_point(serialize_to_array_end:gss.message.app_info_t)
2208
0
  return target;
2209
0
}
2210
2211
0
size_t app_info_t::RequiredFieldsByteSizeFallback() const {
2212
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:gss.message.app_info_t)
2213
0
  size_t total_size = 0;
2214
2215
0
  if (_internal_has_package()) {
2216
    // required string package = 1;
2217
0
    total_size += 1 +
2218
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2219
0
        this->_internal_package());
2220
0
  }
2221
2222
0
  if (_internal_has_version()) {
2223
    // required int32 version = 2;
2224
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_version());
2225
0
  }
2226
2227
0
  if (_internal_has_signmd5()) {
2228
    // required uint32 signmd5 = 3;
2229
0
    total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_signmd5());
2230
0
  }
2231
2232
0
  return total_size;
2233
0
}
2234
0
size_t app_info_t::ByteSizeLong() const {
2235
// @@protoc_insertion_point(message_byte_size_start:gss.message.app_info_t)
2236
0
  size_t total_size = 0;
2237
2238
0
  if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) {  // All required fields are present.
2239
    // required string package = 1;
2240
0
    total_size += 1 +
2241
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2242
0
        this->_internal_package());
2243
2244
    // required int32 version = 2;
2245
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_version());
2246
2247
    // required uint32 signmd5 = 3;
2248
0
    total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_signmd5());
2249
2250
0
  } else {
2251
0
    total_size += RequiredFieldsByteSizeFallback();
2252
0
  }
2253
0
  uint32_t cached_has_bits = 0;
2254
  // Prevent compiler warnings about cached_has_bits being unused
2255
0
  (void) cached_has_bits;
2256
2257
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2258
0
}
2259
2260
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData app_info_t::_class_data_ = {
2261
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
2262
    app_info_t::MergeImpl
2263
};
2264
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*app_info_t::GetClassData() const { return &_class_data_; }
2265
2266
2267
0
void app_info_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
2268
0
  auto* const _this = static_cast<app_info_t*>(&to_msg);
2269
0
  auto& from = static_cast<const app_info_t&>(from_msg);
2270
  // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.app_info_t)
2271
0
  GOOGLE_DCHECK_NE(&from, _this);
2272
0
  uint32_t cached_has_bits = 0;
2273
0
  (void) cached_has_bits;
2274
2275
0
  cached_has_bits = from._impl_._has_bits_[0];
2276
0
  if (cached_has_bits & 0x00000007u) {
2277
0
    if (cached_has_bits & 0x00000001u) {
2278
0
      _this->_internal_set_package(from._internal_package());
2279
0
    }
2280
0
    if (cached_has_bits & 0x00000002u) {
2281
0
      _this->_impl_.version_ = from._impl_.version_;
2282
0
    }
2283
0
    if (cached_has_bits & 0x00000004u) {
2284
0
      _this->_impl_.signmd5_ = from._impl_.signmd5_;
2285
0
    }
2286
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
2287
0
  }
2288
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2289
0
}
2290
2291
0
void app_info_t::CopyFrom(const app_info_t& from) {
2292
// @@protoc_insertion_point(class_specific_copy_from_start:gss.message.app_info_t)
2293
0
  if (&from == this) return;
2294
0
  Clear();
2295
0
  MergeFrom(from);
2296
0
}
2297
2298
0
bool app_info_t::IsInitialized() const {
2299
0
  if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
2300
0
  return true;
2301
0
}
2302
2303
0
void app_info_t::InternalSwap(app_info_t* other) {
2304
0
  using std::swap;
2305
0
  auto* lhs_arena = GetArenaForAllocation();
2306
0
  auto* rhs_arena = other->GetArenaForAllocation();
2307
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2308
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2309
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
2310
0
      &_impl_.package_, lhs_arena,
2311
0
      &other->_impl_.package_, rhs_arena
2312
0
  );
2313
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2314
0
      PROTOBUF_FIELD_OFFSET(app_info_t, _impl_.signmd5_)
2315
0
      + sizeof(app_info_t::_impl_.signmd5_)
2316
0
      - PROTOBUF_FIELD_OFFSET(app_info_t, _impl_.version_)>(
2317
0
          reinterpret_cast<char*>(&_impl_.version_),
2318
0
          reinterpret_cast<char*>(&other->_impl_.version_));
2319
0
}
2320
2321
0
::PROTOBUF_NAMESPACE_ID::Metadata app_info_t::GetMetadata() const {
2322
0
  return ::_pbi::AssignDescriptors(
2323
0
      &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once,
2324
0
      file_level_metadata_message_2eproto[2]);
2325
0
}
2326
2327
// ===================================================================
2328
2329
class us_gss_req_t::_Internal {
2330
 public:
2331
  using HasBits = decltype(std::declval<us_gss_req_t>()._impl_._has_bits_);
2332
0
  static void set_has_originquery(HasBits* has_bits) {
2333
0
    (*has_bits)[0] |= 1u;
2334
0
  }
2335
0
  static void set_has_userip(HasBits* has_bits) {
2336
0
    (*has_bits)[0] |= 262144u;
2337
0
  }
2338
0
  static void set_has_timingneed(HasBits* has_bits) {
2339
0
    (*has_bits)[0] |= 524288u;
2340
0
  }
2341
0
  static void set_has_queryid64(HasBits* has_bits) {
2342
0
    (*has_bits)[0] |= 1048576u;
2343
0
  }
2344
0
  static void set_has_clientname(HasBits* has_bits) {
2345
0
    (*has_bits)[0] |= 2u;
2346
0
  }
2347
0
  static void set_has_resnum(HasBits* has_bits) {
2348
0
    (*has_bits)[0] |= 2147483648u;
2349
0
  }
2350
0
  static void set_has_pagenum(HasBits* has_bits) {
2351
0
    (*has_bits)[0] |= 2097152u;
2352
0
  }
2353
0
  static void set_has_ctpl_or_php(HasBits* has_bits) {
2354
0
    (*has_bits)[0] |= 4194304u;
2355
0
  }
2356
0
  static void set_has_setype(HasBits* has_bits) {
2357
0
    (*has_bits)[0] |= 8388608u;
2358
0
  }
2359
0
  static void set_has_templatename(HasBits* has_bits) {
2360
0
    (*has_bits)[0] |= 4u;
2361
0
  }
2362
0
  static void set_has_urlparapack(HasBits* has_bits) {
2363
0
    (*has_bits)[0] |= 8u;
2364
0
  }
2365
0
  static void set_has_gssqa(HasBits* has_bits) {
2366
0
    (*has_bits)[0] |= 16u;
2367
0
  }
2368
0
  static void set_has_cookie(HasBits* has_bits) {
2369
0
    (*has_bits)[0] |= 32u;
2370
0
  }
2371
0
  static void set_has_province_name(HasBits* has_bits) {
2372
0
    (*has_bits)[0] |= 64u;
2373
0
  }
2374
0
  static void set_has_city_name(HasBits* has_bits) {
2375
0
    (*has_bits)[0] |= 128u;
2376
0
  }
2377
0
  static void set_has_isp_name(HasBits* has_bits) {
2378
0
    (*has_bits)[0] |= 256u;
2379
0
  }
2380
0
  static void set_has_srcnum(HasBits* has_bits) {
2381
0
    (*has_bits)[0] |= 16777216u;
2382
0
  }
2383
0
  static void set_has_from(HasBits* has_bits) {
2384
0
    (*has_bits)[0] |= 512u;
2385
0
  }
2386
0
  static void set_has_fmt(HasBits* has_bits) {
2387
0
    (*has_bits)[0] |= 1024u;
2388
0
  }
2389
0
  static void set_has_highlight(HasBits* has_bits) {
2390
0
    (*has_bits)[0] |= 2048u;
2391
0
  }
2392
0
  static void set_has_needhilightstr(HasBits* has_bits) {
2393
0
    (*has_bits)[0] |= 134217728u;
2394
0
  }
2395
0
  static void set_has_resultlang(HasBits* has_bits) {
2396
0
    (*has_bits)[0] |= 33554432u;
2397
0
  }
2398
0
  static void set_has_resultlocale(HasBits* has_bits) {
2399
0
    (*has_bits)[0] |= 67108864u;
2400
0
  }
2401
  static const ::gss::message::ua_info_t& uainfo(const us_gss_req_t* msg);
2402
0
  static void set_has_uainfo(HasBits* has_bits) {
2403
0
    (*has_bits)[0] |= 65536u;
2404
0
  }
2405
0
  static void set_has_useragent_full(HasBits* has_bits) {
2406
0
    (*has_bits)[0] |= 4096u;
2407
0
  }
2408
0
  static void set_has_uid(HasBits* has_bits) {
2409
0
    (*has_bits)[0] |= 268435456u;
2410
0
  }
2411
0
  static void set_has_uname(HasBits* has_bits) {
2412
0
    (*has_bits)[0] |= 8192u;
2413
0
  }
2414
0
  static void set_has_open_gssda_recall(HasBits* has_bits) {
2415
0
    (*has_bits)[0] |= 536870912u;
2416
0
  }
2417
0
  static void set_has_prefetch_flag(HasBits* has_bits) {
2418
0
    (*has_bits)[0] |= 1073741824u;
2419
0
  }
2420
0
  static void set_has_service_name(HasBits* has_bits) {
2421
0
    (*has_bits)[0] |= 16384u;
2422
0
  }
2423
0
  static void set_has_caller(HasBits* has_bits) {
2424
0
    (*has_bits)[0] |= 32768u;
2425
0
  }
2426
  static const ::gss::message::UserAgent& user_agent(const us_gss_req_t* msg);
2427
0
  static void set_has_user_agent(HasBits* has_bits) {
2428
0
    (*has_bits)[0] |= 131072u;
2429
0
  }
2430
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
2431
0
    return ((has_bits[0] & 0x010c0005) ^ 0x010c0005) != 0;
2432
0
  }
2433
};
2434
2435
const ::gss::message::ua_info_t&
2436
0
us_gss_req_t::_Internal::uainfo(const us_gss_req_t* msg) {
2437
0
  return *msg->_impl_.uainfo_;
2438
0
}
2439
const ::gss::message::UserAgent&
2440
0
us_gss_req_t::_Internal::user_agent(const us_gss_req_t* msg) {
2441
0
  return *msg->_impl_.user_agent_;
2442
0
}
2443
const ::PROTOBUF_NAMESPACE_ID::internal::LazyString us_gss_req_t::Impl_::_i_give_permission_to_break_this_code_default_clientname_{{{"unknow", 6}}, {nullptr}};
2444
const ::PROTOBUF_NAMESPACE_ID::internal::LazyString us_gss_req_t::Impl_::_i_give_permission_to_break_this_code_default_from_{{{"www", 3}}, {nullptr}};
2445
const ::PROTOBUF_NAMESPACE_ID::internal::LazyString us_gss_req_t::Impl_::_i_give_permission_to_break_this_code_default_fmt_{{{"html", 4}}, {nullptr}};
2446
us_gss_req_t::us_gss_req_t(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2447
                         bool is_message_owned)
2448
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2449
0
  SharedCtor(arena, is_message_owned);
2450
  // @@protoc_insertion_point(arena_constructor:gss.message.us_gss_req_t)
2451
0
}
2452
us_gss_req_t::us_gss_req_t(const us_gss_req_t& from)
2453
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
2454
0
  us_gss_req_t* const _this = this; (void)_this;
2455
0
  new (&_impl_) Impl_{
2456
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
2457
0
    , /*decltype(_impl_._cached_size_)*/{}
2458
0
    , decltype(_impl_.sid_){from._impl_.sid_}
2459
0
    , decltype(_impl_.srcarr_){from._impl_.srcarr_}
2460
0
    , decltype(_impl_.appinfoarr_){from._impl_.appinfoarr_}
2461
0
    , decltype(_impl_.originquery_){}
2462
0
    , decltype(_impl_.clientname_){}
2463
0
    , decltype(_impl_.templatename_){}
2464
0
    , decltype(_impl_.urlparapack_){}
2465
0
    , decltype(_impl_.gssqa_){}
2466
0
    , decltype(_impl_.cookie_){}
2467
0
    , decltype(_impl_.province_name_){}
2468
0
    , decltype(_impl_.city_name_){}
2469
0
    , decltype(_impl_.isp_name_){}
2470
0
    , decltype(_impl_.from_){}
2471
0
    , decltype(_impl_.fmt_){}
2472
0
    , decltype(_impl_.highlight_){}
2473
0
    , decltype(_impl_.useragent_full_){}
2474
0
    , decltype(_impl_.uname_){}
2475
0
    , decltype(_impl_.service_name_){}
2476
0
    , decltype(_impl_.caller_){}
2477
0
    , decltype(_impl_.uainfo_){nullptr}
2478
0
    , decltype(_impl_.user_agent_){nullptr}
2479
0
    , decltype(_impl_.userip_){}
2480
0
    , decltype(_impl_.timingneed_){}
2481
0
    , decltype(_impl_.queryid64_){}
2482
0
    , decltype(_impl_.pagenum_){}
2483
0
    , decltype(_impl_.ctpl_or_php_){}
2484
0
    , decltype(_impl_.setype_){}
2485
0
    , decltype(_impl_.srcnum_){}
2486
0
    , decltype(_impl_.resultlang_){}
2487
0
    , decltype(_impl_.resultlocale_){}
2488
0
    , decltype(_impl_.needhilightstr_){}
2489
0
    , decltype(_impl_.uid_){}
2490
0
    , decltype(_impl_.open_gssda_recall_){}
2491
0
    , decltype(_impl_.prefetch_flag_){}
2492
0
    , decltype(_impl_.resnum_){}};
2493
2494
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2495
0
  _impl_.originquery_.InitDefault();
2496
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2497
    _impl_.originquery_.Set("", GetArenaForAllocation());
2498
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2499
0
  if (from._internal_has_originquery()) {
2500
0
    _this->_impl_.originquery_.Set(from._internal_originquery(), 
2501
0
      _this->GetArenaForAllocation());
2502
0
  }
2503
0
  _impl_.clientname_.InitDefault();
2504
0
  if (from._internal_has_clientname()) {
2505
0
    _this->_impl_.clientname_.Set(from._internal_clientname(), 
2506
0
      _this->GetArenaForAllocation());
2507
0
  }
2508
0
  _impl_.templatename_.InitDefault();
2509
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2510
    _impl_.templatename_.Set("", GetArenaForAllocation());
2511
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2512
0
  if (from._internal_has_templatename()) {
2513
0
    _this->_impl_.templatename_.Set(from._internal_templatename(), 
2514
0
      _this->GetArenaForAllocation());
2515
0
  }
2516
0
  _impl_.urlparapack_.InitDefault();
2517
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2518
    _impl_.urlparapack_.Set("", GetArenaForAllocation());
2519
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2520
0
  if (from._internal_has_urlparapack()) {
2521
0
    _this->_impl_.urlparapack_.Set(from._internal_urlparapack(), 
2522
0
      _this->GetArenaForAllocation());
2523
0
  }
2524
0
  _impl_.gssqa_.InitDefault();
2525
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2526
    _impl_.gssqa_.Set("", GetArenaForAllocation());
2527
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2528
0
  if (from._internal_has_gssqa()) {
2529
0
    _this->_impl_.gssqa_.Set(from._internal_gssqa(), 
2530
0
      _this->GetArenaForAllocation());
2531
0
  }
2532
0
  _impl_.cookie_.InitDefault();
2533
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2534
    _impl_.cookie_.Set("", GetArenaForAllocation());
2535
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2536
0
  if (from._internal_has_cookie()) {
2537
0
    _this->_impl_.cookie_.Set(from._internal_cookie(), 
2538
0
      _this->GetArenaForAllocation());
2539
0
  }
2540
0
  _impl_.province_name_.InitDefault();
2541
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2542
    _impl_.province_name_.Set("", GetArenaForAllocation());
2543
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2544
0
  if (from._internal_has_province_name()) {
2545
0
    _this->_impl_.province_name_.Set(from._internal_province_name(), 
2546
0
      _this->GetArenaForAllocation());
2547
0
  }
2548
0
  _impl_.city_name_.InitDefault();
2549
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2550
    _impl_.city_name_.Set("", GetArenaForAllocation());
2551
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2552
0
  if (from._internal_has_city_name()) {
2553
0
    _this->_impl_.city_name_.Set(from._internal_city_name(), 
2554
0
      _this->GetArenaForAllocation());
2555
0
  }
2556
0
  _impl_.isp_name_.InitDefault();
2557
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2558
    _impl_.isp_name_.Set("", GetArenaForAllocation());
2559
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2560
0
  if (from._internal_has_isp_name()) {
2561
0
    _this->_impl_.isp_name_.Set(from._internal_isp_name(), 
2562
0
      _this->GetArenaForAllocation());
2563
0
  }
2564
0
  _impl_.from_.InitDefault();
2565
0
  if (from._internal_has_from()) {
2566
0
    _this->_impl_.from_.Set(from._internal_from(), 
2567
0
      _this->GetArenaForAllocation());
2568
0
  }
2569
0
  _impl_.fmt_.InitDefault();
2570
0
  if (from._internal_has_fmt()) {
2571
0
    _this->_impl_.fmt_.Set(from._internal_fmt(), 
2572
0
      _this->GetArenaForAllocation());
2573
0
  }
2574
0
  _impl_.highlight_.InitDefault();
2575
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2576
    _impl_.highlight_.Set("", GetArenaForAllocation());
2577
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2578
0
  if (from._internal_has_highlight()) {
2579
0
    _this->_impl_.highlight_.Set(from._internal_highlight(), 
2580
0
      _this->GetArenaForAllocation());
2581
0
  }
2582
0
  _impl_.useragent_full_.InitDefault();
2583
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2584
    _impl_.useragent_full_.Set("", GetArenaForAllocation());
2585
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2586
0
  if (from._internal_has_useragent_full()) {
2587
0
    _this->_impl_.useragent_full_.Set(from._internal_useragent_full(), 
2588
0
      _this->GetArenaForAllocation());
2589
0
  }
2590
0
  _impl_.uname_.InitDefault();
2591
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2592
    _impl_.uname_.Set("", GetArenaForAllocation());
2593
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2594
0
  if (from._internal_has_uname()) {
2595
0
    _this->_impl_.uname_.Set(from._internal_uname(), 
2596
0
      _this->GetArenaForAllocation());
2597
0
  }
2598
0
  _impl_.service_name_.InitDefault();
2599
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2600
    _impl_.service_name_.Set("", GetArenaForAllocation());
2601
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2602
0
  if (from._internal_has_service_name()) {
2603
0
    _this->_impl_.service_name_.Set(from._internal_service_name(), 
2604
0
      _this->GetArenaForAllocation());
2605
0
  }
2606
0
  _impl_.caller_.InitDefault();
2607
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2608
    _impl_.caller_.Set("", GetArenaForAllocation());
2609
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2610
0
  if (from._internal_has_caller()) {
2611
0
    _this->_impl_.caller_.Set(from._internal_caller(), 
2612
0
      _this->GetArenaForAllocation());
2613
0
  }
2614
0
  if (from._internal_has_uainfo()) {
2615
0
    _this->_impl_.uainfo_ = new ::gss::message::ua_info_t(*from._impl_.uainfo_);
2616
0
  }
2617
0
  if (from._internal_has_user_agent()) {
2618
0
    _this->_impl_.user_agent_ = new ::gss::message::UserAgent(*from._impl_.user_agent_);
2619
0
  }
2620
0
  ::memcpy(&_impl_.userip_, &from._impl_.userip_,
2621
0
    static_cast<size_t>(reinterpret_cast<char*>(&_impl_.resnum_) -
2622
0
    reinterpret_cast<char*>(&_impl_.userip_)) + sizeof(_impl_.resnum_));
2623
  // @@protoc_insertion_point(copy_constructor:gss.message.us_gss_req_t)
2624
0
}
2625
2626
inline void us_gss_req_t::SharedCtor(
2627
0
    ::_pb::Arena* arena, bool is_message_owned) {
2628
0
  (void)arena;
2629
0
  (void)is_message_owned;
2630
0
  new (&_impl_) Impl_{
2631
0
      decltype(_impl_._has_bits_){}
2632
0
    , /*decltype(_impl_._cached_size_)*/{}
2633
0
    , decltype(_impl_.sid_){arena}
2634
0
    , decltype(_impl_.srcarr_){arena}
2635
0
    , decltype(_impl_.appinfoarr_){arena}
2636
0
    , decltype(_impl_.originquery_){}
2637
0
    , decltype(_impl_.clientname_){}
2638
0
    , decltype(_impl_.templatename_){}
2639
0
    , decltype(_impl_.urlparapack_){}
2640
0
    , decltype(_impl_.gssqa_){}
2641
0
    , decltype(_impl_.cookie_){}
2642
0
    , decltype(_impl_.province_name_){}
2643
0
    , decltype(_impl_.city_name_){}
2644
0
    , decltype(_impl_.isp_name_){}
2645
0
    , decltype(_impl_.from_){}
2646
0
    , decltype(_impl_.fmt_){}
2647
0
    , decltype(_impl_.highlight_){}
2648
0
    , decltype(_impl_.useragent_full_){}
2649
0
    , decltype(_impl_.uname_){}
2650
0
    , decltype(_impl_.service_name_){}
2651
0
    , decltype(_impl_.caller_){}
2652
0
    , decltype(_impl_.uainfo_){nullptr}
2653
0
    , decltype(_impl_.user_agent_){nullptr}
2654
0
    , decltype(_impl_.userip_){0}
2655
0
    , decltype(_impl_.timingneed_){0}
2656
0
    , decltype(_impl_.queryid64_){uint64_t{0u}}
2657
0
    , decltype(_impl_.pagenum_){0}
2658
0
    , decltype(_impl_.ctpl_or_php_){0}
2659
0
    , decltype(_impl_.setype_){0}
2660
0
    , decltype(_impl_.srcnum_){0u}
2661
0
    , decltype(_impl_.resultlang_){int64_t{0}}
2662
0
    , decltype(_impl_.resultlocale_){int64_t{0}}
2663
0
    , decltype(_impl_.needhilightstr_){0}
2664
0
    , decltype(_impl_.uid_){0}
2665
0
    , decltype(_impl_.open_gssda_recall_){0}
2666
0
    , decltype(_impl_.prefetch_flag_){0}
2667
0
    , decltype(_impl_.resnum_){20}
2668
0
  };
2669
0
  _impl_.originquery_.InitDefault();
2670
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2671
    _impl_.originquery_.Set("", GetArenaForAllocation());
2672
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2673
0
  _impl_.clientname_.InitDefault();
2674
0
  _impl_.templatename_.InitDefault();
2675
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2676
    _impl_.templatename_.Set("", GetArenaForAllocation());
2677
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2678
0
  _impl_.urlparapack_.InitDefault();
2679
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2680
    _impl_.urlparapack_.Set("", GetArenaForAllocation());
2681
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2682
0
  _impl_.gssqa_.InitDefault();
2683
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2684
    _impl_.gssqa_.Set("", GetArenaForAllocation());
2685
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2686
0
  _impl_.cookie_.InitDefault();
2687
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2688
    _impl_.cookie_.Set("", GetArenaForAllocation());
2689
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2690
0
  _impl_.province_name_.InitDefault();
2691
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2692
    _impl_.province_name_.Set("", GetArenaForAllocation());
2693
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2694
0
  _impl_.city_name_.InitDefault();
2695
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2696
    _impl_.city_name_.Set("", GetArenaForAllocation());
2697
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2698
0
  _impl_.isp_name_.InitDefault();
2699
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2700
    _impl_.isp_name_.Set("", GetArenaForAllocation());
2701
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2702
0
  _impl_.from_.InitDefault();
2703
0
  _impl_.fmt_.InitDefault();
2704
0
  _impl_.highlight_.InitDefault();
2705
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2706
    _impl_.highlight_.Set("", GetArenaForAllocation());
2707
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2708
0
  _impl_.useragent_full_.InitDefault();
2709
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2710
    _impl_.useragent_full_.Set("", GetArenaForAllocation());
2711
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2712
0
  _impl_.uname_.InitDefault();
2713
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2714
    _impl_.uname_.Set("", GetArenaForAllocation());
2715
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2716
0
  _impl_.service_name_.InitDefault();
2717
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2718
    _impl_.service_name_.Set("", GetArenaForAllocation());
2719
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2720
0
  _impl_.caller_.InitDefault();
2721
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2722
    _impl_.caller_.Set("", GetArenaForAllocation());
2723
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2724
0
}
2725
2726
0
us_gss_req_t::~us_gss_req_t() {
2727
  // @@protoc_insertion_point(destructor:gss.message.us_gss_req_t)
2728
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2729
0
  (void)arena;
2730
0
    return;
2731
0
  }
2732
0
  SharedDtor();
2733
0
}
2734
2735
0
inline void us_gss_req_t::SharedDtor() {
2736
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2737
0
  _impl_.sid_.~RepeatedField();
2738
0
  _impl_.srcarr_.~RepeatedPtrField();
2739
0
  _impl_.appinfoarr_.~RepeatedPtrField();
2740
0
  _impl_.originquery_.Destroy();
2741
0
  _impl_.clientname_.Destroy();
2742
0
  _impl_.templatename_.Destroy();
2743
0
  _impl_.urlparapack_.Destroy();
2744
0
  _impl_.gssqa_.Destroy();
2745
0
  _impl_.cookie_.Destroy();
2746
0
  _impl_.province_name_.Destroy();
2747
0
  _impl_.city_name_.Destroy();
2748
0
  _impl_.isp_name_.Destroy();
2749
0
  _impl_.from_.Destroy();
2750
0
  _impl_.fmt_.Destroy();
2751
0
  _impl_.highlight_.Destroy();
2752
0
  _impl_.useragent_full_.Destroy();
2753
0
  _impl_.uname_.Destroy();
2754
0
  _impl_.service_name_.Destroy();
2755
0
  _impl_.caller_.Destroy();
2756
0
  if (this != internal_default_instance()) delete _impl_.uainfo_;
2757
0
  if (this != internal_default_instance()) delete _impl_.user_agent_;
2758
0
}
2759
2760
0
void us_gss_req_t::SetCachedSize(int size) const {
2761
0
  _impl_._cached_size_.Set(size);
2762
0
}
2763
2764
0
void us_gss_req_t::Clear() {
2765
// @@protoc_insertion_point(message_clear_start:gss.message.us_gss_req_t)
2766
0
  uint32_t cached_has_bits = 0;
2767
  // Prevent compiler warnings about cached_has_bits being unused
2768
0
  (void) cached_has_bits;
2769
2770
0
  _impl_.sid_.Clear();
2771
0
  _impl_.srcarr_.Clear();
2772
0
  _impl_.appinfoarr_.Clear();
2773
0
  cached_has_bits = _impl_._has_bits_[0];
2774
0
  if (cached_has_bits & 0x000000ffu) {
2775
0
    if (cached_has_bits & 0x00000001u) {
2776
0
      _impl_.originquery_.ClearNonDefaultToEmpty();
2777
0
    }
2778
0
    if (cached_has_bits & 0x00000002u) {
2779
0
      _impl_.clientname_.ClearToDefault(::gss::message::us_gss_req_t::Impl_::_i_give_permission_to_break_this_code_default_clientname_, GetArenaForAllocation());
2780
0
       }
2781
0
    if (cached_has_bits & 0x00000004u) {
2782
0
      _impl_.templatename_.ClearNonDefaultToEmpty();
2783
0
    }
2784
0
    if (cached_has_bits & 0x00000008u) {
2785
0
      _impl_.urlparapack_.ClearNonDefaultToEmpty();
2786
0
    }
2787
0
    if (cached_has_bits & 0x00000010u) {
2788
0
      _impl_.gssqa_.ClearNonDefaultToEmpty();
2789
0
    }
2790
0
    if (cached_has_bits & 0x00000020u) {
2791
0
      _impl_.cookie_.ClearNonDefaultToEmpty();
2792
0
    }
2793
0
    if (cached_has_bits & 0x00000040u) {
2794
0
      _impl_.province_name_.ClearNonDefaultToEmpty();
2795
0
    }
2796
0
    if (cached_has_bits & 0x00000080u) {
2797
0
      _impl_.city_name_.ClearNonDefaultToEmpty();
2798
0
    }
2799
0
  }
2800
0
  if (cached_has_bits & 0x0000ff00u) {
2801
0
    if (cached_has_bits & 0x00000100u) {
2802
0
      _impl_.isp_name_.ClearNonDefaultToEmpty();
2803
0
    }
2804
0
    if (cached_has_bits & 0x00000200u) {
2805
0
      _impl_.from_.ClearToDefault(::gss::message::us_gss_req_t::Impl_::_i_give_permission_to_break_this_code_default_from_, GetArenaForAllocation());
2806
0
       }
2807
0
    if (cached_has_bits & 0x00000400u) {
2808
0
      _impl_.fmt_.ClearToDefault(::gss::message::us_gss_req_t::Impl_::_i_give_permission_to_break_this_code_default_fmt_, GetArenaForAllocation());
2809
0
       }
2810
0
    if (cached_has_bits & 0x00000800u) {
2811
0
      _impl_.highlight_.ClearNonDefaultToEmpty();
2812
0
    }
2813
0
    if (cached_has_bits & 0x00001000u) {
2814
0
      _impl_.useragent_full_.ClearNonDefaultToEmpty();
2815
0
    }
2816
0
    if (cached_has_bits & 0x00002000u) {
2817
0
      _impl_.uname_.ClearNonDefaultToEmpty();
2818
0
    }
2819
0
    if (cached_has_bits & 0x00004000u) {
2820
0
      _impl_.service_name_.ClearNonDefaultToEmpty();
2821
0
    }
2822
0
    if (cached_has_bits & 0x00008000u) {
2823
0
      _impl_.caller_.ClearNonDefaultToEmpty();
2824
0
    }
2825
0
  }
2826
0
  if (cached_has_bits & 0x00030000u) {
2827
0
    if (cached_has_bits & 0x00010000u) {
2828
0
      GOOGLE_DCHECK(_impl_.uainfo_ != nullptr);
2829
0
      _impl_.uainfo_->Clear();
2830
0
    }
2831
0
    if (cached_has_bits & 0x00020000u) {
2832
0
      GOOGLE_DCHECK(_impl_.user_agent_ != nullptr);
2833
0
      _impl_.user_agent_->Clear();
2834
0
    }
2835
0
  }
2836
0
  if (cached_has_bits & 0x00fc0000u) {
2837
0
    ::memset(&_impl_.userip_, 0, static_cast<size_t>(
2838
0
        reinterpret_cast<char*>(&_impl_.setype_) -
2839
0
        reinterpret_cast<char*>(&_impl_.userip_)) + sizeof(_impl_.setype_));
2840
0
  }
2841
0
  if (cached_has_bits & 0xff000000u) {
2842
0
    ::memset(&_impl_.srcnum_, 0, static_cast<size_t>(
2843
0
        reinterpret_cast<char*>(&_impl_.prefetch_flag_) -
2844
0
        reinterpret_cast<char*>(&_impl_.srcnum_)) + sizeof(_impl_.prefetch_flag_));
2845
0
    _impl_.resnum_ = 20;
2846
0
  }
2847
0
  _impl_._has_bits_.Clear();
2848
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2849
0
}
2850
2851
0
const char* us_gss_req_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2852
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2853
0
  _Internal::HasBits has_bits{};
2854
0
  while (!ctx->Done(&ptr)) {
2855
0
    uint32_t tag;
2856
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
2857
0
    switch (tag >> 3) {
2858
      // required string OriginQuery = 1;
2859
0
      case 1:
2860
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
2861
0
          auto str = _internal_mutable_originquery();
2862
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2863
0
          CHK_(ptr);
2864
0
          #ifndef NDEBUG
2865
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.OriginQuery");
2866
0
          #endif  // !NDEBUG
2867
0
        } else
2868
0
          goto handle_unusual;
2869
0
        continue;
2870
      // required int32 UserIP = 2;
2871
0
      case 2:
2872
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
2873
0
          _Internal::set_has_userip(&has_bits);
2874
0
          _impl_.userip_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2875
0
          CHK_(ptr);
2876
0
        } else
2877
0
          goto handle_unusual;
2878
0
        continue;
2879
      // required int32 TimingNeed = 3;
2880
0
      case 3:
2881
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
2882
0
          _Internal::set_has_timingneed(&has_bits);
2883
0
          _impl_.timingneed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2884
0
          CHK_(ptr);
2885
0
        } else
2886
0
          goto handle_unusual;
2887
0
        continue;
2888
      // optional uint64 QueryID64 = 4 [default = 0];
2889
0
      case 4:
2890
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
2891
0
          _Internal::set_has_queryid64(&has_bits);
2892
0
          _impl_.queryid64_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2893
0
          CHK_(ptr);
2894
0
        } else
2895
0
          goto handle_unusual;
2896
0
        continue;
2897
      // optional string ClientName = 5 [default = "unknow"];
2898
0
      case 5:
2899
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
2900
0
          auto str = _internal_mutable_clientname();
2901
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2902
0
          CHK_(ptr);
2903
0
          #ifndef NDEBUG
2904
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.ClientName");
2905
0
          #endif  // !NDEBUG
2906
0
        } else
2907
0
          goto handle_unusual;
2908
0
        continue;
2909
      // optional int32 ResNum = 11 [default = 20];
2910
0
      case 11:
2911
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
2912
0
          _Internal::set_has_resnum(&has_bits);
2913
0
          _impl_.resnum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2914
0
          CHK_(ptr);
2915
0
        } else
2916
0
          goto handle_unusual;
2917
0
        continue;
2918
      // optional int32 PageNum = 12 [default = 0];
2919
0
      case 12:
2920
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 96)) {
2921
0
          _Internal::set_has_pagenum(&has_bits);
2922
0
          _impl_.pagenum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2923
0
          CHK_(ptr);
2924
0
        } else
2925
0
          goto handle_unusual;
2926
0
        continue;
2927
      // optional int32 ctpl_or_php = 13 [default = 0];
2928
0
      case 13:
2929
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 104)) {
2930
0
          _Internal::set_has_ctpl_or_php(&has_bits);
2931
0
          _impl_.ctpl_or_php_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2932
0
          CHK_(ptr);
2933
0
        } else
2934
0
          goto handle_unusual;
2935
0
        continue;
2936
      // optional int32 SeType = 14 [default = 0];
2937
0
      case 14:
2938
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 112)) {
2939
0
          _Internal::set_has_setype(&has_bits);
2940
0
          _impl_.setype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
2941
0
          CHK_(ptr);
2942
0
        } else
2943
0
          goto handle_unusual;
2944
0
        continue;
2945
      // required string TemplateName = 15;
2946
0
      case 15:
2947
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 122)) {
2948
0
          auto str = _internal_mutable_templatename();
2949
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2950
0
          CHK_(ptr);
2951
0
          #ifndef NDEBUG
2952
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.TemplateName");
2953
0
          #endif  // !NDEBUG
2954
0
        } else
2955
0
          goto handle_unusual;
2956
0
        continue;
2957
      // repeated int32 sid = 16;
2958
0
      case 16:
2959
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 128)) {
2960
0
          ptr -= 2;
2961
0
          do {
2962
0
            ptr += 2;
2963
0
            _internal_add_sid(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr));
2964
0
            CHK_(ptr);
2965
0
            if (!ctx->DataAvailable(ptr)) break;
2966
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<128>(ptr));
2967
0
        } else if (static_cast<uint8_t>(tag) == 130) {
2968
0
          ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt32Parser(_internal_mutable_sid(), ptr, ctx);
2969
0
          CHK_(ptr);
2970
0
        } else
2971
0
          goto handle_unusual;
2972
0
        continue;
2973
      // optional bytes UrlParaPack = 17;
2974
0
      case 17:
2975
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
2976
0
          auto str = _internal_mutable_urlparapack();
2977
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2978
0
          CHK_(ptr);
2979
0
        } else
2980
0
          goto handle_unusual;
2981
0
        continue;
2982
      // optional bytes gssqa = 18;
2983
0
      case 18:
2984
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 146)) {
2985
0
          auto str = _internal_mutable_gssqa();
2986
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2987
0
          CHK_(ptr);
2988
0
        } else
2989
0
          goto handle_unusual;
2990
0
        continue;
2991
      // optional string Cookie = 19;
2992
0
      case 19:
2993
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 154)) {
2994
0
          auto str = _internal_mutable_cookie();
2995
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
2996
0
          CHK_(ptr);
2997
0
          #ifndef NDEBUG
2998
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.Cookie");
2999
0
          #endif  // !NDEBUG
3000
0
        } else
3001
0
          goto handle_unusual;
3002
0
        continue;
3003
      // optional string province_name = 31;
3004
0
      case 31:
3005
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 250)) {
3006
0
          auto str = _internal_mutable_province_name();
3007
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3008
0
          CHK_(ptr);
3009
0
          #ifndef NDEBUG
3010
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.province_name");
3011
0
          #endif  // !NDEBUG
3012
0
        } else
3013
0
          goto handle_unusual;
3014
0
        continue;
3015
      // optional string city_name = 32;
3016
0
      case 32:
3017
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 2)) {
3018
0
          auto str = _internal_mutable_city_name();
3019
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3020
0
          CHK_(ptr);
3021
0
          #ifndef NDEBUG
3022
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.city_name");
3023
0
          #endif  // !NDEBUG
3024
0
        } else
3025
0
          goto handle_unusual;
3026
0
        continue;
3027
      // optional string isp_name = 33;
3028
0
      case 33:
3029
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
3030
0
          auto str = _internal_mutable_isp_name();
3031
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3032
0
          CHK_(ptr);
3033
0
          #ifndef NDEBUG
3034
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.isp_name");
3035
0
          #endif  // !NDEBUG
3036
0
        } else
3037
0
          goto handle_unusual;
3038
0
        continue;
3039
      // required uint32 SrcNum = 34;
3040
0
      case 34:
3041
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
3042
0
          _Internal::set_has_srcnum(&has_bits);
3043
0
          _impl_.srcnum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3044
0
          CHK_(ptr);
3045
0
        } else
3046
0
          goto handle_unusual;
3047
0
        continue;
3048
      // optional string From = 35 [default = "www"];
3049
0
      case 35:
3050
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
3051
0
          auto str = _internal_mutable_from();
3052
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3053
0
          CHK_(ptr);
3054
0
          #ifndef NDEBUG
3055
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.From");
3056
0
          #endif  // !NDEBUG
3057
0
        } else
3058
0
          goto handle_unusual;
3059
0
        continue;
3060
      // optional string Fmt = 36 [default = "html"];
3061
0
      case 36:
3062
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
3063
0
          auto str = _internal_mutable_fmt();
3064
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3065
0
          CHK_(ptr);
3066
0
          #ifndef NDEBUG
3067
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.Fmt");
3068
0
          #endif  // !NDEBUG
3069
0
        } else
3070
0
          goto handle_unusual;
3071
0
        continue;
3072
      // optional bytes HighLight = 37;
3073
0
      case 37:
3074
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
3075
0
          auto str = _internal_mutable_highlight();
3076
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3077
0
          CHK_(ptr);
3078
0
        } else
3079
0
          goto handle_unusual;
3080
0
        continue;
3081
      // optional int32 NeedHilightStr = 38 [default = 0];
3082
0
      case 38:
3083
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
3084
0
          _Internal::set_has_needhilightstr(&has_bits);
3085
0
          _impl_.needhilightstr_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3086
0
          CHK_(ptr);
3087
0
        } else
3088
0
          goto handle_unusual;
3089
0
        continue;
3090
      // repeated .gss.message.gss_src_req_t SrcArr = 39;
3091
0
      case 39:
3092
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
3093
0
          ptr -= 2;
3094
0
          do {
3095
0
            ptr += 2;
3096
0
            ptr = ctx->ParseMessage(_internal_add_srcarr(), ptr);
3097
0
            CHK_(ptr);
3098
0
            if (!ctx->DataAvailable(ptr)) break;
3099
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<314>(ptr));
3100
0
        } else
3101
0
          goto handle_unusual;
3102
0
        continue;
3103
      // optional int64 resultLang = 40;
3104
0
      case 40:
3105
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 64)) {
3106
0
          _Internal::set_has_resultlang(&has_bits);
3107
0
          _impl_.resultlang_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3108
0
          CHK_(ptr);
3109
0
        } else
3110
0
          goto handle_unusual;
3111
0
        continue;
3112
      // optional int64 resultLocale = 41;
3113
0
      case 41:
3114
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
3115
0
          _Internal::set_has_resultlocale(&has_bits);
3116
0
          _impl_.resultlocale_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3117
0
          CHK_(ptr);
3118
0
        } else
3119
0
          goto handle_unusual;
3120
0
        continue;
3121
      // repeated .gss.message.app_info_t AppInfoArr = 42;
3122
0
      case 42:
3123
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
3124
0
          ptr -= 2;
3125
0
          do {
3126
0
            ptr += 2;
3127
0
            ptr = ctx->ParseMessage(_internal_add_appinfoarr(), ptr);
3128
0
            CHK_(ptr);
3129
0
            if (!ctx->DataAvailable(ptr)) break;
3130
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<338>(ptr));
3131
0
        } else
3132
0
          goto handle_unusual;
3133
0
        continue;
3134
      // optional .gss.message.ua_info_t uaInfo = 43;
3135
0
      case 43:
3136
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) {
3137
0
          ptr = ctx->ParseMessage(_internal_mutable_uainfo(), ptr);
3138
0
          CHK_(ptr);
3139
0
        } else
3140
0
          goto handle_unusual;
3141
0
        continue;
3142
      // optional string useragent_full = 44;
3143
0
      case 44:
3144
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 98)) {
3145
0
          auto str = _internal_mutable_useragent_full();
3146
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3147
0
          CHK_(ptr);
3148
0
          #ifndef NDEBUG
3149
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.useragent_full");
3150
0
          #endif  // !NDEBUG
3151
0
        } else
3152
0
          goto handle_unusual;
3153
0
        continue;
3154
      // optional int32 uid = 45;
3155
0
      case 45:
3156
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 104)) {
3157
0
          _Internal::set_has_uid(&has_bits);
3158
0
          _impl_.uid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3159
0
          CHK_(ptr);
3160
0
        } else
3161
0
          goto handle_unusual;
3162
0
        continue;
3163
      // optional string uname = 46;
3164
0
      case 46:
3165
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 114)) {
3166
0
          auto str = _internal_mutable_uname();
3167
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3168
0
          CHK_(ptr);
3169
0
          #ifndef NDEBUG
3170
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.uname");
3171
0
          #endif  // !NDEBUG
3172
0
        } else
3173
0
          goto handle_unusual;
3174
0
        continue;
3175
      // optional int32 open_gssda_recall = 47;
3176
0
      case 47:
3177
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 120)) {
3178
0
          _Internal::set_has_open_gssda_recall(&has_bits);
3179
0
          _impl_.open_gssda_recall_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3180
0
          CHK_(ptr);
3181
0
        } else
3182
0
          goto handle_unusual;
3183
0
        continue;
3184
      // optional int32 prefetch_flag = 48;
3185
0
      case 48:
3186
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 128)) {
3187
0
          _Internal::set_has_prefetch_flag(&has_bits);
3188
0
          _impl_.prefetch_flag_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3189
0
          CHK_(ptr);
3190
0
        } else
3191
0
          goto handle_unusual;
3192
0
        continue;
3193
      // optional string service_name = 71;
3194
0
      case 71:
3195
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
3196
0
          auto str = _internal_mutable_service_name();
3197
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3198
0
          CHK_(ptr);
3199
0
          #ifndef NDEBUG
3200
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.service_name");
3201
0
          #endif  // !NDEBUG
3202
0
        } else
3203
0
          goto handle_unusual;
3204
0
        continue;
3205
      // optional string caller = 72;
3206
0
      case 72:
3207
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
3208
0
          auto str = _internal_mutable_caller();
3209
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
3210
0
          CHK_(ptr);
3211
0
          #ifndef NDEBUG
3212
0
          ::_pbi::VerifyUTF8(str, "gss.message.us_gss_req_t.caller");
3213
0
          #endif  // !NDEBUG
3214
0
        } else
3215
0
          goto handle_unusual;
3216
0
        continue;
3217
      // optional .gss.message.UserAgent user_agent = 73;
3218
0
      case 73:
3219
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
3220
0
          ptr = ctx->ParseMessage(_internal_mutable_user_agent(), ptr);
3221
0
          CHK_(ptr);
3222
0
        } else
3223
0
          goto handle_unusual;
3224
0
        continue;
3225
0
      default:
3226
0
        goto handle_unusual;
3227
0
    }  // switch
3228
0
  handle_unusual:
3229
0
    if ((tag == 0) || ((tag & 7) == 4)) {
3230
0
      CHK_(ptr);
3231
0
      ctx->SetLastTag(tag);
3232
0
      goto message_done;
3233
0
    }
3234
0
    ptr = UnknownFieldParse(
3235
0
        tag,
3236
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
3237
0
        ptr, ctx);
3238
0
    CHK_(ptr != nullptr);
3239
0
  }  // while
3240
0
message_done:
3241
0
  _impl_._has_bits_.Or(has_bits);
3242
0
  return ptr;
3243
0
failure:
3244
0
  ptr = nullptr;
3245
0
  goto message_done;
3246
0
#undef CHK_
3247
0
}
3248
3249
uint8_t* us_gss_req_t::_InternalSerialize(
3250
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3251
  // @@protoc_insertion_point(serialize_to_array_start:gss.message.us_gss_req_t)
3252
0
  uint32_t cached_has_bits = 0;
3253
0
  (void) cached_has_bits;
3254
3255
0
  cached_has_bits = _impl_._has_bits_[0];
3256
  // required string OriginQuery = 1;
3257
0
  if (cached_has_bits & 0x00000001u) {
3258
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3259
0
      this->_internal_originquery().data(), static_cast<int>(this->_internal_originquery().length()),
3260
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3261
0
      "gss.message.us_gss_req_t.OriginQuery");
3262
0
    target = stream->WriteStringMaybeAliased(
3263
0
        1, this->_internal_originquery(), target);
3264
0
  }
3265
3266
  // required int32 UserIP = 2;
3267
0
  if (cached_has_bits & 0x00040000u) {
3268
0
    target = stream->EnsureSpace(target);
3269
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_userip(), target);
3270
0
  }
3271
3272
  // required int32 TimingNeed = 3;
3273
0
  if (cached_has_bits & 0x00080000u) {
3274
0
    target = stream->EnsureSpace(target);
3275
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_timingneed(), target);
3276
0
  }
3277
3278
  // optional uint64 QueryID64 = 4 [default = 0];
3279
0
  if (cached_has_bits & 0x00100000u) {
3280
0
    target = stream->EnsureSpace(target);
3281
0
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_queryid64(), target);
3282
0
  }
3283
3284
  // optional string ClientName = 5 [default = "unknow"];
3285
0
  if (cached_has_bits & 0x00000002u) {
3286
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3287
0
      this->_internal_clientname().data(), static_cast<int>(this->_internal_clientname().length()),
3288
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3289
0
      "gss.message.us_gss_req_t.ClientName");
3290
0
    target = stream->WriteStringMaybeAliased(
3291
0
        5, this->_internal_clientname(), target);
3292
0
  }
3293
3294
  // optional int32 ResNum = 11 [default = 20];
3295
0
  if (cached_has_bits & 0x80000000u) {
3296
0
    target = stream->EnsureSpace(target);
3297
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_resnum(), target);
3298
0
  }
3299
3300
  // optional int32 PageNum = 12 [default = 0];
3301
0
  if (cached_has_bits & 0x00200000u) {
3302
0
    target = stream->EnsureSpace(target);
3303
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_pagenum(), target);
3304
0
  }
3305
3306
  // optional int32 ctpl_or_php = 13 [default = 0];
3307
0
  if (cached_has_bits & 0x00400000u) {
3308
0
    target = stream->EnsureSpace(target);
3309
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(13, this->_internal_ctpl_or_php(), target);
3310
0
  }
3311
3312
  // optional int32 SeType = 14 [default = 0];
3313
0
  if (cached_has_bits & 0x00800000u) {
3314
0
    target = stream->EnsureSpace(target);
3315
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(14, this->_internal_setype(), target);
3316
0
  }
3317
3318
  // required string TemplateName = 15;
3319
0
  if (cached_has_bits & 0x00000004u) {
3320
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3321
0
      this->_internal_templatename().data(), static_cast<int>(this->_internal_templatename().length()),
3322
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3323
0
      "gss.message.us_gss_req_t.TemplateName");
3324
0
    target = stream->WriteStringMaybeAliased(
3325
0
        15, this->_internal_templatename(), target);
3326
0
  }
3327
3328
  // repeated int32 sid = 16;
3329
0
  for (int i = 0, n = this->_internal_sid_size(); i < n; i++) {
3330
0
    target = stream->EnsureSpace(target);
3331
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(16, this->_internal_sid(i), target);
3332
0
  }
3333
3334
  // optional bytes UrlParaPack = 17;
3335
0
  if (cached_has_bits & 0x00000008u) {
3336
0
    target = stream->WriteBytesMaybeAliased(
3337
0
        17, this->_internal_urlparapack(), target);
3338
0
  }
3339
3340
  // optional bytes gssqa = 18;
3341
0
  if (cached_has_bits & 0x00000010u) {
3342
0
    target = stream->WriteBytesMaybeAliased(
3343
0
        18, this->_internal_gssqa(), target);
3344
0
  }
3345
3346
  // optional string Cookie = 19;
3347
0
  if (cached_has_bits & 0x00000020u) {
3348
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3349
0
      this->_internal_cookie().data(), static_cast<int>(this->_internal_cookie().length()),
3350
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3351
0
      "gss.message.us_gss_req_t.Cookie");
3352
0
    target = stream->WriteStringMaybeAliased(
3353
0
        19, this->_internal_cookie(), target);
3354
0
  }
3355
3356
  // optional string province_name = 31;
3357
0
  if (cached_has_bits & 0x00000040u) {
3358
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3359
0
      this->_internal_province_name().data(), static_cast<int>(this->_internal_province_name().length()),
3360
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3361
0
      "gss.message.us_gss_req_t.province_name");
3362
0
    target = stream->WriteStringMaybeAliased(
3363
0
        31, this->_internal_province_name(), target);
3364
0
  }
3365
3366
  // optional string city_name = 32;
3367
0
  if (cached_has_bits & 0x00000080u) {
3368
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3369
0
      this->_internal_city_name().data(), static_cast<int>(this->_internal_city_name().length()),
3370
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3371
0
      "gss.message.us_gss_req_t.city_name");
3372
0
    target = stream->WriteStringMaybeAliased(
3373
0
        32, this->_internal_city_name(), target);
3374
0
  }
3375
3376
  // optional string isp_name = 33;
3377
0
  if (cached_has_bits & 0x00000100u) {
3378
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3379
0
      this->_internal_isp_name().data(), static_cast<int>(this->_internal_isp_name().length()),
3380
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3381
0
      "gss.message.us_gss_req_t.isp_name");
3382
0
    target = stream->WriteStringMaybeAliased(
3383
0
        33, this->_internal_isp_name(), target);
3384
0
  }
3385
3386
  // required uint32 SrcNum = 34;
3387
0
  if (cached_has_bits & 0x01000000u) {
3388
0
    target = stream->EnsureSpace(target);
3389
0
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(34, this->_internal_srcnum(), target);
3390
0
  }
3391
3392
  // optional string From = 35 [default = "www"];
3393
0
  if (cached_has_bits & 0x00000200u) {
3394
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3395
0
      this->_internal_from().data(), static_cast<int>(this->_internal_from().length()),
3396
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3397
0
      "gss.message.us_gss_req_t.From");
3398
0
    target = stream->WriteStringMaybeAliased(
3399
0
        35, this->_internal_from(), target);
3400
0
  }
3401
3402
  // optional string Fmt = 36 [default = "html"];
3403
0
  if (cached_has_bits & 0x00000400u) {
3404
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3405
0
      this->_internal_fmt().data(), static_cast<int>(this->_internal_fmt().length()),
3406
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3407
0
      "gss.message.us_gss_req_t.Fmt");
3408
0
    target = stream->WriteStringMaybeAliased(
3409
0
        36, this->_internal_fmt(), target);
3410
0
  }
3411
3412
  // optional bytes HighLight = 37;
3413
0
  if (cached_has_bits & 0x00000800u) {
3414
0
    target = stream->WriteBytesMaybeAliased(
3415
0
        37, this->_internal_highlight(), target);
3416
0
  }
3417
3418
  // optional int32 NeedHilightStr = 38 [default = 0];
3419
0
  if (cached_has_bits & 0x08000000u) {
3420
0
    target = stream->EnsureSpace(target);
3421
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(38, this->_internal_needhilightstr(), target);
3422
0
  }
3423
3424
  // repeated .gss.message.gss_src_req_t SrcArr = 39;
3425
0
  for (unsigned i = 0,
3426
0
      n = static_cast<unsigned>(this->_internal_srcarr_size()); i < n; i++) {
3427
0
    const auto& repfield = this->_internal_srcarr(i);
3428
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3429
0
        InternalWriteMessage(39, repfield, repfield.GetCachedSize(), target, stream);
3430
0
  }
3431
3432
  // optional int64 resultLang = 40;
3433
0
  if (cached_has_bits & 0x02000000u) {
3434
0
    target = stream->EnsureSpace(target);
3435
0
    target = ::_pbi::WireFormatLite::WriteInt64ToArray(40, this->_internal_resultlang(), target);
3436
0
  }
3437
3438
  // optional int64 resultLocale = 41;
3439
0
  if (cached_has_bits & 0x04000000u) {
3440
0
    target = stream->EnsureSpace(target);
3441
0
    target = ::_pbi::WireFormatLite::WriteInt64ToArray(41, this->_internal_resultlocale(), target);
3442
0
  }
3443
3444
  // repeated .gss.message.app_info_t AppInfoArr = 42;
3445
0
  for (unsigned i = 0,
3446
0
      n = static_cast<unsigned>(this->_internal_appinfoarr_size()); i < n; i++) {
3447
0
    const auto& repfield = this->_internal_appinfoarr(i);
3448
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3449
0
        InternalWriteMessage(42, repfield, repfield.GetCachedSize(), target, stream);
3450
0
  }
3451
3452
  // optional .gss.message.ua_info_t uaInfo = 43;
3453
0
  if (cached_has_bits & 0x00010000u) {
3454
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3455
0
      InternalWriteMessage(43, _Internal::uainfo(this),
3456
0
        _Internal::uainfo(this).GetCachedSize(), target, stream);
3457
0
  }
3458
3459
  // optional string useragent_full = 44;
3460
0
  if (cached_has_bits & 0x00001000u) {
3461
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3462
0
      this->_internal_useragent_full().data(), static_cast<int>(this->_internal_useragent_full().length()),
3463
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3464
0
      "gss.message.us_gss_req_t.useragent_full");
3465
0
    target = stream->WriteStringMaybeAliased(
3466
0
        44, this->_internal_useragent_full(), target);
3467
0
  }
3468
3469
  // optional int32 uid = 45;
3470
0
  if (cached_has_bits & 0x10000000u) {
3471
0
    target = stream->EnsureSpace(target);
3472
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(45, this->_internal_uid(), target);
3473
0
  }
3474
3475
  // optional string uname = 46;
3476
0
  if (cached_has_bits & 0x00002000u) {
3477
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3478
0
      this->_internal_uname().data(), static_cast<int>(this->_internal_uname().length()),
3479
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3480
0
      "gss.message.us_gss_req_t.uname");
3481
0
    target = stream->WriteStringMaybeAliased(
3482
0
        46, this->_internal_uname(), target);
3483
0
  }
3484
3485
  // optional int32 open_gssda_recall = 47;
3486
0
  if (cached_has_bits & 0x20000000u) {
3487
0
    target = stream->EnsureSpace(target);
3488
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(47, this->_internal_open_gssda_recall(), target);
3489
0
  }
3490
3491
  // optional int32 prefetch_flag = 48;
3492
0
  if (cached_has_bits & 0x40000000u) {
3493
0
    target = stream->EnsureSpace(target);
3494
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(48, this->_internal_prefetch_flag(), target);
3495
0
  }
3496
3497
  // optional string service_name = 71;
3498
0
  if (cached_has_bits & 0x00004000u) {
3499
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3500
0
      this->_internal_service_name().data(), static_cast<int>(this->_internal_service_name().length()),
3501
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3502
0
      "gss.message.us_gss_req_t.service_name");
3503
0
    target = stream->WriteStringMaybeAliased(
3504
0
        71, this->_internal_service_name(), target);
3505
0
  }
3506
3507
  // optional string caller = 72;
3508
0
  if (cached_has_bits & 0x00008000u) {
3509
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
3510
0
      this->_internal_caller().data(), static_cast<int>(this->_internal_caller().length()),
3511
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
3512
0
      "gss.message.us_gss_req_t.caller");
3513
0
    target = stream->WriteStringMaybeAliased(
3514
0
        72, this->_internal_caller(), target);
3515
0
  }
3516
3517
  // optional .gss.message.UserAgent user_agent = 73;
3518
0
  if (cached_has_bits & 0x00020000u) {
3519
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3520
0
      InternalWriteMessage(73, _Internal::user_agent(this),
3521
0
        _Internal::user_agent(this).GetCachedSize(), target, stream);
3522
0
  }
3523
3524
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3525
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3526
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
3527
0
  }
3528
  // @@protoc_insertion_point(serialize_to_array_end:gss.message.us_gss_req_t)
3529
0
  return target;
3530
0
}
3531
3532
0
size_t us_gss_req_t::RequiredFieldsByteSizeFallback() const {
3533
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:gss.message.us_gss_req_t)
3534
0
  size_t total_size = 0;
3535
3536
0
  if (_internal_has_originquery()) {
3537
    // required string OriginQuery = 1;
3538
0
    total_size += 1 +
3539
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3540
0
        this->_internal_originquery());
3541
0
  }
3542
3543
0
  if (_internal_has_templatename()) {
3544
    // required string TemplateName = 15;
3545
0
    total_size += 1 +
3546
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3547
0
        this->_internal_templatename());
3548
0
  }
3549
3550
0
  if (_internal_has_userip()) {
3551
    // required int32 UserIP = 2;
3552
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_userip());
3553
0
  }
3554
3555
0
  if (_internal_has_timingneed()) {
3556
    // required int32 TimingNeed = 3;
3557
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_timingneed());
3558
0
  }
3559
3560
0
  if (_internal_has_srcnum()) {
3561
    // required uint32 SrcNum = 34;
3562
0
    total_size += 2 +
3563
0
      ::_pbi::WireFormatLite::UInt32Size(
3564
0
        this->_internal_srcnum());
3565
0
  }
3566
3567
0
  return total_size;
3568
0
}
3569
0
size_t us_gss_req_t::ByteSizeLong() const {
3570
// @@protoc_insertion_point(message_byte_size_start:gss.message.us_gss_req_t)
3571
0
  size_t total_size = 0;
3572
3573
0
  if (((_impl_._has_bits_[0] & 0x010c0005) ^ 0x010c0005) == 0) {  // All required fields are present.
3574
    // required string OriginQuery = 1;
3575
0
    total_size += 1 +
3576
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3577
0
        this->_internal_originquery());
3578
3579
    // required string TemplateName = 15;
3580
0
    total_size += 1 +
3581
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3582
0
        this->_internal_templatename());
3583
3584
    // required int32 UserIP = 2;
3585
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_userip());
3586
3587
    // required int32 TimingNeed = 3;
3588
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_timingneed());
3589
3590
    // required uint32 SrcNum = 34;
3591
0
    total_size += 2 +
3592
0
      ::_pbi::WireFormatLite::UInt32Size(
3593
0
        this->_internal_srcnum());
3594
3595
0
  } else {
3596
0
    total_size += RequiredFieldsByteSizeFallback();
3597
0
  }
3598
0
  uint32_t cached_has_bits = 0;
3599
  // Prevent compiler warnings about cached_has_bits being unused
3600
0
  (void) cached_has_bits;
3601
3602
  // repeated int32 sid = 16;
3603
0
  {
3604
0
    size_t data_size = ::_pbi::WireFormatLite::
3605
0
      Int32Size(this->_impl_.sid_);
3606
0
    total_size += 2 *
3607
0
                  ::_pbi::FromIntSize(this->_internal_sid_size());
3608
0
    total_size += data_size;
3609
0
  }
3610
3611
  // repeated .gss.message.gss_src_req_t SrcArr = 39;
3612
0
  total_size += 2UL * this->_internal_srcarr_size();
3613
0
  for (const auto& msg : this->_impl_.srcarr_) {
3614
0
    total_size +=
3615
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3616
0
  }
3617
3618
  // repeated .gss.message.app_info_t AppInfoArr = 42;
3619
0
  total_size += 2UL * this->_internal_appinfoarr_size();
3620
0
  for (const auto& msg : this->_impl_.appinfoarr_) {
3621
0
    total_size +=
3622
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
3623
0
  }
3624
3625
  // optional string ClientName = 5 [default = "unknow"];
3626
0
  cached_has_bits = _impl_._has_bits_[0];
3627
0
  if (cached_has_bits & 0x00000002u) {
3628
0
    total_size += 1 +
3629
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3630
0
        this->_internal_clientname());
3631
0
  }
3632
3633
0
  if (cached_has_bits & 0x000000f8u) {
3634
    // optional bytes UrlParaPack = 17;
3635
0
    if (cached_has_bits & 0x00000008u) {
3636
0
      total_size += 2 +
3637
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
3638
0
          this->_internal_urlparapack());
3639
0
    }
3640
3641
    // optional bytes gssqa = 18;
3642
0
    if (cached_has_bits & 0x00000010u) {
3643
0
      total_size += 2 +
3644
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
3645
0
          this->_internal_gssqa());
3646
0
    }
3647
3648
    // optional string Cookie = 19;
3649
0
    if (cached_has_bits & 0x00000020u) {
3650
0
      total_size += 2 +
3651
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3652
0
          this->_internal_cookie());
3653
0
    }
3654
3655
    // optional string province_name = 31;
3656
0
    if (cached_has_bits & 0x00000040u) {
3657
0
      total_size += 2 +
3658
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3659
0
          this->_internal_province_name());
3660
0
    }
3661
3662
    // optional string city_name = 32;
3663
0
    if (cached_has_bits & 0x00000080u) {
3664
0
      total_size += 2 +
3665
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3666
0
          this->_internal_city_name());
3667
0
    }
3668
3669
0
  }
3670
0
  if (cached_has_bits & 0x0000ff00u) {
3671
    // optional string isp_name = 33;
3672
0
    if (cached_has_bits & 0x00000100u) {
3673
0
      total_size += 2 +
3674
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3675
0
          this->_internal_isp_name());
3676
0
    }
3677
3678
    // optional string From = 35 [default = "www"];
3679
0
    if (cached_has_bits & 0x00000200u) {
3680
0
      total_size += 2 +
3681
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3682
0
          this->_internal_from());
3683
0
    }
3684
3685
    // optional string Fmt = 36 [default = "html"];
3686
0
    if (cached_has_bits & 0x00000400u) {
3687
0
      total_size += 2 +
3688
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3689
0
          this->_internal_fmt());
3690
0
    }
3691
3692
    // optional bytes HighLight = 37;
3693
0
    if (cached_has_bits & 0x00000800u) {
3694
0
      total_size += 2 +
3695
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
3696
0
          this->_internal_highlight());
3697
0
    }
3698
3699
    // optional string useragent_full = 44;
3700
0
    if (cached_has_bits & 0x00001000u) {
3701
0
      total_size += 2 +
3702
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3703
0
          this->_internal_useragent_full());
3704
0
    }
3705
3706
    // optional string uname = 46;
3707
0
    if (cached_has_bits & 0x00002000u) {
3708
0
      total_size += 2 +
3709
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3710
0
          this->_internal_uname());
3711
0
    }
3712
3713
    // optional string service_name = 71;
3714
0
    if (cached_has_bits & 0x00004000u) {
3715
0
      total_size += 2 +
3716
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3717
0
          this->_internal_service_name());
3718
0
    }
3719
3720
    // optional string caller = 72;
3721
0
    if (cached_has_bits & 0x00008000u) {
3722
0
      total_size += 2 +
3723
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
3724
0
          this->_internal_caller());
3725
0
    }
3726
3727
0
  }
3728
0
  if (cached_has_bits & 0x00030000u) {
3729
    // optional .gss.message.ua_info_t uaInfo = 43;
3730
0
    if (cached_has_bits & 0x00010000u) {
3731
0
      total_size += 2 +
3732
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3733
0
          *_impl_.uainfo_);
3734
0
    }
3735
3736
    // optional .gss.message.UserAgent user_agent = 73;
3737
0
    if (cached_has_bits & 0x00020000u) {
3738
0
      total_size += 2 +
3739
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3740
0
          *_impl_.user_agent_);
3741
0
    }
3742
3743
0
  }
3744
0
  if (cached_has_bits & 0x00f00000u) {
3745
    // optional uint64 QueryID64 = 4 [default = 0];
3746
0
    if (cached_has_bits & 0x00100000u) {
3747
0
      total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_queryid64());
3748
0
    }
3749
3750
    // optional int32 PageNum = 12 [default = 0];
3751
0
    if (cached_has_bits & 0x00200000u) {
3752
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_pagenum());
3753
0
    }
3754
3755
    // optional int32 ctpl_or_php = 13 [default = 0];
3756
0
    if (cached_has_bits & 0x00400000u) {
3757
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_ctpl_or_php());
3758
0
    }
3759
3760
    // optional int32 SeType = 14 [default = 0];
3761
0
    if (cached_has_bits & 0x00800000u) {
3762
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_setype());
3763
0
    }
3764
3765
0
  }
3766
0
  if (cached_has_bits & 0xfe000000u) {
3767
    // optional int64 resultLang = 40;
3768
0
    if (cached_has_bits & 0x02000000u) {
3769
0
      total_size += 2 +
3770
0
        ::_pbi::WireFormatLite::Int64Size(
3771
0
          this->_internal_resultlang());
3772
0
    }
3773
3774
    // optional int64 resultLocale = 41;
3775
0
    if (cached_has_bits & 0x04000000u) {
3776
0
      total_size += 2 +
3777
0
        ::_pbi::WireFormatLite::Int64Size(
3778
0
          this->_internal_resultlocale());
3779
0
    }
3780
3781
    // optional int32 NeedHilightStr = 38 [default = 0];
3782
0
    if (cached_has_bits & 0x08000000u) {
3783
0
      total_size += 2 +
3784
0
        ::_pbi::WireFormatLite::Int32Size(
3785
0
          this->_internal_needhilightstr());
3786
0
    }
3787
3788
    // optional int32 uid = 45;
3789
0
    if (cached_has_bits & 0x10000000u) {
3790
0
      total_size += 2 +
3791
0
        ::_pbi::WireFormatLite::Int32Size(
3792
0
          this->_internal_uid());
3793
0
    }
3794
3795
    // optional int32 open_gssda_recall = 47;
3796
0
    if (cached_has_bits & 0x20000000u) {
3797
0
      total_size += 2 +
3798
0
        ::_pbi::WireFormatLite::Int32Size(
3799
0
          this->_internal_open_gssda_recall());
3800
0
    }
3801
3802
    // optional int32 prefetch_flag = 48;
3803
0
    if (cached_has_bits & 0x40000000u) {
3804
0
      total_size += 2 +
3805
0
        ::_pbi::WireFormatLite::Int32Size(
3806
0
          this->_internal_prefetch_flag());
3807
0
    }
3808
3809
    // optional int32 ResNum = 11 [default = 20];
3810
0
    if (cached_has_bits & 0x80000000u) {
3811
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_resnum());
3812
0
    }
3813
3814
0
  }
3815
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3816
0
}
3817
3818
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData us_gss_req_t::_class_data_ = {
3819
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
3820
    us_gss_req_t::MergeImpl
3821
};
3822
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*us_gss_req_t::GetClassData() const { return &_class_data_; }
3823
3824
3825
0
void us_gss_req_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
3826
0
  auto* const _this = static_cast<us_gss_req_t*>(&to_msg);
3827
0
  auto& from = static_cast<const us_gss_req_t&>(from_msg);
3828
  // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.us_gss_req_t)
3829
0
  GOOGLE_DCHECK_NE(&from, _this);
3830
0
  uint32_t cached_has_bits = 0;
3831
0
  (void) cached_has_bits;
3832
3833
0
  _this->_impl_.sid_.MergeFrom(from._impl_.sid_);
3834
0
  _this->_impl_.srcarr_.MergeFrom(from._impl_.srcarr_);
3835
0
  _this->_impl_.appinfoarr_.MergeFrom(from._impl_.appinfoarr_);
3836
0
  cached_has_bits = from._impl_._has_bits_[0];
3837
0
  if (cached_has_bits & 0x000000ffu) {
3838
0
    if (cached_has_bits & 0x00000001u) {
3839
0
      _this->_internal_set_originquery(from._internal_originquery());
3840
0
    }
3841
0
    if (cached_has_bits & 0x00000002u) {
3842
0
      _this->_internal_set_clientname(from._internal_clientname());
3843
0
    }
3844
0
    if (cached_has_bits & 0x00000004u) {
3845
0
      _this->_internal_set_templatename(from._internal_templatename());
3846
0
    }
3847
0
    if (cached_has_bits & 0x00000008u) {
3848
0
      _this->_internal_set_urlparapack(from._internal_urlparapack());
3849
0
    }
3850
0
    if (cached_has_bits & 0x00000010u) {
3851
0
      _this->_internal_set_gssqa(from._internal_gssqa());
3852
0
    }
3853
0
    if (cached_has_bits & 0x00000020u) {
3854
0
      _this->_internal_set_cookie(from._internal_cookie());
3855
0
    }
3856
0
    if (cached_has_bits & 0x00000040u) {
3857
0
      _this->_internal_set_province_name(from._internal_province_name());
3858
0
    }
3859
0
    if (cached_has_bits & 0x00000080u) {
3860
0
      _this->_internal_set_city_name(from._internal_city_name());
3861
0
    }
3862
0
  }
3863
0
  if (cached_has_bits & 0x0000ff00u) {
3864
0
    if (cached_has_bits & 0x00000100u) {
3865
0
      _this->_internal_set_isp_name(from._internal_isp_name());
3866
0
    }
3867
0
    if (cached_has_bits & 0x00000200u) {
3868
0
      _this->_internal_set_from(from._internal_from());
3869
0
    }
3870
0
    if (cached_has_bits & 0x00000400u) {
3871
0
      _this->_internal_set_fmt(from._internal_fmt());
3872
0
    }
3873
0
    if (cached_has_bits & 0x00000800u) {
3874
0
      _this->_internal_set_highlight(from._internal_highlight());
3875
0
    }
3876
0
    if (cached_has_bits & 0x00001000u) {
3877
0
      _this->_internal_set_useragent_full(from._internal_useragent_full());
3878
0
    }
3879
0
    if (cached_has_bits & 0x00002000u) {
3880
0
      _this->_internal_set_uname(from._internal_uname());
3881
0
    }
3882
0
    if (cached_has_bits & 0x00004000u) {
3883
0
      _this->_internal_set_service_name(from._internal_service_name());
3884
0
    }
3885
0
    if (cached_has_bits & 0x00008000u) {
3886
0
      _this->_internal_set_caller(from._internal_caller());
3887
0
    }
3888
0
  }
3889
0
  if (cached_has_bits & 0x00ff0000u) {
3890
0
    if (cached_has_bits & 0x00010000u) {
3891
0
      _this->_internal_mutable_uainfo()->::gss::message::ua_info_t::MergeFrom(
3892
0
          from._internal_uainfo());
3893
0
    }
3894
0
    if (cached_has_bits & 0x00020000u) {
3895
0
      _this->_internal_mutable_user_agent()->::gss::message::UserAgent::MergeFrom(
3896
0
          from._internal_user_agent());
3897
0
    }
3898
0
    if (cached_has_bits & 0x00040000u) {
3899
0
      _this->_impl_.userip_ = from._impl_.userip_;
3900
0
    }
3901
0
    if (cached_has_bits & 0x00080000u) {
3902
0
      _this->_impl_.timingneed_ = from._impl_.timingneed_;
3903
0
    }
3904
0
    if (cached_has_bits & 0x00100000u) {
3905
0
      _this->_impl_.queryid64_ = from._impl_.queryid64_;
3906
0
    }
3907
0
    if (cached_has_bits & 0x00200000u) {
3908
0
      _this->_impl_.pagenum_ = from._impl_.pagenum_;
3909
0
    }
3910
0
    if (cached_has_bits & 0x00400000u) {
3911
0
      _this->_impl_.ctpl_or_php_ = from._impl_.ctpl_or_php_;
3912
0
    }
3913
0
    if (cached_has_bits & 0x00800000u) {
3914
0
      _this->_impl_.setype_ = from._impl_.setype_;
3915
0
    }
3916
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
3917
0
  }
3918
0
  if (cached_has_bits & 0xff000000u) {
3919
0
    if (cached_has_bits & 0x01000000u) {
3920
0
      _this->_impl_.srcnum_ = from._impl_.srcnum_;
3921
0
    }
3922
0
    if (cached_has_bits & 0x02000000u) {
3923
0
      _this->_impl_.resultlang_ = from._impl_.resultlang_;
3924
0
    }
3925
0
    if (cached_has_bits & 0x04000000u) {
3926
0
      _this->_impl_.resultlocale_ = from._impl_.resultlocale_;
3927
0
    }
3928
0
    if (cached_has_bits & 0x08000000u) {
3929
0
      _this->_impl_.needhilightstr_ = from._impl_.needhilightstr_;
3930
0
    }
3931
0
    if (cached_has_bits & 0x10000000u) {
3932
0
      _this->_impl_.uid_ = from._impl_.uid_;
3933
0
    }
3934
0
    if (cached_has_bits & 0x20000000u) {
3935
0
      _this->_impl_.open_gssda_recall_ = from._impl_.open_gssda_recall_;
3936
0
    }
3937
0
    if (cached_has_bits & 0x40000000u) {
3938
0
      _this->_impl_.prefetch_flag_ = from._impl_.prefetch_flag_;
3939
0
    }
3940
0
    if (cached_has_bits & 0x80000000u) {
3941
0
      _this->_impl_.resnum_ = from._impl_.resnum_;
3942
0
    }
3943
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
3944
0
  }
3945
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3946
0
}
3947
3948
0
void us_gss_req_t::CopyFrom(const us_gss_req_t& from) {
3949
// @@protoc_insertion_point(class_specific_copy_from_start:gss.message.us_gss_req_t)
3950
0
  if (&from == this) return;
3951
0
  Clear();
3952
0
  MergeFrom(from);
3953
0
}
3954
3955
0
bool us_gss_req_t::IsInitialized() const {
3956
0
  if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
3957
0
  if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.appinfoarr_))
3958
0
    return false;
3959
0
  return true;
3960
0
}
3961
3962
0
void us_gss_req_t::InternalSwap(us_gss_req_t* other) {
3963
0
  using std::swap;
3964
0
  auto* lhs_arena = GetArenaForAllocation();
3965
0
  auto* rhs_arena = other->GetArenaForAllocation();
3966
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3967
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3968
0
  _impl_.sid_.InternalSwap(&other->_impl_.sid_);
3969
0
  _impl_.srcarr_.InternalSwap(&other->_impl_.srcarr_);
3970
0
  _impl_.appinfoarr_.InternalSwap(&other->_impl_.appinfoarr_);
3971
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3972
0
      &_impl_.originquery_, lhs_arena,
3973
0
      &other->_impl_.originquery_, rhs_arena
3974
0
  );
3975
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3976
0
      &_impl_.clientname_, lhs_arena,
3977
0
      &other->_impl_.clientname_, rhs_arena
3978
0
  );
3979
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3980
0
      &_impl_.templatename_, lhs_arena,
3981
0
      &other->_impl_.templatename_, rhs_arena
3982
0
  );
3983
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3984
0
      &_impl_.urlparapack_, lhs_arena,
3985
0
      &other->_impl_.urlparapack_, rhs_arena
3986
0
  );
3987
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3988
0
      &_impl_.gssqa_, lhs_arena,
3989
0
      &other->_impl_.gssqa_, rhs_arena
3990
0
  );
3991
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3992
0
      &_impl_.cookie_, lhs_arena,
3993
0
      &other->_impl_.cookie_, rhs_arena
3994
0
  );
3995
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
3996
0
      &_impl_.province_name_, lhs_arena,
3997
0
      &other->_impl_.province_name_, rhs_arena
3998
0
  );
3999
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4000
0
      &_impl_.city_name_, lhs_arena,
4001
0
      &other->_impl_.city_name_, rhs_arena
4002
0
  );
4003
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4004
0
      &_impl_.isp_name_, lhs_arena,
4005
0
      &other->_impl_.isp_name_, rhs_arena
4006
0
  );
4007
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4008
0
      &_impl_.from_, lhs_arena,
4009
0
      &other->_impl_.from_, rhs_arena
4010
0
  );
4011
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4012
0
      &_impl_.fmt_, lhs_arena,
4013
0
      &other->_impl_.fmt_, rhs_arena
4014
0
  );
4015
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4016
0
      &_impl_.highlight_, lhs_arena,
4017
0
      &other->_impl_.highlight_, rhs_arena
4018
0
  );
4019
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4020
0
      &_impl_.useragent_full_, lhs_arena,
4021
0
      &other->_impl_.useragent_full_, rhs_arena
4022
0
  );
4023
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4024
0
      &_impl_.uname_, lhs_arena,
4025
0
      &other->_impl_.uname_, rhs_arena
4026
0
  );
4027
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4028
0
      &_impl_.service_name_, lhs_arena,
4029
0
      &other->_impl_.service_name_, rhs_arena
4030
0
  );
4031
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4032
0
      &_impl_.caller_, lhs_arena,
4033
0
      &other->_impl_.caller_, rhs_arena
4034
0
  );
4035
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
4036
0
      PROTOBUF_FIELD_OFFSET(us_gss_req_t, _impl_.prefetch_flag_)
4037
0
      + sizeof(us_gss_req_t::_impl_.prefetch_flag_)
4038
0
      - PROTOBUF_FIELD_OFFSET(us_gss_req_t, _impl_.uainfo_)>(
4039
0
          reinterpret_cast<char*>(&_impl_.uainfo_),
4040
0
          reinterpret_cast<char*>(&other->_impl_.uainfo_));
4041
0
  swap(_impl_.resnum_, other->_impl_.resnum_);
4042
0
}
4043
4044
0
::PROTOBUF_NAMESPACE_ID::Metadata us_gss_req_t::GetMetadata() const {
4045
0
  return ::_pbi::AssignDescriptors(
4046
0
      &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once,
4047
0
      file_level_metadata_message_2eproto[3]);
4048
0
}
4049
4050
// ===================================================================
4051
4052
class UserAgent::_Internal {
4053
 public:
4054
  using HasBits = decltype(std::declval<UserAgent>()._impl_._has_bits_);
4055
0
  static void set_has_dsp(HasBits* has_bits) {
4056
0
    (*has_bits)[0] |= 1u;
4057
0
  }
4058
0
  static void set_has_os(HasBits* has_bits) {
4059
0
    (*has_bits)[0] |= 2u;
4060
0
  }
4061
0
  static void set_has_osv(HasBits* has_bits) {
4062
0
    (*has_bits)[0] |= 4u;
4063
0
  }
4064
0
  static void set_has_mb(HasBits* has_bits) {
4065
0
    (*has_bits)[0] |= 8u;
4066
0
  }
4067
0
  static void set_has_mbv(HasBits* has_bits) {
4068
0
    (*has_bits)[0] |= 16u;
4069
0
  }
4070
0
  static void set_has_apn(HasBits* has_bits) {
4071
0
    (*has_bits)[0] |= 128u;
4072
0
  }
4073
0
  static void set_has_arn(HasBits* has_bits) {
4074
0
    (*has_bits)[0] |= 256u;
4075
0
  }
4076
0
  static void set_has_cuid(HasBits* has_bits) {
4077
0
    (*has_bits)[0] |= 32u;
4078
0
  }
4079
0
  static void set_has_net_type(HasBits* has_bits) {
4080
0
    (*has_bits)[0] |= 64u;
4081
0
  }
4082
};
4083
4084
UserAgent::UserAgent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4085
                         bool is_message_owned)
4086
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
4087
0
  SharedCtor(arena, is_message_owned);
4088
  // @@protoc_insertion_point(arena_constructor:gss.message.UserAgent)
4089
0
}
4090
UserAgent::UserAgent(const UserAgent& from)
4091
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
4092
0
  UserAgent* const _this = this; (void)_this;
4093
0
  new (&_impl_) Impl_{
4094
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
4095
0
    , /*decltype(_impl_._cached_size_)*/{}
4096
0
    , decltype(_impl_.dsp_){}
4097
0
    , decltype(_impl_.os_){}
4098
0
    , decltype(_impl_.osv_){}
4099
0
    , decltype(_impl_.mb_){}
4100
0
    , decltype(_impl_.mbv_){}
4101
0
    , decltype(_impl_.cuid_){}
4102
0
    , decltype(_impl_.net_type_){}
4103
0
    , decltype(_impl_.apn_){}
4104
0
    , decltype(_impl_.arn_){}};
4105
4106
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4107
0
  _impl_.dsp_.InitDefault();
4108
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4109
    _impl_.dsp_.Set("", GetArenaForAllocation());
4110
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4111
0
  if (from._internal_has_dsp()) {
4112
0
    _this->_impl_.dsp_.Set(from._internal_dsp(), 
4113
0
      _this->GetArenaForAllocation());
4114
0
  }
4115
0
  _impl_.os_.InitDefault();
4116
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4117
    _impl_.os_.Set("", GetArenaForAllocation());
4118
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4119
0
  if (from._internal_has_os()) {
4120
0
    _this->_impl_.os_.Set(from._internal_os(), 
4121
0
      _this->GetArenaForAllocation());
4122
0
  }
4123
0
  _impl_.osv_.InitDefault();
4124
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4125
    _impl_.osv_.Set("", GetArenaForAllocation());
4126
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4127
0
  if (from._internal_has_osv()) {
4128
0
    _this->_impl_.osv_.Set(from._internal_osv(), 
4129
0
      _this->GetArenaForAllocation());
4130
0
  }
4131
0
  _impl_.mb_.InitDefault();
4132
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4133
    _impl_.mb_.Set("", GetArenaForAllocation());
4134
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4135
0
  if (from._internal_has_mb()) {
4136
0
    _this->_impl_.mb_.Set(from._internal_mb(), 
4137
0
      _this->GetArenaForAllocation());
4138
0
  }
4139
0
  _impl_.mbv_.InitDefault();
4140
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4141
    _impl_.mbv_.Set("", GetArenaForAllocation());
4142
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4143
0
  if (from._internal_has_mbv()) {
4144
0
    _this->_impl_.mbv_.Set(from._internal_mbv(), 
4145
0
      _this->GetArenaForAllocation());
4146
0
  }
4147
0
  _impl_.cuid_.InitDefault();
4148
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4149
    _impl_.cuid_.Set("", GetArenaForAllocation());
4150
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4151
0
  if (from._internal_has_cuid()) {
4152
0
    _this->_impl_.cuid_.Set(from._internal_cuid(), 
4153
0
      _this->GetArenaForAllocation());
4154
0
  }
4155
0
  _impl_.net_type_.InitDefault();
4156
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4157
    _impl_.net_type_.Set("", GetArenaForAllocation());
4158
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4159
0
  if (from._internal_has_net_type()) {
4160
0
    _this->_impl_.net_type_.Set(from._internal_net_type(), 
4161
0
      _this->GetArenaForAllocation());
4162
0
  }
4163
0
  ::memcpy(&_impl_.apn_, &from._impl_.apn_,
4164
0
    static_cast<size_t>(reinterpret_cast<char*>(&_impl_.arn_) -
4165
0
    reinterpret_cast<char*>(&_impl_.apn_)) + sizeof(_impl_.arn_));
4166
  // @@protoc_insertion_point(copy_constructor:gss.message.UserAgent)
4167
0
}
4168
4169
inline void UserAgent::SharedCtor(
4170
0
    ::_pb::Arena* arena, bool is_message_owned) {
4171
0
  (void)arena;
4172
0
  (void)is_message_owned;
4173
0
  new (&_impl_) Impl_{
4174
0
      decltype(_impl_._has_bits_){}
4175
0
    , /*decltype(_impl_._cached_size_)*/{}
4176
0
    , decltype(_impl_.dsp_){}
4177
0
    , decltype(_impl_.os_){}
4178
0
    , decltype(_impl_.osv_){}
4179
0
    , decltype(_impl_.mb_){}
4180
0
    , decltype(_impl_.mbv_){}
4181
0
    , decltype(_impl_.cuid_){}
4182
0
    , decltype(_impl_.net_type_){}
4183
0
    , decltype(_impl_.apn_){0}
4184
0
    , decltype(_impl_.arn_){0}
4185
0
  };
4186
0
  _impl_.dsp_.InitDefault();
4187
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4188
    _impl_.dsp_.Set("", GetArenaForAllocation());
4189
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4190
0
  _impl_.os_.InitDefault();
4191
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4192
    _impl_.os_.Set("", GetArenaForAllocation());
4193
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4194
0
  _impl_.osv_.InitDefault();
4195
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4196
    _impl_.osv_.Set("", GetArenaForAllocation());
4197
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4198
0
  _impl_.mb_.InitDefault();
4199
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4200
    _impl_.mb_.Set("", GetArenaForAllocation());
4201
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4202
0
  _impl_.mbv_.InitDefault();
4203
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4204
    _impl_.mbv_.Set("", GetArenaForAllocation());
4205
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4206
0
  _impl_.cuid_.InitDefault();
4207
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4208
    _impl_.cuid_.Set("", GetArenaForAllocation());
4209
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4210
0
  _impl_.net_type_.InitDefault();
4211
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4212
    _impl_.net_type_.Set("", GetArenaForAllocation());
4213
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4214
0
}
4215
4216
0
UserAgent::~UserAgent() {
4217
  // @@protoc_insertion_point(destructor:gss.message.UserAgent)
4218
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
4219
0
  (void)arena;
4220
0
    return;
4221
0
  }
4222
0
  SharedDtor();
4223
0
}
4224
4225
0
inline void UserAgent::SharedDtor() {
4226
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4227
0
  _impl_.dsp_.Destroy();
4228
0
  _impl_.os_.Destroy();
4229
0
  _impl_.osv_.Destroy();
4230
0
  _impl_.mb_.Destroy();
4231
0
  _impl_.mbv_.Destroy();
4232
0
  _impl_.cuid_.Destroy();
4233
0
  _impl_.net_type_.Destroy();
4234
0
}
4235
4236
0
void UserAgent::SetCachedSize(int size) const {
4237
0
  _impl_._cached_size_.Set(size);
4238
0
}
4239
4240
0
void UserAgent::Clear() {
4241
// @@protoc_insertion_point(message_clear_start:gss.message.UserAgent)
4242
0
  uint32_t cached_has_bits = 0;
4243
  // Prevent compiler warnings about cached_has_bits being unused
4244
0
  (void) cached_has_bits;
4245
4246
0
  cached_has_bits = _impl_._has_bits_[0];
4247
0
  if (cached_has_bits & 0x0000007fu) {
4248
0
    if (cached_has_bits & 0x00000001u) {
4249
0
      _impl_.dsp_.ClearNonDefaultToEmpty();
4250
0
    }
4251
0
    if (cached_has_bits & 0x00000002u) {
4252
0
      _impl_.os_.ClearNonDefaultToEmpty();
4253
0
    }
4254
0
    if (cached_has_bits & 0x00000004u) {
4255
0
      _impl_.osv_.ClearNonDefaultToEmpty();
4256
0
    }
4257
0
    if (cached_has_bits & 0x00000008u) {
4258
0
      _impl_.mb_.ClearNonDefaultToEmpty();
4259
0
    }
4260
0
    if (cached_has_bits & 0x00000010u) {
4261
0
      _impl_.mbv_.ClearNonDefaultToEmpty();
4262
0
    }
4263
0
    if (cached_has_bits & 0x00000020u) {
4264
0
      _impl_.cuid_.ClearNonDefaultToEmpty();
4265
0
    }
4266
0
    if (cached_has_bits & 0x00000040u) {
4267
0
      _impl_.net_type_.ClearNonDefaultToEmpty();
4268
0
    }
4269
0
  }
4270
0
  _impl_.apn_ = 0;
4271
0
  _impl_.arn_ = 0;
4272
0
  _impl_._has_bits_.Clear();
4273
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4274
0
}
4275
4276
0
const char* UserAgent::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4277
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4278
0
  _Internal::HasBits has_bits{};
4279
0
  while (!ctx->Done(&ptr)) {
4280
0
    uint32_t tag;
4281
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
4282
0
    switch (tag >> 3) {
4283
      // optional string dsp = 1;
4284
0
      case 1:
4285
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
4286
0
          auto str = _internal_mutable_dsp();
4287
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4288
0
          CHK_(ptr);
4289
0
          #ifndef NDEBUG
4290
0
          ::_pbi::VerifyUTF8(str, "gss.message.UserAgent.dsp");
4291
0
          #endif  // !NDEBUG
4292
0
        } else
4293
0
          goto handle_unusual;
4294
0
        continue;
4295
      // optional string os = 2;
4296
0
      case 2:
4297
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
4298
0
          auto str = _internal_mutable_os();
4299
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4300
0
          CHK_(ptr);
4301
0
          #ifndef NDEBUG
4302
0
          ::_pbi::VerifyUTF8(str, "gss.message.UserAgent.os");
4303
0
          #endif  // !NDEBUG
4304
0
        } else
4305
0
          goto handle_unusual;
4306
0
        continue;
4307
      // optional string osv = 3;
4308
0
      case 3:
4309
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
4310
0
          auto str = _internal_mutable_osv();
4311
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4312
0
          CHK_(ptr);
4313
0
          #ifndef NDEBUG
4314
0
          ::_pbi::VerifyUTF8(str, "gss.message.UserAgent.osv");
4315
0
          #endif  // !NDEBUG
4316
0
        } else
4317
0
          goto handle_unusual;
4318
0
        continue;
4319
      // optional string mb = 4;
4320
0
      case 4:
4321
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
4322
0
          auto str = _internal_mutable_mb();
4323
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4324
0
          CHK_(ptr);
4325
0
          #ifndef NDEBUG
4326
0
          ::_pbi::VerifyUTF8(str, "gss.message.UserAgent.mb");
4327
0
          #endif  // !NDEBUG
4328
0
        } else
4329
0
          goto handle_unusual;
4330
0
        continue;
4331
      // optional string mbv = 5;
4332
0
      case 5:
4333
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
4334
0
          auto str = _internal_mutable_mbv();
4335
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4336
0
          CHK_(ptr);
4337
0
          #ifndef NDEBUG
4338
0
          ::_pbi::VerifyUTF8(str, "gss.message.UserAgent.mbv");
4339
0
          #endif  // !NDEBUG
4340
0
        } else
4341
0
          goto handle_unusual;
4342
0
        continue;
4343
      // optional int32 apn = 6;
4344
0
      case 6:
4345
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
4346
0
          _Internal::set_has_apn(&has_bits);
4347
0
          _impl_.apn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4348
0
          CHK_(ptr);
4349
0
        } else
4350
0
          goto handle_unusual;
4351
0
        continue;
4352
      // optional int32 arn = 7;
4353
0
      case 7:
4354
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
4355
0
          _Internal::set_has_arn(&has_bits);
4356
0
          _impl_.arn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4357
0
          CHK_(ptr);
4358
0
        } else
4359
0
          goto handle_unusual;
4360
0
        continue;
4361
      // optional string cuid = 8;
4362
0
      case 8:
4363
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
4364
0
          auto str = _internal_mutable_cuid();
4365
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4366
0
          CHK_(ptr);
4367
0
          #ifndef NDEBUG
4368
0
          ::_pbi::VerifyUTF8(str, "gss.message.UserAgent.cuid");
4369
0
          #endif  // !NDEBUG
4370
0
        } else
4371
0
          goto handle_unusual;
4372
0
        continue;
4373
      // optional string net_type = 9;
4374
0
      case 9:
4375
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
4376
0
          auto str = _internal_mutable_net_type();
4377
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4378
0
          CHK_(ptr);
4379
0
          #ifndef NDEBUG
4380
0
          ::_pbi::VerifyUTF8(str, "gss.message.UserAgent.net_type");
4381
0
          #endif  // !NDEBUG
4382
0
        } else
4383
0
          goto handle_unusual;
4384
0
        continue;
4385
0
      default:
4386
0
        goto handle_unusual;
4387
0
    }  // switch
4388
0
  handle_unusual:
4389
0
    if ((tag == 0) || ((tag & 7) == 4)) {
4390
0
      CHK_(ptr);
4391
0
      ctx->SetLastTag(tag);
4392
0
      goto message_done;
4393
0
    }
4394
0
    ptr = UnknownFieldParse(
4395
0
        tag,
4396
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
4397
0
        ptr, ctx);
4398
0
    CHK_(ptr != nullptr);
4399
0
  }  // while
4400
0
message_done:
4401
0
  _impl_._has_bits_.Or(has_bits);
4402
0
  return ptr;
4403
0
failure:
4404
0
  ptr = nullptr;
4405
0
  goto message_done;
4406
0
#undef CHK_
4407
0
}
4408
4409
uint8_t* UserAgent::_InternalSerialize(
4410
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4411
  // @@protoc_insertion_point(serialize_to_array_start:gss.message.UserAgent)
4412
0
  uint32_t cached_has_bits = 0;
4413
0
  (void) cached_has_bits;
4414
4415
0
  cached_has_bits = _impl_._has_bits_[0];
4416
  // optional string dsp = 1;
4417
0
  if (cached_has_bits & 0x00000001u) {
4418
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4419
0
      this->_internal_dsp().data(), static_cast<int>(this->_internal_dsp().length()),
4420
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4421
0
      "gss.message.UserAgent.dsp");
4422
0
    target = stream->WriteStringMaybeAliased(
4423
0
        1, this->_internal_dsp(), target);
4424
0
  }
4425
4426
  // optional string os = 2;
4427
0
  if (cached_has_bits & 0x00000002u) {
4428
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4429
0
      this->_internal_os().data(), static_cast<int>(this->_internal_os().length()),
4430
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4431
0
      "gss.message.UserAgent.os");
4432
0
    target = stream->WriteStringMaybeAliased(
4433
0
        2, this->_internal_os(), target);
4434
0
  }
4435
4436
  // optional string osv = 3;
4437
0
  if (cached_has_bits & 0x00000004u) {
4438
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4439
0
      this->_internal_osv().data(), static_cast<int>(this->_internal_osv().length()),
4440
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4441
0
      "gss.message.UserAgent.osv");
4442
0
    target = stream->WriteStringMaybeAliased(
4443
0
        3, this->_internal_osv(), target);
4444
0
  }
4445
4446
  // optional string mb = 4;
4447
0
  if (cached_has_bits & 0x00000008u) {
4448
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4449
0
      this->_internal_mb().data(), static_cast<int>(this->_internal_mb().length()),
4450
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4451
0
      "gss.message.UserAgent.mb");
4452
0
    target = stream->WriteStringMaybeAliased(
4453
0
        4, this->_internal_mb(), target);
4454
0
  }
4455
4456
  // optional string mbv = 5;
4457
0
  if (cached_has_bits & 0x00000010u) {
4458
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4459
0
      this->_internal_mbv().data(), static_cast<int>(this->_internal_mbv().length()),
4460
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4461
0
      "gss.message.UserAgent.mbv");
4462
0
    target = stream->WriteStringMaybeAliased(
4463
0
        5, this->_internal_mbv(), target);
4464
0
  }
4465
4466
  // optional int32 apn = 6;
4467
0
  if (cached_has_bits & 0x00000080u) {
4468
0
    target = stream->EnsureSpace(target);
4469
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_apn(), target);
4470
0
  }
4471
4472
  // optional int32 arn = 7;
4473
0
  if (cached_has_bits & 0x00000100u) {
4474
0
    target = stream->EnsureSpace(target);
4475
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_arn(), target);
4476
0
  }
4477
4478
  // optional string cuid = 8;
4479
0
  if (cached_has_bits & 0x00000020u) {
4480
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4481
0
      this->_internal_cuid().data(), static_cast<int>(this->_internal_cuid().length()),
4482
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4483
0
      "gss.message.UserAgent.cuid");
4484
0
    target = stream->WriteStringMaybeAliased(
4485
0
        8, this->_internal_cuid(), target);
4486
0
  }
4487
4488
  // optional string net_type = 9;
4489
0
  if (cached_has_bits & 0x00000040u) {
4490
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4491
0
      this->_internal_net_type().data(), static_cast<int>(this->_internal_net_type().length()),
4492
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4493
0
      "gss.message.UserAgent.net_type");
4494
0
    target = stream->WriteStringMaybeAliased(
4495
0
        9, this->_internal_net_type(), target);
4496
0
  }
4497
4498
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
4499
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4500
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
4501
0
  }
4502
  // @@protoc_insertion_point(serialize_to_array_end:gss.message.UserAgent)
4503
0
  return target;
4504
0
}
4505
4506
0
size_t UserAgent::ByteSizeLong() const {
4507
// @@protoc_insertion_point(message_byte_size_start:gss.message.UserAgent)
4508
0
  size_t total_size = 0;
4509
4510
0
  uint32_t cached_has_bits = 0;
4511
  // Prevent compiler warnings about cached_has_bits being unused
4512
0
  (void) cached_has_bits;
4513
4514
0
  cached_has_bits = _impl_._has_bits_[0];
4515
0
  if (cached_has_bits & 0x000000ffu) {
4516
    // optional string dsp = 1;
4517
0
    if (cached_has_bits & 0x00000001u) {
4518
0
      total_size += 1 +
4519
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4520
0
          this->_internal_dsp());
4521
0
    }
4522
4523
    // optional string os = 2;
4524
0
    if (cached_has_bits & 0x00000002u) {
4525
0
      total_size += 1 +
4526
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4527
0
          this->_internal_os());
4528
0
    }
4529
4530
    // optional string osv = 3;
4531
0
    if (cached_has_bits & 0x00000004u) {
4532
0
      total_size += 1 +
4533
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4534
0
          this->_internal_osv());
4535
0
    }
4536
4537
    // optional string mb = 4;
4538
0
    if (cached_has_bits & 0x00000008u) {
4539
0
      total_size += 1 +
4540
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4541
0
          this->_internal_mb());
4542
0
    }
4543
4544
    // optional string mbv = 5;
4545
0
    if (cached_has_bits & 0x00000010u) {
4546
0
      total_size += 1 +
4547
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4548
0
          this->_internal_mbv());
4549
0
    }
4550
4551
    // optional string cuid = 8;
4552
0
    if (cached_has_bits & 0x00000020u) {
4553
0
      total_size += 1 +
4554
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4555
0
          this->_internal_cuid());
4556
0
    }
4557
4558
    // optional string net_type = 9;
4559
0
    if (cached_has_bits & 0x00000040u) {
4560
0
      total_size += 1 +
4561
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
4562
0
          this->_internal_net_type());
4563
0
    }
4564
4565
    // optional int32 apn = 6;
4566
0
    if (cached_has_bits & 0x00000080u) {
4567
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_apn());
4568
0
    }
4569
4570
0
  }
4571
  // optional int32 arn = 7;
4572
0
  if (cached_has_bits & 0x00000100u) {
4573
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_arn());
4574
0
  }
4575
4576
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
4577
0
}
4578
4579
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UserAgent::_class_data_ = {
4580
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
4581
    UserAgent::MergeImpl
4582
};
4583
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UserAgent::GetClassData() const { return &_class_data_; }
4584
4585
4586
0
void UserAgent::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
4587
0
  auto* const _this = static_cast<UserAgent*>(&to_msg);
4588
0
  auto& from = static_cast<const UserAgent&>(from_msg);
4589
  // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.UserAgent)
4590
0
  GOOGLE_DCHECK_NE(&from, _this);
4591
0
  uint32_t cached_has_bits = 0;
4592
0
  (void) cached_has_bits;
4593
4594
0
  cached_has_bits = from._impl_._has_bits_[0];
4595
0
  if (cached_has_bits & 0x000000ffu) {
4596
0
    if (cached_has_bits & 0x00000001u) {
4597
0
      _this->_internal_set_dsp(from._internal_dsp());
4598
0
    }
4599
0
    if (cached_has_bits & 0x00000002u) {
4600
0
      _this->_internal_set_os(from._internal_os());
4601
0
    }
4602
0
    if (cached_has_bits & 0x00000004u) {
4603
0
      _this->_internal_set_osv(from._internal_osv());
4604
0
    }
4605
0
    if (cached_has_bits & 0x00000008u) {
4606
0
      _this->_internal_set_mb(from._internal_mb());
4607
0
    }
4608
0
    if (cached_has_bits & 0x00000010u) {
4609
0
      _this->_internal_set_mbv(from._internal_mbv());
4610
0
    }
4611
0
    if (cached_has_bits & 0x00000020u) {
4612
0
      _this->_internal_set_cuid(from._internal_cuid());
4613
0
    }
4614
0
    if (cached_has_bits & 0x00000040u) {
4615
0
      _this->_internal_set_net_type(from._internal_net_type());
4616
0
    }
4617
0
    if (cached_has_bits & 0x00000080u) {
4618
0
      _this->_impl_.apn_ = from._impl_.apn_;
4619
0
    }
4620
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
4621
0
  }
4622
0
  if (cached_has_bits & 0x00000100u) {
4623
0
    _this->_internal_set_arn(from._internal_arn());
4624
0
  }
4625
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4626
0
}
4627
4628
0
void UserAgent::CopyFrom(const UserAgent& from) {
4629
// @@protoc_insertion_point(class_specific_copy_from_start:gss.message.UserAgent)
4630
0
  if (&from == this) return;
4631
0
  Clear();
4632
0
  MergeFrom(from);
4633
0
}
4634
4635
0
bool UserAgent::IsInitialized() const {
4636
0
  return true;
4637
0
}
4638
4639
0
void UserAgent::InternalSwap(UserAgent* other) {
4640
0
  using std::swap;
4641
0
  auto* lhs_arena = GetArenaForAllocation();
4642
0
  auto* rhs_arena = other->GetArenaForAllocation();
4643
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4644
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4645
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4646
0
      &_impl_.dsp_, lhs_arena,
4647
0
      &other->_impl_.dsp_, rhs_arena
4648
0
  );
4649
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4650
0
      &_impl_.os_, lhs_arena,
4651
0
      &other->_impl_.os_, rhs_arena
4652
0
  );
4653
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4654
0
      &_impl_.osv_, lhs_arena,
4655
0
      &other->_impl_.osv_, rhs_arena
4656
0
  );
4657
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4658
0
      &_impl_.mb_, lhs_arena,
4659
0
      &other->_impl_.mb_, rhs_arena
4660
0
  );
4661
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4662
0
      &_impl_.mbv_, lhs_arena,
4663
0
      &other->_impl_.mbv_, rhs_arena
4664
0
  );
4665
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4666
0
      &_impl_.cuid_, lhs_arena,
4667
0
      &other->_impl_.cuid_, rhs_arena
4668
0
  );
4669
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
4670
0
      &_impl_.net_type_, lhs_arena,
4671
0
      &other->_impl_.net_type_, rhs_arena
4672
0
  );
4673
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
4674
0
      PROTOBUF_FIELD_OFFSET(UserAgent, _impl_.arn_)
4675
0
      + sizeof(UserAgent::_impl_.arn_)
4676
0
      - PROTOBUF_FIELD_OFFSET(UserAgent, _impl_.apn_)>(
4677
0
          reinterpret_cast<char*>(&_impl_.apn_),
4678
0
          reinterpret_cast<char*>(&other->_impl_.apn_));
4679
0
}
4680
4681
0
::PROTOBUF_NAMESPACE_ID::Metadata UserAgent::GetMetadata() const {
4682
0
  return ::_pbi::AssignDescriptors(
4683
0
      &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once,
4684
0
      file_level_metadata_message_2eproto[4]);
4685
0
}
4686
4687
// ===================================================================
4688
4689
class sub_url_t::_Internal {
4690
 public:
4691
  using HasBits = decltype(std::declval<sub_url_t>()._impl_._has_bits_);
4692
0
  static void set_has_suburl(HasBits* has_bits) {
4693
0
    (*has_bits)[0] |= 1u;
4694
0
  }
4695
0
  static void set_has_suburi(HasBits* has_bits) {
4696
0
    (*has_bits)[0] |= 2u;
4697
0
  }
4698
0
  static void set_has_subname(HasBits* has_bits) {
4699
0
    (*has_bits)[0] |= 4u;
4700
0
  }
4701
0
  static void set_has_subpath(HasBits* has_bits) {
4702
0
    (*has_bits)[0] |= 8u;
4703
0
  }
4704
0
  static void set_has_siteid(HasBits* has_bits) {
4705
0
    (*has_bits)[0] |= 32u;
4706
0
  }
4707
0
  static void set_has_subex(HasBits* has_bits) {
4708
0
    (*has_bits)[0] |= 16u;
4709
0
  }
4710
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
4711
0
    return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
4712
0
  }
4713
};
4714
4715
sub_url_t::sub_url_t(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4716
                         bool is_message_owned)
4717
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
4718
0
  SharedCtor(arena, is_message_owned);
4719
  // @@protoc_insertion_point(arena_constructor:gss.message.sub_url_t)
4720
0
}
4721
sub_url_t::sub_url_t(const sub_url_t& from)
4722
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
4723
0
  sub_url_t* const _this = this; (void)_this;
4724
0
  new (&_impl_) Impl_{
4725
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
4726
0
    , /*decltype(_impl_._cached_size_)*/{}
4727
0
    , decltype(_impl_.suburl_){}
4728
0
    , decltype(_impl_.suburi_){}
4729
0
    , decltype(_impl_.subname_){}
4730
0
    , decltype(_impl_.subpath_){}
4731
0
    , decltype(_impl_.subex_){}
4732
0
    , decltype(_impl_.siteid_){}};
4733
4734
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
4735
0
  _impl_.suburl_.InitDefault();
4736
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4737
    _impl_.suburl_.Set("", GetArenaForAllocation());
4738
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4739
0
  if (from._internal_has_suburl()) {
4740
0
    _this->_impl_.suburl_.Set(from._internal_suburl(), 
4741
0
      _this->GetArenaForAllocation());
4742
0
  }
4743
0
  _impl_.suburi_.InitDefault();
4744
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4745
    _impl_.suburi_.Set("", GetArenaForAllocation());
4746
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4747
0
  if (from._internal_has_suburi()) {
4748
0
    _this->_impl_.suburi_.Set(from._internal_suburi(), 
4749
0
      _this->GetArenaForAllocation());
4750
0
  }
4751
0
  _impl_.subname_.InitDefault();
4752
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4753
    _impl_.subname_.Set("", GetArenaForAllocation());
4754
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4755
0
  if (from._internal_has_subname()) {
4756
0
    _this->_impl_.subname_.Set(from._internal_subname(), 
4757
0
      _this->GetArenaForAllocation());
4758
0
  }
4759
0
  _impl_.subpath_.InitDefault();
4760
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4761
    _impl_.subpath_.Set("", GetArenaForAllocation());
4762
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4763
0
  if (from._internal_has_subpath()) {
4764
0
    _this->_impl_.subpath_.Set(from._internal_subpath(), 
4765
0
      _this->GetArenaForAllocation());
4766
0
  }
4767
0
  _impl_.subex_.InitDefault();
4768
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4769
    _impl_.subex_.Set("", GetArenaForAllocation());
4770
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4771
0
  if (from._internal_has_subex()) {
4772
0
    _this->_impl_.subex_.Set(from._internal_subex(), 
4773
0
      _this->GetArenaForAllocation());
4774
0
  }
4775
0
  _this->_impl_.siteid_ = from._impl_.siteid_;
4776
  // @@protoc_insertion_point(copy_constructor:gss.message.sub_url_t)
4777
0
}
4778
4779
inline void sub_url_t::SharedCtor(
4780
0
    ::_pb::Arena* arena, bool is_message_owned) {
4781
0
  (void)arena;
4782
0
  (void)is_message_owned;
4783
0
  new (&_impl_) Impl_{
4784
0
      decltype(_impl_._has_bits_){}
4785
0
    , /*decltype(_impl_._cached_size_)*/{}
4786
0
    , decltype(_impl_.suburl_){}
4787
0
    , decltype(_impl_.suburi_){}
4788
0
    , decltype(_impl_.subname_){}
4789
0
    , decltype(_impl_.subpath_){}
4790
0
    , decltype(_impl_.subex_){}
4791
0
    , decltype(_impl_.siteid_){0}
4792
0
  };
4793
0
  _impl_.suburl_.InitDefault();
4794
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4795
    _impl_.suburl_.Set("", GetArenaForAllocation());
4796
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4797
0
  _impl_.suburi_.InitDefault();
4798
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4799
    _impl_.suburi_.Set("", GetArenaForAllocation());
4800
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4801
0
  _impl_.subname_.InitDefault();
4802
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4803
    _impl_.subname_.Set("", GetArenaForAllocation());
4804
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4805
0
  _impl_.subpath_.InitDefault();
4806
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4807
    _impl_.subpath_.Set("", GetArenaForAllocation());
4808
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4809
0
  _impl_.subex_.InitDefault();
4810
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4811
    _impl_.subex_.Set("", GetArenaForAllocation());
4812
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4813
0
}
4814
4815
0
sub_url_t::~sub_url_t() {
4816
  // @@protoc_insertion_point(destructor:gss.message.sub_url_t)
4817
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
4818
0
  (void)arena;
4819
0
    return;
4820
0
  }
4821
0
  SharedDtor();
4822
0
}
4823
4824
0
inline void sub_url_t::SharedDtor() {
4825
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
4826
0
  _impl_.suburl_.Destroy();
4827
0
  _impl_.suburi_.Destroy();
4828
0
  _impl_.subname_.Destroy();
4829
0
  _impl_.subpath_.Destroy();
4830
0
  _impl_.subex_.Destroy();
4831
0
}
4832
4833
0
void sub_url_t::SetCachedSize(int size) const {
4834
0
  _impl_._cached_size_.Set(size);
4835
0
}
4836
4837
0
void sub_url_t::Clear() {
4838
// @@protoc_insertion_point(message_clear_start:gss.message.sub_url_t)
4839
0
  uint32_t cached_has_bits = 0;
4840
  // Prevent compiler warnings about cached_has_bits being unused
4841
0
  (void) cached_has_bits;
4842
4843
0
  cached_has_bits = _impl_._has_bits_[0];
4844
0
  if (cached_has_bits & 0x0000001fu) {
4845
0
    if (cached_has_bits & 0x00000001u) {
4846
0
      _impl_.suburl_.ClearNonDefaultToEmpty();
4847
0
    }
4848
0
    if (cached_has_bits & 0x00000002u) {
4849
0
      _impl_.suburi_.ClearNonDefaultToEmpty();
4850
0
    }
4851
0
    if (cached_has_bits & 0x00000004u) {
4852
0
      _impl_.subname_.ClearNonDefaultToEmpty();
4853
0
    }
4854
0
    if (cached_has_bits & 0x00000008u) {
4855
0
      _impl_.subpath_.ClearNonDefaultToEmpty();
4856
0
    }
4857
0
    if (cached_has_bits & 0x00000010u) {
4858
0
      _impl_.subex_.ClearNonDefaultToEmpty();
4859
0
    }
4860
0
  }
4861
0
  _impl_.siteid_ = 0;
4862
0
  _impl_._has_bits_.Clear();
4863
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4864
0
}
4865
4866
0
const char* sub_url_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
4867
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
4868
0
  _Internal::HasBits has_bits{};
4869
0
  while (!ctx->Done(&ptr)) {
4870
0
    uint32_t tag;
4871
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
4872
0
    switch (tag >> 3) {
4873
      // required string SubURL = 1;
4874
0
      case 1:
4875
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
4876
0
          auto str = _internal_mutable_suburl();
4877
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4878
0
          CHK_(ptr);
4879
0
          #ifndef NDEBUG
4880
0
          ::_pbi::VerifyUTF8(str, "gss.message.sub_url_t.SubURL");
4881
0
          #endif  // !NDEBUG
4882
0
        } else
4883
0
          goto handle_unusual;
4884
0
        continue;
4885
      // optional string SubURI = 2;
4886
0
      case 2:
4887
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
4888
0
          auto str = _internal_mutable_suburi();
4889
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4890
0
          CHK_(ptr);
4891
0
          #ifndef NDEBUG
4892
0
          ::_pbi::VerifyUTF8(str, "gss.message.sub_url_t.SubURI");
4893
0
          #endif  // !NDEBUG
4894
0
        } else
4895
0
          goto handle_unusual;
4896
0
        continue;
4897
      // optional string SubName = 3;
4898
0
      case 3:
4899
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
4900
0
          auto str = _internal_mutable_subname();
4901
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4902
0
          CHK_(ptr);
4903
0
          #ifndef NDEBUG
4904
0
          ::_pbi::VerifyUTF8(str, "gss.message.sub_url_t.SubName");
4905
0
          #endif  // !NDEBUG
4906
0
        } else
4907
0
          goto handle_unusual;
4908
0
        continue;
4909
      // optional string SubPath = 4;
4910
0
      case 4:
4911
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
4912
0
          auto str = _internal_mutable_subpath();
4913
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4914
0
          CHK_(ptr);
4915
0
          #ifndef NDEBUG
4916
0
          ::_pbi::VerifyUTF8(str, "gss.message.sub_url_t.SubPath");
4917
0
          #endif  // !NDEBUG
4918
0
        } else
4919
0
          goto handle_unusual;
4920
0
        continue;
4921
      // optional int32 SiteId = 5;
4922
0
      case 5:
4923
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
4924
0
          _Internal::set_has_siteid(&has_bits);
4925
0
          _impl_.siteid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
4926
0
          CHK_(ptr);
4927
0
        } else
4928
0
          goto handle_unusual;
4929
0
        continue;
4930
      // optional string SubEx = 6;
4931
0
      case 6:
4932
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
4933
0
          auto str = _internal_mutable_subex();
4934
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
4935
0
          CHK_(ptr);
4936
0
          #ifndef NDEBUG
4937
0
          ::_pbi::VerifyUTF8(str, "gss.message.sub_url_t.SubEx");
4938
0
          #endif  // !NDEBUG
4939
0
        } else
4940
0
          goto handle_unusual;
4941
0
        continue;
4942
0
      default:
4943
0
        goto handle_unusual;
4944
0
    }  // switch
4945
0
  handle_unusual:
4946
0
    if ((tag == 0) || ((tag & 7) == 4)) {
4947
0
      CHK_(ptr);
4948
0
      ctx->SetLastTag(tag);
4949
0
      goto message_done;
4950
0
    }
4951
0
    ptr = UnknownFieldParse(
4952
0
        tag,
4953
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
4954
0
        ptr, ctx);
4955
0
    CHK_(ptr != nullptr);
4956
0
  }  // while
4957
0
message_done:
4958
0
  _impl_._has_bits_.Or(has_bits);
4959
0
  return ptr;
4960
0
failure:
4961
0
  ptr = nullptr;
4962
0
  goto message_done;
4963
0
#undef CHK_
4964
0
}
4965
4966
uint8_t* sub_url_t::_InternalSerialize(
4967
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
4968
  // @@protoc_insertion_point(serialize_to_array_start:gss.message.sub_url_t)
4969
0
  uint32_t cached_has_bits = 0;
4970
0
  (void) cached_has_bits;
4971
4972
0
  cached_has_bits = _impl_._has_bits_[0];
4973
  // required string SubURL = 1;
4974
0
  if (cached_has_bits & 0x00000001u) {
4975
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4976
0
      this->_internal_suburl().data(), static_cast<int>(this->_internal_suburl().length()),
4977
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4978
0
      "gss.message.sub_url_t.SubURL");
4979
0
    target = stream->WriteStringMaybeAliased(
4980
0
        1, this->_internal_suburl(), target);
4981
0
  }
4982
4983
  // optional string SubURI = 2;
4984
0
  if (cached_has_bits & 0x00000002u) {
4985
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4986
0
      this->_internal_suburi().data(), static_cast<int>(this->_internal_suburi().length()),
4987
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4988
0
      "gss.message.sub_url_t.SubURI");
4989
0
    target = stream->WriteStringMaybeAliased(
4990
0
        2, this->_internal_suburi(), target);
4991
0
  }
4992
4993
  // optional string SubName = 3;
4994
0
  if (cached_has_bits & 0x00000004u) {
4995
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
4996
0
      this->_internal_subname().data(), static_cast<int>(this->_internal_subname().length()),
4997
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
4998
0
      "gss.message.sub_url_t.SubName");
4999
0
    target = stream->WriteStringMaybeAliased(
5000
0
        3, this->_internal_subname(), target);
5001
0
  }
5002
5003
  // optional string SubPath = 4;
5004
0
  if (cached_has_bits & 0x00000008u) {
5005
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5006
0
      this->_internal_subpath().data(), static_cast<int>(this->_internal_subpath().length()),
5007
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5008
0
      "gss.message.sub_url_t.SubPath");
5009
0
    target = stream->WriteStringMaybeAliased(
5010
0
        4, this->_internal_subpath(), target);
5011
0
  }
5012
5013
  // optional int32 SiteId = 5;
5014
0
  if (cached_has_bits & 0x00000020u) {
5015
0
    target = stream->EnsureSpace(target);
5016
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_siteid(), target);
5017
0
  }
5018
5019
  // optional string SubEx = 6;
5020
0
  if (cached_has_bits & 0x00000010u) {
5021
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5022
0
      this->_internal_subex().data(), static_cast<int>(this->_internal_subex().length()),
5023
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5024
0
      "gss.message.sub_url_t.SubEx");
5025
0
    target = stream->WriteStringMaybeAliased(
5026
0
        6, this->_internal_subex(), target);
5027
0
  }
5028
5029
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5030
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5031
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
5032
0
  }
5033
  // @@protoc_insertion_point(serialize_to_array_end:gss.message.sub_url_t)
5034
0
  return target;
5035
0
}
5036
5037
0
size_t sub_url_t::ByteSizeLong() const {
5038
// @@protoc_insertion_point(message_byte_size_start:gss.message.sub_url_t)
5039
0
  size_t total_size = 0;
5040
5041
  // required string SubURL = 1;
5042
0
  if (_internal_has_suburl()) {
5043
0
    total_size += 1 +
5044
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5045
0
        this->_internal_suburl());
5046
0
  }
5047
0
  uint32_t cached_has_bits = 0;
5048
  // Prevent compiler warnings about cached_has_bits being unused
5049
0
  (void) cached_has_bits;
5050
5051
0
  cached_has_bits = _impl_._has_bits_[0];
5052
0
  if (cached_has_bits & 0x0000003eu) {
5053
    // optional string SubURI = 2;
5054
0
    if (cached_has_bits & 0x00000002u) {
5055
0
      total_size += 1 +
5056
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5057
0
          this->_internal_suburi());
5058
0
    }
5059
5060
    // optional string SubName = 3;
5061
0
    if (cached_has_bits & 0x00000004u) {
5062
0
      total_size += 1 +
5063
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5064
0
          this->_internal_subname());
5065
0
    }
5066
5067
    // optional string SubPath = 4;
5068
0
    if (cached_has_bits & 0x00000008u) {
5069
0
      total_size += 1 +
5070
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5071
0
          this->_internal_subpath());
5072
0
    }
5073
5074
    // optional string SubEx = 6;
5075
0
    if (cached_has_bits & 0x00000010u) {
5076
0
      total_size += 1 +
5077
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5078
0
          this->_internal_subex());
5079
0
    }
5080
5081
    // optional int32 SiteId = 5;
5082
0
    if (cached_has_bits & 0x00000020u) {
5083
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_siteid());
5084
0
    }
5085
5086
0
  }
5087
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
5088
0
}
5089
5090
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData sub_url_t::_class_data_ = {
5091
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
5092
    sub_url_t::MergeImpl
5093
};
5094
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*sub_url_t::GetClassData() const { return &_class_data_; }
5095
5096
5097
0
void sub_url_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
5098
0
  auto* const _this = static_cast<sub_url_t*>(&to_msg);
5099
0
  auto& from = static_cast<const sub_url_t&>(from_msg);
5100
  // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.sub_url_t)
5101
0
  GOOGLE_DCHECK_NE(&from, _this);
5102
0
  uint32_t cached_has_bits = 0;
5103
0
  (void) cached_has_bits;
5104
5105
0
  cached_has_bits = from._impl_._has_bits_[0];
5106
0
  if (cached_has_bits & 0x0000003fu) {
5107
0
    if (cached_has_bits & 0x00000001u) {
5108
0
      _this->_internal_set_suburl(from._internal_suburl());
5109
0
    }
5110
0
    if (cached_has_bits & 0x00000002u) {
5111
0
      _this->_internal_set_suburi(from._internal_suburi());
5112
0
    }
5113
0
    if (cached_has_bits & 0x00000004u) {
5114
0
      _this->_internal_set_subname(from._internal_subname());
5115
0
    }
5116
0
    if (cached_has_bits & 0x00000008u) {
5117
0
      _this->_internal_set_subpath(from._internal_subpath());
5118
0
    }
5119
0
    if (cached_has_bits & 0x00000010u) {
5120
0
      _this->_internal_set_subex(from._internal_subex());
5121
0
    }
5122
0
    if (cached_has_bits & 0x00000020u) {
5123
0
      _this->_impl_.siteid_ = from._impl_.siteid_;
5124
0
    }
5125
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
5126
0
  }
5127
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5128
0
}
5129
5130
0
void sub_url_t::CopyFrom(const sub_url_t& from) {
5131
// @@protoc_insertion_point(class_specific_copy_from_start:gss.message.sub_url_t)
5132
0
  if (&from == this) return;
5133
0
  Clear();
5134
0
  MergeFrom(from);
5135
0
}
5136
5137
0
bool sub_url_t::IsInitialized() const {
5138
0
  if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
5139
0
  return true;
5140
0
}
5141
5142
0
void sub_url_t::InternalSwap(sub_url_t* other) {
5143
0
  using std::swap;
5144
0
  auto* lhs_arena = GetArenaForAllocation();
5145
0
  auto* rhs_arena = other->GetArenaForAllocation();
5146
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5147
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5148
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
5149
0
      &_impl_.suburl_, lhs_arena,
5150
0
      &other->_impl_.suburl_, rhs_arena
5151
0
  );
5152
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
5153
0
      &_impl_.suburi_, lhs_arena,
5154
0
      &other->_impl_.suburi_, rhs_arena
5155
0
  );
5156
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
5157
0
      &_impl_.subname_, lhs_arena,
5158
0
      &other->_impl_.subname_, rhs_arena
5159
0
  );
5160
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
5161
0
      &_impl_.subpath_, lhs_arena,
5162
0
      &other->_impl_.subpath_, rhs_arena
5163
0
  );
5164
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
5165
0
      &_impl_.subex_, lhs_arena,
5166
0
      &other->_impl_.subex_, rhs_arena
5167
0
  );
5168
0
  swap(_impl_.siteid_, other->_impl_.siteid_);
5169
0
}
5170
5171
0
::PROTOBUF_NAMESPACE_ID::Metadata sub_url_t::GetMetadata() const {
5172
0
  return ::_pbi::AssignDescriptors(
5173
0
      &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once,
5174
0
      file_level_metadata_message_2eproto[5]);
5175
0
}
5176
5177
// ===================================================================
5178
5179
class gss_res_t::_Internal {
5180
 public:
5181
  using HasBits = decltype(std::declval<gss_res_t>()._impl_._has_bits_);
5182
0
  static void set_has_resulturl(HasBits* has_bits) {
5183
0
    (*has_bits)[0] |= 1u;
5184
0
  }
5185
0
  static void set_has_display(HasBits* has_bits) {
5186
0
    (*has_bits)[0] |= 2u;
5187
0
  }
5188
0
  static void set_has_weight(HasBits* has_bits) {
5189
0
    (*has_bits)[0] |= 128u;
5190
0
  }
5191
0
  static void set_has_sort(HasBits* has_bits) {
5192
0
    (*has_bits)[0] |= 256u;
5193
0
  }
5194
0
  static void set_has_srcid(HasBits* has_bits) {
5195
0
    (*has_bits)[0] |= 512u;
5196
0
  }
5197
0
  static void set_has_timingneed(HasBits* has_bits) {
5198
0
    (*has_bits)[0] |= 1024u;
5199
0
  }
5200
0
  static void set_has_wisestrategyflag(HasBits* has_bits) {
5201
0
    (*has_bits)[0] |= 2048u;
5202
0
  }
5203
0
  static void set_has_degree(HasBits* has_bits) {
5204
0
    (*has_bits)[0] |= 4096u;
5205
0
  }
5206
0
  static void set_has_clickneed(HasBits* has_bits) {
5207
0
    (*has_bits)[0] |= 8192u;
5208
0
  }
5209
0
  static void set_has_strategyinfo(HasBits* has_bits) {
5210
0
    (*has_bits)[0] |= 16384u;
5211
0
  }
5212
0
  static void set_has_spreqtype(HasBits* has_bits) {
5213
0
    (*has_bits)[0] |= 32768u;
5214
0
  }
5215
0
  static void set_has_urikey(HasBits* has_bits) {
5216
0
    (*has_bits)[0] |= 4u;
5217
0
  }
5218
0
  static void set_has_entityname(HasBits* has_bits) {
5219
0
    (*has_bits)[0] |= 8u;
5220
0
  }
5221
0
  static void set_has_subresnum(HasBits* has_bits) {
5222
0
    (*has_bits)[0] |= 65536u;
5223
0
  }
5224
0
  static void set_has_displaylog(HasBits* has_bits) {
5225
0
    (*has_bits)[0] |= 16u;
5226
0
  }
5227
0
  static void set_has_displaydata(HasBits* has_bits) {
5228
0
    (*has_bits)[0] |= 32u;
5229
0
  }
5230
0
  static void set_has_restype(HasBits* has_bits) {
5231
0
    (*has_bits)[0] |= 131072u;
5232
0
  }
5233
0
  static void set_has_title(HasBits* has_bits) {
5234
0
    (*has_bits)[0] |= 64u;
5235
0
  }
5236
0
  static void set_has_recovercachetime(HasBits* has_bits) {
5237
0
    (*has_bits)[0] |= 262144u;
5238
0
  }
5239
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
5240
0
    return ((has_bits[0] & 0x00000481) ^ 0x00000481) != 0;
5241
0
  }
5242
};
5243
5244
gss_res_t::gss_res_t(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5245
                         bool is_message_owned)
5246
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
5247
0
  SharedCtor(arena, is_message_owned);
5248
  // @@protoc_insertion_point(arena_constructor:gss.message.gss_res_t)
5249
0
}
5250
gss_res_t::gss_res_t(const gss_res_t& from)
5251
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
5252
0
  gss_res_t* const _this = this; (void)_this;
5253
0
  new (&_impl_) Impl_{
5254
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
5255
0
    , /*decltype(_impl_._cached_size_)*/{}
5256
0
    , decltype(_impl_.subresult_){from._impl_.subresult_}
5257
0
    , decltype(_impl_.resulturl_){}
5258
0
    , decltype(_impl_.display_){}
5259
0
    , decltype(_impl_.urikey_){}
5260
0
    , decltype(_impl_.entityname_){}
5261
0
    , decltype(_impl_.displaylog_){}
5262
0
    , decltype(_impl_.displaydata_){}
5263
0
    , decltype(_impl_.title_){}
5264
0
    , decltype(_impl_.weight_){}
5265
0
    , decltype(_impl_.sort_){}
5266
0
    , decltype(_impl_.srcid_){}
5267
0
    , decltype(_impl_.timingneed_){}
5268
0
    , decltype(_impl_.wisestrategyflag_){}
5269
0
    , decltype(_impl_.degree_){}
5270
0
    , decltype(_impl_.clickneed_){}
5271
0
    , decltype(_impl_.strategyinfo_){}
5272
0
    , decltype(_impl_.spreqtype_){}
5273
0
    , decltype(_impl_.subresnum_){}
5274
0
    , decltype(_impl_.restype_){}
5275
0
    , decltype(_impl_.recovercachetime_){}};
5276
5277
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
5278
0
  _impl_.resulturl_.InitDefault();
5279
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5280
    _impl_.resulturl_.Set("", GetArenaForAllocation());
5281
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5282
0
  if (from._internal_has_resulturl()) {
5283
0
    _this->_impl_.resulturl_.Set(from._internal_resulturl(), 
5284
0
      _this->GetArenaForAllocation());
5285
0
  }
5286
0
  _impl_.display_.InitDefault();
5287
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5288
    _impl_.display_.Set("", GetArenaForAllocation());
5289
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5290
0
  if (from._internal_has_display()) {
5291
0
    _this->_impl_.display_.Set(from._internal_display(), 
5292
0
      _this->GetArenaForAllocation());
5293
0
  }
5294
0
  _impl_.urikey_.InitDefault();
5295
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5296
    _impl_.urikey_.Set("", GetArenaForAllocation());
5297
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5298
0
  if (from._internal_has_urikey()) {
5299
0
    _this->_impl_.urikey_.Set(from._internal_urikey(), 
5300
0
      _this->GetArenaForAllocation());
5301
0
  }
5302
0
  _impl_.entityname_.InitDefault();
5303
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5304
    _impl_.entityname_.Set("", GetArenaForAllocation());
5305
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5306
0
  if (from._internal_has_entityname()) {
5307
0
    _this->_impl_.entityname_.Set(from._internal_entityname(), 
5308
0
      _this->GetArenaForAllocation());
5309
0
  }
5310
0
  _impl_.displaylog_.InitDefault();
5311
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5312
    _impl_.displaylog_.Set("", GetArenaForAllocation());
5313
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5314
0
  if (from._internal_has_displaylog()) {
5315
0
    _this->_impl_.displaylog_.Set(from._internal_displaylog(), 
5316
0
      _this->GetArenaForAllocation());
5317
0
  }
5318
0
  _impl_.displaydata_.InitDefault();
5319
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5320
    _impl_.displaydata_.Set("", GetArenaForAllocation());
5321
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5322
0
  if (from._internal_has_displaydata()) {
5323
0
    _this->_impl_.displaydata_.Set(from._internal_displaydata(), 
5324
0
      _this->GetArenaForAllocation());
5325
0
  }
5326
0
  _impl_.title_.InitDefault();
5327
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5328
    _impl_.title_.Set("", GetArenaForAllocation());
5329
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5330
0
  if (from._internal_has_title()) {
5331
0
    _this->_impl_.title_.Set(from._internal_title(), 
5332
0
      _this->GetArenaForAllocation());
5333
0
  }
5334
0
  ::memcpy(&_impl_.weight_, &from._impl_.weight_,
5335
0
    static_cast<size_t>(reinterpret_cast<char*>(&_impl_.recovercachetime_) -
5336
0
    reinterpret_cast<char*>(&_impl_.weight_)) + sizeof(_impl_.recovercachetime_));
5337
  // @@protoc_insertion_point(copy_constructor:gss.message.gss_res_t)
5338
0
}
5339
5340
inline void gss_res_t::SharedCtor(
5341
0
    ::_pb::Arena* arena, bool is_message_owned) {
5342
0
  (void)arena;
5343
0
  (void)is_message_owned;
5344
0
  new (&_impl_) Impl_{
5345
0
      decltype(_impl_._has_bits_){}
5346
0
    , /*decltype(_impl_._cached_size_)*/{}
5347
0
    , decltype(_impl_.subresult_){arena}
5348
0
    , decltype(_impl_.resulturl_){}
5349
0
    , decltype(_impl_.display_){}
5350
0
    , decltype(_impl_.urikey_){}
5351
0
    , decltype(_impl_.entityname_){}
5352
0
    , decltype(_impl_.displaylog_){}
5353
0
    , decltype(_impl_.displaydata_){}
5354
0
    , decltype(_impl_.title_){}
5355
0
    , decltype(_impl_.weight_){0}
5356
0
    , decltype(_impl_.sort_){0}
5357
0
    , decltype(_impl_.srcid_){0}
5358
0
    , decltype(_impl_.timingneed_){0}
5359
0
    , decltype(_impl_.wisestrategyflag_){0u}
5360
0
    , decltype(_impl_.degree_){0}
5361
0
    , decltype(_impl_.clickneed_){0}
5362
0
    , decltype(_impl_.strategyinfo_){0}
5363
0
    , decltype(_impl_.spreqtype_){0}
5364
0
    , decltype(_impl_.subresnum_){0}
5365
0
    , decltype(_impl_.restype_){0u}
5366
0
    , decltype(_impl_.recovercachetime_){0}
5367
0
  };
5368
0
  _impl_.resulturl_.InitDefault();
5369
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5370
    _impl_.resulturl_.Set("", GetArenaForAllocation());
5371
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5372
0
  _impl_.display_.InitDefault();
5373
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5374
    _impl_.display_.Set("", GetArenaForAllocation());
5375
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5376
0
  _impl_.urikey_.InitDefault();
5377
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5378
    _impl_.urikey_.Set("", GetArenaForAllocation());
5379
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5380
0
  _impl_.entityname_.InitDefault();
5381
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5382
    _impl_.entityname_.Set("", GetArenaForAllocation());
5383
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5384
0
  _impl_.displaylog_.InitDefault();
5385
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5386
    _impl_.displaylog_.Set("", GetArenaForAllocation());
5387
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5388
0
  _impl_.displaydata_.InitDefault();
5389
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5390
    _impl_.displaydata_.Set("", GetArenaForAllocation());
5391
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5392
0
  _impl_.title_.InitDefault();
5393
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5394
    _impl_.title_.Set("", GetArenaForAllocation());
5395
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5396
0
}
5397
5398
0
gss_res_t::~gss_res_t() {
5399
  // @@protoc_insertion_point(destructor:gss.message.gss_res_t)
5400
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
5401
0
  (void)arena;
5402
0
    return;
5403
0
  }
5404
0
  SharedDtor();
5405
0
}
5406
5407
0
inline void gss_res_t::SharedDtor() {
5408
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
5409
0
  _impl_.subresult_.~RepeatedPtrField();
5410
0
  _impl_.resulturl_.Destroy();
5411
0
  _impl_.display_.Destroy();
5412
0
  _impl_.urikey_.Destroy();
5413
0
  _impl_.entityname_.Destroy();
5414
0
  _impl_.displaylog_.Destroy();
5415
0
  _impl_.displaydata_.Destroy();
5416
0
  _impl_.title_.Destroy();
5417
0
}
5418
5419
0
void gss_res_t::SetCachedSize(int size) const {
5420
0
  _impl_._cached_size_.Set(size);
5421
0
}
5422
5423
0
void gss_res_t::Clear() {
5424
// @@protoc_insertion_point(message_clear_start:gss.message.gss_res_t)
5425
0
  uint32_t cached_has_bits = 0;
5426
  // Prevent compiler warnings about cached_has_bits being unused
5427
0
  (void) cached_has_bits;
5428
5429
0
  _impl_.subresult_.Clear();
5430
0
  cached_has_bits = _impl_._has_bits_[0];
5431
0
  if (cached_has_bits & 0x0000007fu) {
5432
0
    if (cached_has_bits & 0x00000001u) {
5433
0
      _impl_.resulturl_.ClearNonDefaultToEmpty();
5434
0
    }
5435
0
    if (cached_has_bits & 0x00000002u) {
5436
0
      _impl_.display_.ClearNonDefaultToEmpty();
5437
0
    }
5438
0
    if (cached_has_bits & 0x00000004u) {
5439
0
      _impl_.urikey_.ClearNonDefaultToEmpty();
5440
0
    }
5441
0
    if (cached_has_bits & 0x00000008u) {
5442
0
      _impl_.entityname_.ClearNonDefaultToEmpty();
5443
0
    }
5444
0
    if (cached_has_bits & 0x00000010u) {
5445
0
      _impl_.displaylog_.ClearNonDefaultToEmpty();
5446
0
    }
5447
0
    if (cached_has_bits & 0x00000020u) {
5448
0
      _impl_.displaydata_.ClearNonDefaultToEmpty();
5449
0
    }
5450
0
    if (cached_has_bits & 0x00000040u) {
5451
0
      _impl_.title_.ClearNonDefaultToEmpty();
5452
0
    }
5453
0
  }
5454
0
  _impl_.weight_ = 0;
5455
0
  if (cached_has_bits & 0x0000ff00u) {
5456
0
    ::memset(&_impl_.sort_, 0, static_cast<size_t>(
5457
0
        reinterpret_cast<char*>(&_impl_.spreqtype_) -
5458
0
        reinterpret_cast<char*>(&_impl_.sort_)) + sizeof(_impl_.spreqtype_));
5459
0
  }
5460
0
  if (cached_has_bits & 0x00070000u) {
5461
0
    ::memset(&_impl_.subresnum_, 0, static_cast<size_t>(
5462
0
        reinterpret_cast<char*>(&_impl_.recovercachetime_) -
5463
0
        reinterpret_cast<char*>(&_impl_.subresnum_)) + sizeof(_impl_.recovercachetime_));
5464
0
  }
5465
0
  _impl_._has_bits_.Clear();
5466
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
5467
0
}
5468
5469
0
const char* gss_res_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
5470
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
5471
0
  _Internal::HasBits has_bits{};
5472
0
  while (!ctx->Done(&ptr)) {
5473
0
    uint32_t tag;
5474
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
5475
0
    switch (tag >> 3) {
5476
      // required string ResultURL = 2;
5477
0
      case 2:
5478
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
5479
0
          auto str = _internal_mutable_resulturl();
5480
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5481
0
          CHK_(ptr);
5482
0
          #ifndef NDEBUG
5483
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_res_t.ResultURL");
5484
0
          #endif  // !NDEBUG
5485
0
        } else
5486
0
          goto handle_unusual;
5487
0
        continue;
5488
      // optional string Display = 3;
5489
0
      case 3:
5490
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
5491
0
          auto str = _internal_mutable_display();
5492
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5493
0
          CHK_(ptr);
5494
0
          #ifndef NDEBUG
5495
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_res_t.Display");
5496
0
          #endif  // !NDEBUG
5497
0
        } else
5498
0
          goto handle_unusual;
5499
0
        continue;
5500
      // required int32 Weight = 4;
5501
0
      case 4:
5502
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
5503
0
          _Internal::set_has_weight(&has_bits);
5504
0
          _impl_.weight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5505
0
          CHK_(ptr);
5506
0
        } else
5507
0
          goto handle_unusual;
5508
0
        continue;
5509
      // optional int32 Sort = 5;
5510
0
      case 5:
5511
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
5512
0
          _Internal::set_has_sort(&has_bits);
5513
0
          _impl_.sort_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5514
0
          CHK_(ptr);
5515
0
        } else
5516
0
          goto handle_unusual;
5517
0
        continue;
5518
      // optional int32 SrcID = 6;
5519
0
      case 6:
5520
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
5521
0
          _Internal::set_has_srcid(&has_bits);
5522
0
          _impl_.srcid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5523
0
          CHK_(ptr);
5524
0
        } else
5525
0
          goto handle_unusual;
5526
0
        continue;
5527
      // required int32 TimingNeed = 7;
5528
0
      case 7:
5529
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
5530
0
          _Internal::set_has_timingneed(&has_bits);
5531
0
          _impl_.timingneed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5532
0
          CHK_(ptr);
5533
0
        } else
5534
0
          goto handle_unusual;
5535
0
        continue;
5536
      // optional uint32 WiseStrategyFlag = 8;
5537
0
      case 8:
5538
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 64)) {
5539
0
          _Internal::set_has_wisestrategyflag(&has_bits);
5540
0
          _impl_.wisestrategyflag_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5541
0
          CHK_(ptr);
5542
0
        } else
5543
0
          goto handle_unusual;
5544
0
        continue;
5545
      // optional int32 Degree = 9;
5546
0
      case 9:
5547
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 72)) {
5548
0
          _Internal::set_has_degree(&has_bits);
5549
0
          _impl_.degree_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5550
0
          CHK_(ptr);
5551
0
        } else
5552
0
          goto handle_unusual;
5553
0
        continue;
5554
      // optional int32 ClickNeed = 10;
5555
0
      case 10:
5556
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 80)) {
5557
0
          _Internal::set_has_clickneed(&has_bits);
5558
0
          _impl_.clickneed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5559
0
          CHK_(ptr);
5560
0
        } else
5561
0
          goto handle_unusual;
5562
0
        continue;
5563
      // optional int32 StrategyInfo = 11;
5564
0
      case 11:
5565
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
5566
0
          _Internal::set_has_strategyinfo(&has_bits);
5567
0
          _impl_.strategyinfo_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5568
0
          CHK_(ptr);
5569
0
        } else
5570
0
          goto handle_unusual;
5571
0
        continue;
5572
      // optional int32 SpReqType = 12;
5573
0
      case 12:
5574
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 96)) {
5575
0
          _Internal::set_has_spreqtype(&has_bits);
5576
0
          _impl_.spreqtype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5577
0
          CHK_(ptr);
5578
0
        } else
5579
0
          goto handle_unusual;
5580
0
        continue;
5581
      // optional string UriKey = 13;
5582
0
      case 13:
5583
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 106)) {
5584
0
          auto str = _internal_mutable_urikey();
5585
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5586
0
          CHK_(ptr);
5587
0
          #ifndef NDEBUG
5588
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_res_t.UriKey");
5589
0
          #endif  // !NDEBUG
5590
0
        } else
5591
0
          goto handle_unusual;
5592
0
        continue;
5593
      // optional string EntityName = 14;
5594
0
      case 14:
5595
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 114)) {
5596
0
          auto str = _internal_mutable_entityname();
5597
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5598
0
          CHK_(ptr);
5599
0
          #ifndef NDEBUG
5600
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_res_t.EntityName");
5601
0
          #endif  // !NDEBUG
5602
0
        } else
5603
0
          goto handle_unusual;
5604
0
        continue;
5605
      // repeated .gss.message.sub_url_t SubResult = 15;
5606
0
      case 15:
5607
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 122)) {
5608
0
          ptr -= 1;
5609
0
          do {
5610
0
            ptr += 1;
5611
0
            ptr = ctx->ParseMessage(_internal_add_subresult(), ptr);
5612
0
            CHK_(ptr);
5613
0
            if (!ctx->DataAvailable(ptr)) break;
5614
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<122>(ptr));
5615
0
        } else
5616
0
          goto handle_unusual;
5617
0
        continue;
5618
      // optional int32 SubResNum = 16;
5619
0
      case 16:
5620
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 128)) {
5621
0
          _Internal::set_has_subresnum(&has_bits);
5622
0
          _impl_.subresnum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5623
0
          CHK_(ptr);
5624
0
        } else
5625
0
          goto handle_unusual;
5626
0
        continue;
5627
      // optional string DisplayLog = 17;
5628
0
      case 17:
5629
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 138)) {
5630
0
          auto str = _internal_mutable_displaylog();
5631
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5632
0
          CHK_(ptr);
5633
0
          #ifndef NDEBUG
5634
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_res_t.DisplayLog");
5635
0
          #endif  // !NDEBUG
5636
0
        } else
5637
0
          goto handle_unusual;
5638
0
        continue;
5639
      // optional bytes DisplayData = 18;
5640
0
      case 18:
5641
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 146)) {
5642
0
          auto str = _internal_mutable_displaydata();
5643
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5644
0
          CHK_(ptr);
5645
0
        } else
5646
0
          goto handle_unusual;
5647
0
        continue;
5648
      // optional uint32 ResType = 19;
5649
0
      case 19:
5650
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 152)) {
5651
0
          _Internal::set_has_restype(&has_bits);
5652
0
          _impl_.restype_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5653
0
          CHK_(ptr);
5654
0
        } else
5655
0
          goto handle_unusual;
5656
0
        continue;
5657
      // optional string Title = 20;
5658
0
      case 20:
5659
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 162)) {
5660
0
          auto str = _internal_mutable_title();
5661
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
5662
0
          CHK_(ptr);
5663
0
          #ifndef NDEBUG
5664
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_res_t.Title");
5665
0
          #endif  // !NDEBUG
5666
0
        } else
5667
0
          goto handle_unusual;
5668
0
        continue;
5669
      // optional int32 RecoverCacheTime = 21;
5670
0
      case 21:
5671
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 168)) {
5672
0
          _Internal::set_has_recovercachetime(&has_bits);
5673
0
          _impl_.recovercachetime_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
5674
0
          CHK_(ptr);
5675
0
        } else
5676
0
          goto handle_unusual;
5677
0
        continue;
5678
0
      default:
5679
0
        goto handle_unusual;
5680
0
    }  // switch
5681
0
  handle_unusual:
5682
0
    if ((tag == 0) || ((tag & 7) == 4)) {
5683
0
      CHK_(ptr);
5684
0
      ctx->SetLastTag(tag);
5685
0
      goto message_done;
5686
0
    }
5687
0
    ptr = UnknownFieldParse(
5688
0
        tag,
5689
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
5690
0
        ptr, ctx);
5691
0
    CHK_(ptr != nullptr);
5692
0
  }  // while
5693
0
message_done:
5694
0
  _impl_._has_bits_.Or(has_bits);
5695
0
  return ptr;
5696
0
failure:
5697
0
  ptr = nullptr;
5698
0
  goto message_done;
5699
0
#undef CHK_
5700
0
}
5701
5702
uint8_t* gss_res_t::_InternalSerialize(
5703
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
5704
  // @@protoc_insertion_point(serialize_to_array_start:gss.message.gss_res_t)
5705
0
  uint32_t cached_has_bits = 0;
5706
0
  (void) cached_has_bits;
5707
5708
0
  cached_has_bits = _impl_._has_bits_[0];
5709
  // required string ResultURL = 2;
5710
0
  if (cached_has_bits & 0x00000001u) {
5711
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5712
0
      this->_internal_resulturl().data(), static_cast<int>(this->_internal_resulturl().length()),
5713
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5714
0
      "gss.message.gss_res_t.ResultURL");
5715
0
    target = stream->WriteStringMaybeAliased(
5716
0
        2, this->_internal_resulturl(), target);
5717
0
  }
5718
5719
  // optional string Display = 3;
5720
0
  if (cached_has_bits & 0x00000002u) {
5721
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5722
0
      this->_internal_display().data(), static_cast<int>(this->_internal_display().length()),
5723
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5724
0
      "gss.message.gss_res_t.Display");
5725
0
    target = stream->WriteStringMaybeAliased(
5726
0
        3, this->_internal_display(), target);
5727
0
  }
5728
5729
  // required int32 Weight = 4;
5730
0
  if (cached_has_bits & 0x00000080u) {
5731
0
    target = stream->EnsureSpace(target);
5732
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(4, this->_internal_weight(), target);
5733
0
  }
5734
5735
  // optional int32 Sort = 5;
5736
0
  if (cached_has_bits & 0x00000100u) {
5737
0
    target = stream->EnsureSpace(target);
5738
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(5, this->_internal_sort(), target);
5739
0
  }
5740
5741
  // optional int32 SrcID = 6;
5742
0
  if (cached_has_bits & 0x00000200u) {
5743
0
    target = stream->EnsureSpace(target);
5744
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_srcid(), target);
5745
0
  }
5746
5747
  // required int32 TimingNeed = 7;
5748
0
  if (cached_has_bits & 0x00000400u) {
5749
0
    target = stream->EnsureSpace(target);
5750
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_timingneed(), target);
5751
0
  }
5752
5753
  // optional uint32 WiseStrategyFlag = 8;
5754
0
  if (cached_has_bits & 0x00000800u) {
5755
0
    target = stream->EnsureSpace(target);
5756
0
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(8, this->_internal_wisestrategyflag(), target);
5757
0
  }
5758
5759
  // optional int32 Degree = 9;
5760
0
  if (cached_has_bits & 0x00001000u) {
5761
0
    target = stream->EnsureSpace(target);
5762
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(9, this->_internal_degree(), target);
5763
0
  }
5764
5765
  // optional int32 ClickNeed = 10;
5766
0
  if (cached_has_bits & 0x00002000u) {
5767
0
    target = stream->EnsureSpace(target);
5768
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(10, this->_internal_clickneed(), target);
5769
0
  }
5770
5771
  // optional int32 StrategyInfo = 11;
5772
0
  if (cached_has_bits & 0x00004000u) {
5773
0
    target = stream->EnsureSpace(target);
5774
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(11, this->_internal_strategyinfo(), target);
5775
0
  }
5776
5777
  // optional int32 SpReqType = 12;
5778
0
  if (cached_has_bits & 0x00008000u) {
5779
0
    target = stream->EnsureSpace(target);
5780
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(12, this->_internal_spreqtype(), target);
5781
0
  }
5782
5783
  // optional string UriKey = 13;
5784
0
  if (cached_has_bits & 0x00000004u) {
5785
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5786
0
      this->_internal_urikey().data(), static_cast<int>(this->_internal_urikey().length()),
5787
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5788
0
      "gss.message.gss_res_t.UriKey");
5789
0
    target = stream->WriteStringMaybeAliased(
5790
0
        13, this->_internal_urikey(), target);
5791
0
  }
5792
5793
  // optional string EntityName = 14;
5794
0
  if (cached_has_bits & 0x00000008u) {
5795
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5796
0
      this->_internal_entityname().data(), static_cast<int>(this->_internal_entityname().length()),
5797
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5798
0
      "gss.message.gss_res_t.EntityName");
5799
0
    target = stream->WriteStringMaybeAliased(
5800
0
        14, this->_internal_entityname(), target);
5801
0
  }
5802
5803
  // repeated .gss.message.sub_url_t SubResult = 15;
5804
0
  for (unsigned i = 0,
5805
0
      n = static_cast<unsigned>(this->_internal_subresult_size()); i < n; i++) {
5806
0
    const auto& repfield = this->_internal_subresult(i);
5807
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
5808
0
        InternalWriteMessage(15, repfield, repfield.GetCachedSize(), target, stream);
5809
0
  }
5810
5811
  // optional int32 SubResNum = 16;
5812
0
  if (cached_has_bits & 0x00010000u) {
5813
0
    target = stream->EnsureSpace(target);
5814
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(16, this->_internal_subresnum(), target);
5815
0
  }
5816
5817
  // optional string DisplayLog = 17;
5818
0
  if (cached_has_bits & 0x00000010u) {
5819
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5820
0
      this->_internal_displaylog().data(), static_cast<int>(this->_internal_displaylog().length()),
5821
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5822
0
      "gss.message.gss_res_t.DisplayLog");
5823
0
    target = stream->WriteStringMaybeAliased(
5824
0
        17, this->_internal_displaylog(), target);
5825
0
  }
5826
5827
  // optional bytes DisplayData = 18;
5828
0
  if (cached_has_bits & 0x00000020u) {
5829
0
    target = stream->WriteBytesMaybeAliased(
5830
0
        18, this->_internal_displaydata(), target);
5831
0
  }
5832
5833
  // optional uint32 ResType = 19;
5834
0
  if (cached_has_bits & 0x00020000u) {
5835
0
    target = stream->EnsureSpace(target);
5836
0
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(19, this->_internal_restype(), target);
5837
0
  }
5838
5839
  // optional string Title = 20;
5840
0
  if (cached_has_bits & 0x00000040u) {
5841
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
5842
0
      this->_internal_title().data(), static_cast<int>(this->_internal_title().length()),
5843
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
5844
0
      "gss.message.gss_res_t.Title");
5845
0
    target = stream->WriteStringMaybeAliased(
5846
0
        20, this->_internal_title(), target);
5847
0
  }
5848
5849
  // optional int32 RecoverCacheTime = 21;
5850
0
  if (cached_has_bits & 0x00040000u) {
5851
0
    target = stream->EnsureSpace(target);
5852
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(21, this->_internal_recovercachetime(), target);
5853
0
  }
5854
5855
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
5856
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5857
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
5858
0
  }
5859
  // @@protoc_insertion_point(serialize_to_array_end:gss.message.gss_res_t)
5860
0
  return target;
5861
0
}
5862
5863
0
size_t gss_res_t::RequiredFieldsByteSizeFallback() const {
5864
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:gss.message.gss_res_t)
5865
0
  size_t total_size = 0;
5866
5867
0
  if (_internal_has_resulturl()) {
5868
    // required string ResultURL = 2;
5869
0
    total_size += 1 +
5870
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5871
0
        this->_internal_resulturl());
5872
0
  }
5873
5874
0
  if (_internal_has_weight()) {
5875
    // required int32 Weight = 4;
5876
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_weight());
5877
0
  }
5878
5879
0
  if (_internal_has_timingneed()) {
5880
    // required int32 TimingNeed = 7;
5881
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_timingneed());
5882
0
  }
5883
5884
0
  return total_size;
5885
0
}
5886
0
size_t gss_res_t::ByteSizeLong() const {
5887
// @@protoc_insertion_point(message_byte_size_start:gss.message.gss_res_t)
5888
0
  size_t total_size = 0;
5889
5890
0
  if (((_impl_._has_bits_[0] & 0x00000481) ^ 0x00000481) == 0) {  // All required fields are present.
5891
    // required string ResultURL = 2;
5892
0
    total_size += 1 +
5893
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5894
0
        this->_internal_resulturl());
5895
5896
    // required int32 Weight = 4;
5897
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_weight());
5898
5899
    // required int32 TimingNeed = 7;
5900
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_timingneed());
5901
5902
0
  } else {
5903
0
    total_size += RequiredFieldsByteSizeFallback();
5904
0
  }
5905
0
  uint32_t cached_has_bits = 0;
5906
  // Prevent compiler warnings about cached_has_bits being unused
5907
0
  (void) cached_has_bits;
5908
5909
  // repeated .gss.message.sub_url_t SubResult = 15;
5910
0
  total_size += 1UL * this->_internal_subresult_size();
5911
0
  for (const auto& msg : this->_impl_.subresult_) {
5912
0
    total_size +=
5913
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
5914
0
  }
5915
5916
0
  cached_has_bits = _impl_._has_bits_[0];
5917
0
  if (cached_has_bits & 0x0000007eu) {
5918
    // optional string Display = 3;
5919
0
    if (cached_has_bits & 0x00000002u) {
5920
0
      total_size += 1 +
5921
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5922
0
          this->_internal_display());
5923
0
    }
5924
5925
    // optional string UriKey = 13;
5926
0
    if (cached_has_bits & 0x00000004u) {
5927
0
      total_size += 1 +
5928
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5929
0
          this->_internal_urikey());
5930
0
    }
5931
5932
    // optional string EntityName = 14;
5933
0
    if (cached_has_bits & 0x00000008u) {
5934
0
      total_size += 1 +
5935
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5936
0
          this->_internal_entityname());
5937
0
    }
5938
5939
    // optional string DisplayLog = 17;
5940
0
    if (cached_has_bits & 0x00000010u) {
5941
0
      total_size += 2 +
5942
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5943
0
          this->_internal_displaylog());
5944
0
    }
5945
5946
    // optional bytes DisplayData = 18;
5947
0
    if (cached_has_bits & 0x00000020u) {
5948
0
      total_size += 2 +
5949
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
5950
0
          this->_internal_displaydata());
5951
0
    }
5952
5953
    // optional string Title = 20;
5954
0
    if (cached_has_bits & 0x00000040u) {
5955
0
      total_size += 2 +
5956
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
5957
0
          this->_internal_title());
5958
0
    }
5959
5960
0
  }
5961
0
  if (cached_has_bits & 0x00000300u) {
5962
    // optional int32 Sort = 5;
5963
0
    if (cached_has_bits & 0x00000100u) {
5964
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_sort());
5965
0
    }
5966
5967
    // optional int32 SrcID = 6;
5968
0
    if (cached_has_bits & 0x00000200u) {
5969
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_srcid());
5970
0
    }
5971
5972
0
  }
5973
0
  if (cached_has_bits & 0x0000f800u) {
5974
    // optional uint32 WiseStrategyFlag = 8;
5975
0
    if (cached_has_bits & 0x00000800u) {
5976
0
      total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_wisestrategyflag());
5977
0
    }
5978
5979
    // optional int32 Degree = 9;
5980
0
    if (cached_has_bits & 0x00001000u) {
5981
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_degree());
5982
0
    }
5983
5984
    // optional int32 ClickNeed = 10;
5985
0
    if (cached_has_bits & 0x00002000u) {
5986
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_clickneed());
5987
0
    }
5988
5989
    // optional int32 StrategyInfo = 11;
5990
0
    if (cached_has_bits & 0x00004000u) {
5991
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_strategyinfo());
5992
0
    }
5993
5994
    // optional int32 SpReqType = 12;
5995
0
    if (cached_has_bits & 0x00008000u) {
5996
0
      total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_spreqtype());
5997
0
    }
5998
5999
0
  }
6000
0
  if (cached_has_bits & 0x00070000u) {
6001
    // optional int32 SubResNum = 16;
6002
0
    if (cached_has_bits & 0x00010000u) {
6003
0
      total_size += 2 +
6004
0
        ::_pbi::WireFormatLite::Int32Size(
6005
0
          this->_internal_subresnum());
6006
0
    }
6007
6008
    // optional uint32 ResType = 19;
6009
0
    if (cached_has_bits & 0x00020000u) {
6010
0
      total_size += 2 +
6011
0
        ::_pbi::WireFormatLite::UInt32Size(
6012
0
          this->_internal_restype());
6013
0
    }
6014
6015
    // optional int32 RecoverCacheTime = 21;
6016
0
    if (cached_has_bits & 0x00040000u) {
6017
0
      total_size += 2 +
6018
0
        ::_pbi::WireFormatLite::Int32Size(
6019
0
          this->_internal_recovercachetime());
6020
0
    }
6021
6022
0
  }
6023
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6024
0
}
6025
6026
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData gss_res_t::_class_data_ = {
6027
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
6028
    gss_res_t::MergeImpl
6029
};
6030
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*gss_res_t::GetClassData() const { return &_class_data_; }
6031
6032
6033
0
void gss_res_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
6034
0
  auto* const _this = static_cast<gss_res_t*>(&to_msg);
6035
0
  auto& from = static_cast<const gss_res_t&>(from_msg);
6036
  // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.gss_res_t)
6037
0
  GOOGLE_DCHECK_NE(&from, _this);
6038
0
  uint32_t cached_has_bits = 0;
6039
0
  (void) cached_has_bits;
6040
6041
0
  _this->_impl_.subresult_.MergeFrom(from._impl_.subresult_);
6042
0
  cached_has_bits = from._impl_._has_bits_[0];
6043
0
  if (cached_has_bits & 0x000000ffu) {
6044
0
    if (cached_has_bits & 0x00000001u) {
6045
0
      _this->_internal_set_resulturl(from._internal_resulturl());
6046
0
    }
6047
0
    if (cached_has_bits & 0x00000002u) {
6048
0
      _this->_internal_set_display(from._internal_display());
6049
0
    }
6050
0
    if (cached_has_bits & 0x00000004u) {
6051
0
      _this->_internal_set_urikey(from._internal_urikey());
6052
0
    }
6053
0
    if (cached_has_bits & 0x00000008u) {
6054
0
      _this->_internal_set_entityname(from._internal_entityname());
6055
0
    }
6056
0
    if (cached_has_bits & 0x00000010u) {
6057
0
      _this->_internal_set_displaylog(from._internal_displaylog());
6058
0
    }
6059
0
    if (cached_has_bits & 0x00000020u) {
6060
0
      _this->_internal_set_displaydata(from._internal_displaydata());
6061
0
    }
6062
0
    if (cached_has_bits & 0x00000040u) {
6063
0
      _this->_internal_set_title(from._internal_title());
6064
0
    }
6065
0
    if (cached_has_bits & 0x00000080u) {
6066
0
      _this->_impl_.weight_ = from._impl_.weight_;
6067
0
    }
6068
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
6069
0
  }
6070
0
  if (cached_has_bits & 0x0000ff00u) {
6071
0
    if (cached_has_bits & 0x00000100u) {
6072
0
      _this->_impl_.sort_ = from._impl_.sort_;
6073
0
    }
6074
0
    if (cached_has_bits & 0x00000200u) {
6075
0
      _this->_impl_.srcid_ = from._impl_.srcid_;
6076
0
    }
6077
0
    if (cached_has_bits & 0x00000400u) {
6078
0
      _this->_impl_.timingneed_ = from._impl_.timingneed_;
6079
0
    }
6080
0
    if (cached_has_bits & 0x00000800u) {
6081
0
      _this->_impl_.wisestrategyflag_ = from._impl_.wisestrategyflag_;
6082
0
    }
6083
0
    if (cached_has_bits & 0x00001000u) {
6084
0
      _this->_impl_.degree_ = from._impl_.degree_;
6085
0
    }
6086
0
    if (cached_has_bits & 0x00002000u) {
6087
0
      _this->_impl_.clickneed_ = from._impl_.clickneed_;
6088
0
    }
6089
0
    if (cached_has_bits & 0x00004000u) {
6090
0
      _this->_impl_.strategyinfo_ = from._impl_.strategyinfo_;
6091
0
    }
6092
0
    if (cached_has_bits & 0x00008000u) {
6093
0
      _this->_impl_.spreqtype_ = from._impl_.spreqtype_;
6094
0
    }
6095
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
6096
0
  }
6097
0
  if (cached_has_bits & 0x00070000u) {
6098
0
    if (cached_has_bits & 0x00010000u) {
6099
0
      _this->_impl_.subresnum_ = from._impl_.subresnum_;
6100
0
    }
6101
0
    if (cached_has_bits & 0x00020000u) {
6102
0
      _this->_impl_.restype_ = from._impl_.restype_;
6103
0
    }
6104
0
    if (cached_has_bits & 0x00040000u) {
6105
0
      _this->_impl_.recovercachetime_ = from._impl_.recovercachetime_;
6106
0
    }
6107
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
6108
0
  }
6109
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6110
0
}
6111
6112
0
void gss_res_t::CopyFrom(const gss_res_t& from) {
6113
// @@protoc_insertion_point(class_specific_copy_from_start:gss.message.gss_res_t)
6114
0
  if (&from == this) return;
6115
0
  Clear();
6116
0
  MergeFrom(from);
6117
0
}
6118
6119
0
bool gss_res_t::IsInitialized() const {
6120
0
  if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
6121
0
  if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.subresult_))
6122
0
    return false;
6123
0
  return true;
6124
0
}
6125
6126
0
void gss_res_t::InternalSwap(gss_res_t* other) {
6127
0
  using std::swap;
6128
0
  auto* lhs_arena = GetArenaForAllocation();
6129
0
  auto* rhs_arena = other->GetArenaForAllocation();
6130
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6131
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6132
0
  _impl_.subresult_.InternalSwap(&other->_impl_.subresult_);
6133
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6134
0
      &_impl_.resulturl_, lhs_arena,
6135
0
      &other->_impl_.resulturl_, rhs_arena
6136
0
  );
6137
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6138
0
      &_impl_.display_, lhs_arena,
6139
0
      &other->_impl_.display_, rhs_arena
6140
0
  );
6141
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6142
0
      &_impl_.urikey_, lhs_arena,
6143
0
      &other->_impl_.urikey_, rhs_arena
6144
0
  );
6145
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6146
0
      &_impl_.entityname_, lhs_arena,
6147
0
      &other->_impl_.entityname_, rhs_arena
6148
0
  );
6149
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6150
0
      &_impl_.displaylog_, lhs_arena,
6151
0
      &other->_impl_.displaylog_, rhs_arena
6152
0
  );
6153
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6154
0
      &_impl_.displaydata_, lhs_arena,
6155
0
      &other->_impl_.displaydata_, rhs_arena
6156
0
  );
6157
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6158
0
      &_impl_.title_, lhs_arena,
6159
0
      &other->_impl_.title_, rhs_arena
6160
0
  );
6161
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
6162
0
      PROTOBUF_FIELD_OFFSET(gss_res_t, _impl_.recovercachetime_)
6163
0
      + sizeof(gss_res_t::_impl_.recovercachetime_)
6164
0
      - PROTOBUF_FIELD_OFFSET(gss_res_t, _impl_.weight_)>(
6165
0
          reinterpret_cast<char*>(&_impl_.weight_),
6166
0
          reinterpret_cast<char*>(&other->_impl_.weight_));
6167
0
}
6168
6169
0
::PROTOBUF_NAMESPACE_ID::Metadata gss_res_t::GetMetadata() const {
6170
0
  return ::_pbi::AssignDescriptors(
6171
0
      &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once,
6172
0
      file_level_metadata_message_2eproto[6]);
6173
0
}
6174
6175
// ===================================================================
6176
6177
class item_t::_Internal {
6178
 public:
6179
  using HasBits = decltype(std::declval<item_t>()._impl_._has_bits_);
6180
0
  static void set_has_title(HasBits* has_bits) {
6181
0
    (*has_bits)[0] |= 1u;
6182
0
  }
6183
0
  static void set_has_content(HasBits* has_bits) {
6184
0
    (*has_bits)[0] |= 2u;
6185
0
  }
6186
0
  static void set_has_parent(HasBits* has_bits) {
6187
0
    (*has_bits)[0] |= 4u;
6188
0
  }
6189
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
6190
0
    return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
6191
0
  }
6192
};
6193
6194
item_t::item_t(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6195
                         bool is_message_owned)
6196
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
6197
0
  SharedCtor(arena, is_message_owned);
6198
  // @@protoc_insertion_point(arena_constructor:gss.message.item_t)
6199
0
}
6200
item_t::item_t(const item_t& from)
6201
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
6202
0
  item_t* const _this = this; (void)_this;
6203
0
  new (&_impl_) Impl_{
6204
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
6205
0
    , /*decltype(_impl_._cached_size_)*/{}
6206
0
    , decltype(_impl_.title_){}
6207
0
    , decltype(_impl_.content_){}
6208
0
    , decltype(_impl_.parent_){}};
6209
6210
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6211
0
  _impl_.title_.InitDefault();
6212
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6213
    _impl_.title_.Set("", GetArenaForAllocation());
6214
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6215
0
  if (from._internal_has_title()) {
6216
0
    _this->_impl_.title_.Set(from._internal_title(), 
6217
0
      _this->GetArenaForAllocation());
6218
0
  }
6219
0
  _impl_.content_.InitDefault();
6220
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6221
    _impl_.content_.Set("", GetArenaForAllocation());
6222
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6223
0
  if (from._internal_has_content()) {
6224
0
    _this->_impl_.content_.Set(from._internal_content(), 
6225
0
      _this->GetArenaForAllocation());
6226
0
  }
6227
0
  _this->_impl_.parent_ = from._impl_.parent_;
6228
  // @@protoc_insertion_point(copy_constructor:gss.message.item_t)
6229
0
}
6230
6231
inline void item_t::SharedCtor(
6232
0
    ::_pb::Arena* arena, bool is_message_owned) {
6233
0
  (void)arena;
6234
0
  (void)is_message_owned;
6235
0
  new (&_impl_) Impl_{
6236
0
      decltype(_impl_._has_bits_){}
6237
0
    , /*decltype(_impl_._cached_size_)*/{}
6238
0
    , decltype(_impl_.title_){}
6239
0
    , decltype(_impl_.content_){}
6240
0
    , decltype(_impl_.parent_){0}
6241
0
  };
6242
0
  _impl_.title_.InitDefault();
6243
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6244
    _impl_.title_.Set("", GetArenaForAllocation());
6245
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6246
0
  _impl_.content_.InitDefault();
6247
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6248
    _impl_.content_.Set("", GetArenaForAllocation());
6249
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6250
0
}
6251
6252
0
item_t::~item_t() {
6253
  // @@protoc_insertion_point(destructor:gss.message.item_t)
6254
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
6255
0
  (void)arena;
6256
0
    return;
6257
0
  }
6258
0
  SharedDtor();
6259
0
}
6260
6261
0
inline void item_t::SharedDtor() {
6262
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6263
0
  _impl_.title_.Destroy();
6264
0
  _impl_.content_.Destroy();
6265
0
}
6266
6267
0
void item_t::SetCachedSize(int size) const {
6268
0
  _impl_._cached_size_.Set(size);
6269
0
}
6270
6271
0
void item_t::Clear() {
6272
// @@protoc_insertion_point(message_clear_start:gss.message.item_t)
6273
0
  uint32_t cached_has_bits = 0;
6274
  // Prevent compiler warnings about cached_has_bits being unused
6275
0
  (void) cached_has_bits;
6276
6277
0
  cached_has_bits = _impl_._has_bits_[0];
6278
0
  if (cached_has_bits & 0x00000003u) {
6279
0
    if (cached_has_bits & 0x00000001u) {
6280
0
      _impl_.title_.ClearNonDefaultToEmpty();
6281
0
    }
6282
0
    if (cached_has_bits & 0x00000002u) {
6283
0
      _impl_.content_.ClearNonDefaultToEmpty();
6284
0
    }
6285
0
  }
6286
0
  _impl_.parent_ = 0;
6287
0
  _impl_._has_bits_.Clear();
6288
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
6289
0
}
6290
6291
0
const char* item_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
6292
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6293
0
  _Internal::HasBits has_bits{};
6294
0
  while (!ctx->Done(&ptr)) {
6295
0
    uint32_t tag;
6296
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
6297
0
    switch (tag >> 3) {
6298
      // required string title = 1;
6299
0
      case 1:
6300
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
6301
0
          auto str = _internal_mutable_title();
6302
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6303
0
          CHK_(ptr);
6304
0
          #ifndef NDEBUG
6305
0
          ::_pbi::VerifyUTF8(str, "gss.message.item_t.title");
6306
0
          #endif  // !NDEBUG
6307
0
        } else
6308
0
          goto handle_unusual;
6309
0
        continue;
6310
      // required string content = 2;
6311
0
      case 2:
6312
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
6313
0
          auto str = _internal_mutable_content();
6314
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6315
0
          CHK_(ptr);
6316
0
          #ifndef NDEBUG
6317
0
          ::_pbi::VerifyUTF8(str, "gss.message.item_t.content");
6318
0
          #endif  // !NDEBUG
6319
0
        } else
6320
0
          goto handle_unusual;
6321
0
        continue;
6322
      // required int32 parent = 3;
6323
0
      case 3:
6324
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
6325
0
          _Internal::set_has_parent(&has_bits);
6326
0
          _impl_.parent_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
6327
0
          CHK_(ptr);
6328
0
        } else
6329
0
          goto handle_unusual;
6330
0
        continue;
6331
0
      default:
6332
0
        goto handle_unusual;
6333
0
    }  // switch
6334
0
  handle_unusual:
6335
0
    if ((tag == 0) || ((tag & 7) == 4)) {
6336
0
      CHK_(ptr);
6337
0
      ctx->SetLastTag(tag);
6338
0
      goto message_done;
6339
0
    }
6340
0
    ptr = UnknownFieldParse(
6341
0
        tag,
6342
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
6343
0
        ptr, ctx);
6344
0
    CHK_(ptr != nullptr);
6345
0
  }  // while
6346
0
message_done:
6347
0
  _impl_._has_bits_.Or(has_bits);
6348
0
  return ptr;
6349
0
failure:
6350
0
  ptr = nullptr;
6351
0
  goto message_done;
6352
0
#undef CHK_
6353
0
}
6354
6355
uint8_t* item_t::_InternalSerialize(
6356
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6357
  // @@protoc_insertion_point(serialize_to_array_start:gss.message.item_t)
6358
0
  uint32_t cached_has_bits = 0;
6359
0
  (void) cached_has_bits;
6360
6361
0
  cached_has_bits = _impl_._has_bits_[0];
6362
  // required string title = 1;
6363
0
  if (cached_has_bits & 0x00000001u) {
6364
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6365
0
      this->_internal_title().data(), static_cast<int>(this->_internal_title().length()),
6366
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6367
0
      "gss.message.item_t.title");
6368
0
    target = stream->WriteStringMaybeAliased(
6369
0
        1, this->_internal_title(), target);
6370
0
  }
6371
6372
  // required string content = 2;
6373
0
  if (cached_has_bits & 0x00000002u) {
6374
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6375
0
      this->_internal_content().data(), static_cast<int>(this->_internal_content().length()),
6376
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6377
0
      "gss.message.item_t.content");
6378
0
    target = stream->WriteStringMaybeAliased(
6379
0
        2, this->_internal_content(), target);
6380
0
  }
6381
6382
  // required int32 parent = 3;
6383
0
  if (cached_has_bits & 0x00000004u) {
6384
0
    target = stream->EnsureSpace(target);
6385
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(3, this->_internal_parent(), target);
6386
0
  }
6387
6388
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6389
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6390
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
6391
0
  }
6392
  // @@protoc_insertion_point(serialize_to_array_end:gss.message.item_t)
6393
0
  return target;
6394
0
}
6395
6396
0
size_t item_t::RequiredFieldsByteSizeFallback() const {
6397
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:gss.message.item_t)
6398
0
  size_t total_size = 0;
6399
6400
0
  if (_internal_has_title()) {
6401
    // required string title = 1;
6402
0
    total_size += 1 +
6403
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6404
0
        this->_internal_title());
6405
0
  }
6406
6407
0
  if (_internal_has_content()) {
6408
    // required string content = 2;
6409
0
    total_size += 1 +
6410
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6411
0
        this->_internal_content());
6412
0
  }
6413
6414
0
  if (_internal_has_parent()) {
6415
    // required int32 parent = 3;
6416
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_parent());
6417
0
  }
6418
6419
0
  return total_size;
6420
0
}
6421
0
size_t item_t::ByteSizeLong() const {
6422
// @@protoc_insertion_point(message_byte_size_start:gss.message.item_t)
6423
0
  size_t total_size = 0;
6424
6425
0
  if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) {  // All required fields are present.
6426
    // required string title = 1;
6427
0
    total_size += 1 +
6428
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6429
0
        this->_internal_title());
6430
6431
    // required string content = 2;
6432
0
    total_size += 1 +
6433
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6434
0
        this->_internal_content());
6435
6436
    // required int32 parent = 3;
6437
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_parent());
6438
6439
0
  } else {
6440
0
    total_size += RequiredFieldsByteSizeFallback();
6441
0
  }
6442
0
  uint32_t cached_has_bits = 0;
6443
  // Prevent compiler warnings about cached_has_bits being unused
6444
0
  (void) cached_has_bits;
6445
6446
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6447
0
}
6448
6449
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData item_t::_class_data_ = {
6450
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
6451
    item_t::MergeImpl
6452
};
6453
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*item_t::GetClassData() const { return &_class_data_; }
6454
6455
6456
0
void item_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
6457
0
  auto* const _this = static_cast<item_t*>(&to_msg);
6458
0
  auto& from = static_cast<const item_t&>(from_msg);
6459
  // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.item_t)
6460
0
  GOOGLE_DCHECK_NE(&from, _this);
6461
0
  uint32_t cached_has_bits = 0;
6462
0
  (void) cached_has_bits;
6463
6464
0
  cached_has_bits = from._impl_._has_bits_[0];
6465
0
  if (cached_has_bits & 0x00000007u) {
6466
0
    if (cached_has_bits & 0x00000001u) {
6467
0
      _this->_internal_set_title(from._internal_title());
6468
0
    }
6469
0
    if (cached_has_bits & 0x00000002u) {
6470
0
      _this->_internal_set_content(from._internal_content());
6471
0
    }
6472
0
    if (cached_has_bits & 0x00000004u) {
6473
0
      _this->_impl_.parent_ = from._impl_.parent_;
6474
0
    }
6475
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
6476
0
  }
6477
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6478
0
}
6479
6480
0
void item_t::CopyFrom(const item_t& from) {
6481
// @@protoc_insertion_point(class_specific_copy_from_start:gss.message.item_t)
6482
0
  if (&from == this) return;
6483
0
  Clear();
6484
0
  MergeFrom(from);
6485
0
}
6486
6487
0
bool item_t::IsInitialized() const {
6488
0
  if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
6489
0
  return true;
6490
0
}
6491
6492
0
void item_t::InternalSwap(item_t* other) {
6493
0
  using std::swap;
6494
0
  auto* lhs_arena = GetArenaForAllocation();
6495
0
  auto* rhs_arena = other->GetArenaForAllocation();
6496
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6497
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6498
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6499
0
      &_impl_.title_, lhs_arena,
6500
0
      &other->_impl_.title_, rhs_arena
6501
0
  );
6502
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6503
0
      &_impl_.content_, lhs_arena,
6504
0
      &other->_impl_.content_, rhs_arena
6505
0
  );
6506
0
  swap(_impl_.parent_, other->_impl_.parent_);
6507
0
}
6508
6509
0
::PROTOBUF_NAMESPACE_ID::Metadata item_t::GetMetadata() const {
6510
0
  return ::_pbi::AssignDescriptors(
6511
0
      &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once,
6512
0
      file_level_metadata_message_2eproto[7]);
6513
0
}
6514
6515
// ===================================================================
6516
6517
class debug_info_t::_Internal {
6518
 public:
6519
  using HasBits = decltype(std::declval<debug_info_t>()._impl_._has_bits_);
6520
0
  static void set_has_idebug(HasBits* has_bits) {
6521
0
    (*has_bits)[0] |= 1u;
6522
0
  }
6523
};
6524
6525
debug_info_t::debug_info_t(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6526
                         bool is_message_owned)
6527
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
6528
0
  SharedCtor(arena, is_message_owned);
6529
  // @@protoc_insertion_point(arena_constructor:gss.message.debug_info_t)
6530
0
}
6531
debug_info_t::debug_info_t(const debug_info_t& from)
6532
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
6533
0
  debug_info_t* const _this = this; (void)_this;
6534
0
  new (&_impl_) Impl_{
6535
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
6536
0
    , /*decltype(_impl_._cached_size_)*/{}
6537
0
    , decltype(_impl_.item_info_){from._impl_.item_info_}
6538
0
    , decltype(_impl_.anchor_info_){from._impl_.anchor_info_}
6539
0
    , decltype(_impl_.debug_info_){from._impl_.debug_info_}
6540
0
    , decltype(_impl_.idebug_){}};
6541
6542
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6543
0
  _impl_.idebug_.InitDefault();
6544
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6545
    _impl_.idebug_.Set("", GetArenaForAllocation());
6546
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6547
0
  if (from._internal_has_idebug()) {
6548
0
    _this->_impl_.idebug_.Set(from._internal_idebug(), 
6549
0
      _this->GetArenaForAllocation());
6550
0
  }
6551
  // @@protoc_insertion_point(copy_constructor:gss.message.debug_info_t)
6552
0
}
6553
6554
inline void debug_info_t::SharedCtor(
6555
0
    ::_pb::Arena* arena, bool is_message_owned) {
6556
0
  (void)arena;
6557
0
  (void)is_message_owned;
6558
0
  new (&_impl_) Impl_{
6559
0
      decltype(_impl_._has_bits_){}
6560
0
    , /*decltype(_impl_._cached_size_)*/{}
6561
0
    , decltype(_impl_.item_info_){arena}
6562
0
    , decltype(_impl_.anchor_info_){arena}
6563
0
    , decltype(_impl_.debug_info_){arena}
6564
0
    , decltype(_impl_.idebug_){}
6565
0
  };
6566
0
  _impl_.idebug_.InitDefault();
6567
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6568
    _impl_.idebug_.Set("", GetArenaForAllocation());
6569
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6570
0
}
6571
6572
0
debug_info_t::~debug_info_t() {
6573
  // @@protoc_insertion_point(destructor:gss.message.debug_info_t)
6574
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
6575
0
  (void)arena;
6576
0
    return;
6577
0
  }
6578
0
  SharedDtor();
6579
0
}
6580
6581
0
inline void debug_info_t::SharedDtor() {
6582
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6583
0
  _impl_.item_info_.~RepeatedPtrField();
6584
0
  _impl_.anchor_info_.~RepeatedPtrField();
6585
0
  _impl_.debug_info_.~RepeatedPtrField();
6586
0
  _impl_.idebug_.Destroy();
6587
0
}
6588
6589
0
void debug_info_t::SetCachedSize(int size) const {
6590
0
  _impl_._cached_size_.Set(size);
6591
0
}
6592
6593
0
void debug_info_t::Clear() {
6594
// @@protoc_insertion_point(message_clear_start:gss.message.debug_info_t)
6595
0
  uint32_t cached_has_bits = 0;
6596
  // Prevent compiler warnings about cached_has_bits being unused
6597
0
  (void) cached_has_bits;
6598
6599
0
  _impl_.item_info_.Clear();
6600
0
  _impl_.anchor_info_.Clear();
6601
0
  _impl_.debug_info_.Clear();
6602
0
  cached_has_bits = _impl_._has_bits_[0];
6603
0
  if (cached_has_bits & 0x00000001u) {
6604
0
    _impl_.idebug_.ClearNonDefaultToEmpty();
6605
0
  }
6606
0
  _impl_._has_bits_.Clear();
6607
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
6608
0
}
6609
6610
0
const char* debug_info_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
6611
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
6612
0
  _Internal::HasBits has_bits{};
6613
0
  while (!ctx->Done(&ptr)) {
6614
0
    uint32_t tag;
6615
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
6616
0
    switch (tag >> 3) {
6617
      // optional bytes idebug = 1;
6618
0
      case 1:
6619
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
6620
0
          auto str = _internal_mutable_idebug();
6621
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6622
0
          CHK_(ptr);
6623
0
        } else
6624
0
          goto handle_unusual;
6625
0
        continue;
6626
      // repeated string item_info = 2;
6627
0
      case 2:
6628
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
6629
0
          ptr -= 1;
6630
0
          do {
6631
0
            ptr += 1;
6632
0
            auto str = _internal_add_item_info();
6633
0
            ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6634
0
            CHK_(ptr);
6635
0
            #ifndef NDEBUG
6636
0
            ::_pbi::VerifyUTF8(str, "gss.message.debug_info_t.item_info");
6637
0
            #endif  // !NDEBUG
6638
0
            if (!ctx->DataAvailable(ptr)) break;
6639
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
6640
0
        } else
6641
0
          goto handle_unusual;
6642
0
        continue;
6643
      // repeated string anchor_info = 3;
6644
0
      case 3:
6645
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
6646
0
          ptr -= 1;
6647
0
          do {
6648
0
            ptr += 1;
6649
0
            auto str = _internal_add_anchor_info();
6650
0
            ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
6651
0
            CHK_(ptr);
6652
0
            #ifndef NDEBUG
6653
0
            ::_pbi::VerifyUTF8(str, "gss.message.debug_info_t.anchor_info");
6654
0
            #endif  // !NDEBUG
6655
0
            if (!ctx->DataAvailable(ptr)) break;
6656
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
6657
0
        } else
6658
0
          goto handle_unusual;
6659
0
        continue;
6660
      // repeated .gss.message.item_t debug_info = 4 [deprecated = true];
6661
0
      case 4:
6662
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
6663
0
          ptr -= 1;
6664
0
          do {
6665
0
            ptr += 1;
6666
0
            ptr = ctx->ParseMessage(_internal_add_debug_info(), ptr);
6667
0
            CHK_(ptr);
6668
0
            if (!ctx->DataAvailable(ptr)) break;
6669
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr));
6670
0
        } else
6671
0
          goto handle_unusual;
6672
0
        continue;
6673
0
      default:
6674
0
        goto handle_unusual;
6675
0
    }  // switch
6676
0
  handle_unusual:
6677
0
    if ((tag == 0) || ((tag & 7) == 4)) {
6678
0
      CHK_(ptr);
6679
0
      ctx->SetLastTag(tag);
6680
0
      goto message_done;
6681
0
    }
6682
0
    ptr = UnknownFieldParse(
6683
0
        tag,
6684
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
6685
0
        ptr, ctx);
6686
0
    CHK_(ptr != nullptr);
6687
0
  }  // while
6688
0
message_done:
6689
0
  _impl_._has_bits_.Or(has_bits);
6690
0
  return ptr;
6691
0
failure:
6692
0
  ptr = nullptr;
6693
0
  goto message_done;
6694
0
#undef CHK_
6695
0
}
6696
6697
uint8_t* debug_info_t::_InternalSerialize(
6698
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
6699
  // @@protoc_insertion_point(serialize_to_array_start:gss.message.debug_info_t)
6700
0
  uint32_t cached_has_bits = 0;
6701
0
  (void) cached_has_bits;
6702
6703
0
  cached_has_bits = _impl_._has_bits_[0];
6704
  // optional bytes idebug = 1;
6705
0
  if (cached_has_bits & 0x00000001u) {
6706
0
    target = stream->WriteBytesMaybeAliased(
6707
0
        1, this->_internal_idebug(), target);
6708
0
  }
6709
6710
  // repeated string item_info = 2;
6711
0
  for (int i = 0, n = this->_internal_item_info_size(); i < n; i++) {
6712
0
    const auto& s = this->_internal_item_info(i);
6713
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6714
0
      s.data(), static_cast<int>(s.length()),
6715
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6716
0
      "gss.message.debug_info_t.item_info");
6717
0
    target = stream->WriteString(2, s, target);
6718
0
  }
6719
6720
  // repeated string anchor_info = 3;
6721
0
  for (int i = 0, n = this->_internal_anchor_info_size(); i < n; i++) {
6722
0
    const auto& s = this->_internal_anchor_info(i);
6723
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
6724
0
      s.data(), static_cast<int>(s.length()),
6725
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
6726
0
      "gss.message.debug_info_t.anchor_info");
6727
0
    target = stream->WriteString(3, s, target);
6728
0
  }
6729
6730
  // repeated .gss.message.item_t debug_info = 4 [deprecated = true];
6731
0
  for (unsigned i = 0,
6732
0
      n = static_cast<unsigned>(this->_internal_debug_info_size()); i < n; i++) {
6733
0
    const auto& repfield = this->_internal_debug_info(i);
6734
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
6735
0
        InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream);
6736
0
  }
6737
6738
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
6739
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6740
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
6741
0
  }
6742
  // @@protoc_insertion_point(serialize_to_array_end:gss.message.debug_info_t)
6743
0
  return target;
6744
0
}
6745
6746
0
size_t debug_info_t::ByteSizeLong() const {
6747
// @@protoc_insertion_point(message_byte_size_start:gss.message.debug_info_t)
6748
0
  size_t total_size = 0;
6749
6750
0
  uint32_t cached_has_bits = 0;
6751
  // Prevent compiler warnings about cached_has_bits being unused
6752
0
  (void) cached_has_bits;
6753
6754
  // repeated string item_info = 2;
6755
0
  total_size += 1 *
6756
0
      ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.item_info_.size());
6757
0
  for (int i = 0, n = _impl_.item_info_.size(); i < n; i++) {
6758
0
    total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6759
0
      _impl_.item_info_.Get(i));
6760
0
  }
6761
6762
  // repeated string anchor_info = 3;
6763
0
  total_size += 1 *
6764
0
      ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.anchor_info_.size());
6765
0
  for (int i = 0, n = _impl_.anchor_info_.size(); i < n; i++) {
6766
0
    total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
6767
0
      _impl_.anchor_info_.Get(i));
6768
0
  }
6769
6770
  // repeated .gss.message.item_t debug_info = 4 [deprecated = true];
6771
0
  total_size += 1UL * this->_internal_debug_info_size();
6772
0
  for (const auto& msg : this->_impl_.debug_info_) {
6773
0
    total_size +=
6774
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
6775
0
  }
6776
6777
  // optional bytes idebug = 1;
6778
0
  cached_has_bits = _impl_._has_bits_[0];
6779
0
  if (cached_has_bits & 0x00000001u) {
6780
0
    total_size += 1 +
6781
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
6782
0
        this->_internal_idebug());
6783
0
  }
6784
6785
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
6786
0
}
6787
6788
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData debug_info_t::_class_data_ = {
6789
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
6790
    debug_info_t::MergeImpl
6791
};
6792
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*debug_info_t::GetClassData() const { return &_class_data_; }
6793
6794
6795
0
void debug_info_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
6796
0
  auto* const _this = static_cast<debug_info_t*>(&to_msg);
6797
0
  auto& from = static_cast<const debug_info_t&>(from_msg);
6798
  // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.debug_info_t)
6799
0
  GOOGLE_DCHECK_NE(&from, _this);
6800
0
  uint32_t cached_has_bits = 0;
6801
0
  (void) cached_has_bits;
6802
6803
0
  _this->_impl_.item_info_.MergeFrom(from._impl_.item_info_);
6804
0
  _this->_impl_.anchor_info_.MergeFrom(from._impl_.anchor_info_);
6805
0
  _this->_impl_.debug_info_.MergeFrom(from._impl_.debug_info_);
6806
0
  if (from._internal_has_idebug()) {
6807
0
    _this->_internal_set_idebug(from._internal_idebug());
6808
0
  }
6809
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6810
0
}
6811
6812
0
void debug_info_t::CopyFrom(const debug_info_t& from) {
6813
// @@protoc_insertion_point(class_specific_copy_from_start:gss.message.debug_info_t)
6814
0
  if (&from == this) return;
6815
0
  Clear();
6816
0
  MergeFrom(from);
6817
0
}
6818
6819
0
bool debug_info_t::IsInitialized() const {
6820
0
  if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.debug_info_))
6821
0
    return false;
6822
0
  return true;
6823
0
}
6824
6825
0
void debug_info_t::InternalSwap(debug_info_t* other) {
6826
0
  using std::swap;
6827
0
  auto* lhs_arena = GetArenaForAllocation();
6828
0
  auto* rhs_arena = other->GetArenaForAllocation();
6829
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6830
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6831
0
  _impl_.item_info_.InternalSwap(&other->_impl_.item_info_);
6832
0
  _impl_.anchor_info_.InternalSwap(&other->_impl_.anchor_info_);
6833
0
  _impl_.debug_info_.InternalSwap(&other->_impl_.debug_info_);
6834
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
6835
0
      &_impl_.idebug_, lhs_arena,
6836
0
      &other->_impl_.idebug_, rhs_arena
6837
0
  );
6838
0
}
6839
6840
0
::PROTOBUF_NAMESPACE_ID::Metadata debug_info_t::GetMetadata() const {
6841
0
  return ::_pbi::AssignDescriptors(
6842
0
      &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once,
6843
0
      file_level_metadata_message_2eproto[8]);
6844
0
}
6845
6846
// ===================================================================
6847
6848
class gss_us_res_t::_Internal {
6849
 public:
6850
  using HasBits = decltype(std::declval<gss_us_res_t>()._impl_._has_bits_);
6851
0
  static void set_has_resultcode(HasBits* has_bits) {
6852
0
    (*has_bits)[0] |= 32u;
6853
0
  }
6854
0
  static void set_has_queryid(HasBits* has_bits) {
6855
0
    (*has_bits)[0] |= 16u;
6856
0
  }
6857
0
  static void set_has_resultnum(HasBits* has_bits) {
6858
0
    (*has_bits)[0] |= 64u;
6859
0
  }
6860
  static const ::gss::message::debug_info_t& info(const gss_us_res_t* msg);
6861
0
  static void set_has_info(HasBits* has_bits) {
6862
0
    (*has_bits)[0] |= 8u;
6863
0
  }
6864
0
  static void set_has_bfe_cached_time(HasBits* has_bits) {
6865
0
    (*has_bits)[0] |= 128u;
6866
0
  }
6867
0
  static void set_has_bfe_cached_islocate(HasBits* has_bits) {
6868
0
    (*has_bits)[0] |= 256u;
6869
0
  }
6870
0
  static void set_has_disp_data_url_ex(HasBits* has_bits) {
6871
0
    (*has_bits)[0] |= 1u;
6872
0
  }
6873
0
  static void set_has_disp_data_query_ex(HasBits* has_bits) {
6874
0
    (*has_bits)[0] |= 2u;
6875
0
  }
6876
0
  static void set_has_name(HasBits* has_bits) {
6877
0
    (*has_bits)[0] |= 4u;
6878
0
  }
6879
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
6880
0
    return ((has_bits[0] & 0x00000070) ^ 0x00000070) != 0;
6881
0
  }
6882
};
6883
6884
const ::gss::message::debug_info_t&
6885
0
gss_us_res_t::_Internal::info(const gss_us_res_t* msg) {
6886
0
  return *msg->_impl_.info_;
6887
0
}
6888
gss_us_res_t::gss_us_res_t(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6889
                         bool is_message_owned)
6890
0
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
6891
0
  SharedCtor(arena, is_message_owned);
6892
  // @@protoc_insertion_point(arena_constructor:gss.message.gss_us_res_t)
6893
0
}
6894
gss_us_res_t::gss_us_res_t(const gss_us_res_t& from)
6895
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
6896
0
  gss_us_res_t* const _this = this; (void)_this;
6897
0
  new (&_impl_) Impl_{
6898
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
6899
0
    , /*decltype(_impl_._cached_size_)*/{}
6900
0
    , decltype(_impl_.result_){from._impl_.result_}
6901
0
    , decltype(_impl_.disp_data_url_ex_){}
6902
0
    , decltype(_impl_.disp_data_query_ex_){}
6903
0
    , decltype(_impl_.name_){}
6904
0
    , decltype(_impl_.info_){nullptr}
6905
0
    , decltype(_impl_.queryid_){}
6906
0
    , decltype(_impl_.resultcode_){}
6907
0
    , decltype(_impl_.resultnum_){}
6908
0
    , decltype(_impl_.bfe_cached_time_){}
6909
0
    , decltype(_impl_.bfe_cached_islocate_){}};
6910
6911
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
6912
0
  _impl_.disp_data_url_ex_.InitDefault();
6913
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6914
    _impl_.disp_data_url_ex_.Set("", GetArenaForAllocation());
6915
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6916
0
  if (from._internal_has_disp_data_url_ex()) {
6917
0
    _this->_impl_.disp_data_url_ex_.Set(from._internal_disp_data_url_ex(), 
6918
0
      _this->GetArenaForAllocation());
6919
0
  }
6920
0
  _impl_.disp_data_query_ex_.InitDefault();
6921
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6922
    _impl_.disp_data_query_ex_.Set("", GetArenaForAllocation());
6923
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6924
0
  if (from._internal_has_disp_data_query_ex()) {
6925
0
    _this->_impl_.disp_data_query_ex_.Set(from._internal_disp_data_query_ex(), 
6926
0
      _this->GetArenaForAllocation());
6927
0
  }
6928
0
  _impl_.name_.InitDefault();
6929
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6930
    _impl_.name_.Set("", GetArenaForAllocation());
6931
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6932
0
  if (from._internal_has_name()) {
6933
0
    _this->_impl_.name_.Set(from._internal_name(), 
6934
0
      _this->GetArenaForAllocation());
6935
0
  }
6936
0
  if (from._internal_has_info()) {
6937
0
    _this->_impl_.info_ = new ::gss::message::debug_info_t(*from._impl_.info_);
6938
0
  }
6939
0
  ::memcpy(&_impl_.queryid_, &from._impl_.queryid_,
6940
0
    static_cast<size_t>(reinterpret_cast<char*>(&_impl_.bfe_cached_islocate_) -
6941
0
    reinterpret_cast<char*>(&_impl_.queryid_)) + sizeof(_impl_.bfe_cached_islocate_));
6942
  // @@protoc_insertion_point(copy_constructor:gss.message.gss_us_res_t)
6943
0
}
6944
6945
inline void gss_us_res_t::SharedCtor(
6946
0
    ::_pb::Arena* arena, bool is_message_owned) {
6947
0
  (void)arena;
6948
0
  (void)is_message_owned;
6949
0
  new (&_impl_) Impl_{
6950
0
      decltype(_impl_._has_bits_){}
6951
0
    , /*decltype(_impl_._cached_size_)*/{}
6952
0
    , decltype(_impl_.result_){arena}
6953
0
    , decltype(_impl_.disp_data_url_ex_){}
6954
0
    , decltype(_impl_.disp_data_query_ex_){}
6955
0
    , decltype(_impl_.name_){}
6956
0
    , decltype(_impl_.info_){nullptr}
6957
0
    , decltype(_impl_.queryid_){uint64_t{0u}}
6958
0
    , decltype(_impl_.resultcode_){0}
6959
0
    , decltype(_impl_.resultnum_){0u}
6960
0
    , decltype(_impl_.bfe_cached_time_){0}
6961
0
    , decltype(_impl_.bfe_cached_islocate_){0}
6962
0
  };
6963
0
  _impl_.disp_data_url_ex_.InitDefault();
6964
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6965
    _impl_.disp_data_url_ex_.Set("", GetArenaForAllocation());
6966
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6967
0
  _impl_.disp_data_query_ex_.InitDefault();
6968
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6969
    _impl_.disp_data_query_ex_.Set("", GetArenaForAllocation());
6970
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6971
0
  _impl_.name_.InitDefault();
6972
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6973
    _impl_.name_.Set("", GetArenaForAllocation());
6974
  #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
6975
0
}
6976
6977
0
gss_us_res_t::~gss_us_res_t() {
6978
  // @@protoc_insertion_point(destructor:gss.message.gss_us_res_t)
6979
0
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
6980
0
  (void)arena;
6981
0
    return;
6982
0
  }
6983
0
  SharedDtor();
6984
0
}
6985
6986
0
inline void gss_us_res_t::SharedDtor() {
6987
0
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
6988
0
  _impl_.result_.~RepeatedPtrField();
6989
0
  _impl_.disp_data_url_ex_.Destroy();
6990
0
  _impl_.disp_data_query_ex_.Destroy();
6991
0
  _impl_.name_.Destroy();
6992
0
  if (this != internal_default_instance()) delete _impl_.info_;
6993
0
}
6994
6995
0
void gss_us_res_t::SetCachedSize(int size) const {
6996
0
  _impl_._cached_size_.Set(size);
6997
0
}
6998
6999
0
void gss_us_res_t::Clear() {
7000
// @@protoc_insertion_point(message_clear_start:gss.message.gss_us_res_t)
7001
0
  uint32_t cached_has_bits = 0;
7002
  // Prevent compiler warnings about cached_has_bits being unused
7003
0
  (void) cached_has_bits;
7004
7005
0
  _impl_.result_.Clear();
7006
0
  cached_has_bits = _impl_._has_bits_[0];
7007
0
  if (cached_has_bits & 0x0000000fu) {
7008
0
    if (cached_has_bits & 0x00000001u) {
7009
0
      _impl_.disp_data_url_ex_.ClearNonDefaultToEmpty();
7010
0
    }
7011
0
    if (cached_has_bits & 0x00000002u) {
7012
0
      _impl_.disp_data_query_ex_.ClearNonDefaultToEmpty();
7013
0
    }
7014
0
    if (cached_has_bits & 0x00000004u) {
7015
0
      _impl_.name_.ClearNonDefaultToEmpty();
7016
0
    }
7017
0
    if (cached_has_bits & 0x00000008u) {
7018
0
      GOOGLE_DCHECK(_impl_.info_ != nullptr);
7019
0
      _impl_.info_->Clear();
7020
0
    }
7021
0
  }
7022
0
  if (cached_has_bits & 0x000000f0u) {
7023
0
    ::memset(&_impl_.queryid_, 0, static_cast<size_t>(
7024
0
        reinterpret_cast<char*>(&_impl_.bfe_cached_time_) -
7025
0
        reinterpret_cast<char*>(&_impl_.queryid_)) + sizeof(_impl_.bfe_cached_time_));
7026
0
  }
7027
0
  _impl_.bfe_cached_islocate_ = 0;
7028
0
  _impl_._has_bits_.Clear();
7029
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
7030
0
}
7031
7032
0
const char* gss_us_res_t::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
7033
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
7034
0
  _Internal::HasBits has_bits{};
7035
0
  while (!ctx->Done(&ptr)) {
7036
0
    uint32_t tag;
7037
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
7038
0
    switch (tag >> 3) {
7039
      // required int32 ResultCode = 1;
7040
0
      case 1:
7041
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
7042
0
          _Internal::set_has_resultcode(&has_bits);
7043
0
          _impl_.resultcode_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7044
0
          CHK_(ptr);
7045
0
        } else
7046
0
          goto handle_unusual;
7047
0
        continue;
7048
      // required uint64 QueryID = 2;
7049
0
      case 2:
7050
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
7051
0
          _Internal::set_has_queryid(&has_bits);
7052
0
          _impl_.queryid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
7053
0
          CHK_(ptr);
7054
0
        } else
7055
0
          goto handle_unusual;
7056
0
        continue;
7057
      // repeated .gss.message.gss_res_t Result = 3;
7058
0
      case 3:
7059
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
7060
0
          ptr -= 1;
7061
0
          do {
7062
0
            ptr += 1;
7063
0
            ptr = ctx->ParseMessage(_internal_add_result(), ptr);
7064
0
            CHK_(ptr);
7065
0
            if (!ctx->DataAvailable(ptr)) break;
7066
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
7067
0
        } else
7068
0
          goto handle_unusual;
7069
0
        continue;
7070
      // required uint32 ResultNum = 4;
7071
0
      case 4:
7072
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
7073
0
          _Internal::set_has_resultnum(&has_bits);
7074
0
          _impl_.resultnum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7075
0
          CHK_(ptr);
7076
0
        } else
7077
0
          goto handle_unusual;
7078
0
        continue;
7079
      // optional .gss.message.debug_info_t info = 5;
7080
0
      case 5:
7081
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
7082
0
          ptr = ctx->ParseMessage(_internal_mutable_info(), ptr);
7083
0
          CHK_(ptr);
7084
0
        } else
7085
0
          goto handle_unusual;
7086
0
        continue;
7087
      // optional int32 bfe_cached_time = 6;
7088
0
      case 6:
7089
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
7090
0
          _Internal::set_has_bfe_cached_time(&has_bits);
7091
0
          _impl_.bfe_cached_time_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7092
0
          CHK_(ptr);
7093
0
        } else
7094
0
          goto handle_unusual;
7095
0
        continue;
7096
      // optional int32 bfe_cached_islocate = 7;
7097
0
      case 7:
7098
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 56)) {
7099
0
          _Internal::set_has_bfe_cached_islocate(&has_bits);
7100
0
          _impl_.bfe_cached_islocate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
7101
0
          CHK_(ptr);
7102
0
        } else
7103
0
          goto handle_unusual;
7104
0
        continue;
7105
      // optional bytes disp_data_url_ex = 8;
7106
0
      case 8:
7107
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
7108
0
          auto str = _internal_mutable_disp_data_url_ex();
7109
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
7110
0
          CHK_(ptr);
7111
0
        } else
7112
0
          goto handle_unusual;
7113
0
        continue;
7114
      // optional bytes disp_data_query_ex = 9;
7115
0
      case 9:
7116
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
7117
0
          auto str = _internal_mutable_disp_data_query_ex();
7118
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
7119
0
          CHK_(ptr);
7120
0
        } else
7121
0
          goto handle_unusual;
7122
0
        continue;
7123
      // optional string name = 20;
7124
0
      case 20:
7125
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 162)) {
7126
0
          auto str = _internal_mutable_name();
7127
0
          ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
7128
0
          CHK_(ptr);
7129
0
          #ifndef NDEBUG
7130
0
          ::_pbi::VerifyUTF8(str, "gss.message.gss_us_res_t.name");
7131
0
          #endif  // !NDEBUG
7132
0
        } else
7133
0
          goto handle_unusual;
7134
0
        continue;
7135
0
      default:
7136
0
        goto handle_unusual;
7137
0
    }  // switch
7138
0
  handle_unusual:
7139
0
    if ((tag == 0) || ((tag & 7) == 4)) {
7140
0
      CHK_(ptr);
7141
0
      ctx->SetLastTag(tag);
7142
0
      goto message_done;
7143
0
    }
7144
0
    ptr = UnknownFieldParse(
7145
0
        tag,
7146
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
7147
0
        ptr, ctx);
7148
0
    CHK_(ptr != nullptr);
7149
0
  }  // while
7150
0
message_done:
7151
0
  _impl_._has_bits_.Or(has_bits);
7152
0
  return ptr;
7153
0
failure:
7154
0
  ptr = nullptr;
7155
0
  goto message_done;
7156
0
#undef CHK_
7157
0
}
7158
7159
uint8_t* gss_us_res_t::_InternalSerialize(
7160
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
7161
  // @@protoc_insertion_point(serialize_to_array_start:gss.message.gss_us_res_t)
7162
0
  uint32_t cached_has_bits = 0;
7163
0
  (void) cached_has_bits;
7164
7165
0
  cached_has_bits = _impl_._has_bits_[0];
7166
  // required int32 ResultCode = 1;
7167
0
  if (cached_has_bits & 0x00000020u) {
7168
0
    target = stream->EnsureSpace(target);
7169
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_resultcode(), target);
7170
0
  }
7171
7172
  // required uint64 QueryID = 2;
7173
0
  if (cached_has_bits & 0x00000010u) {
7174
0
    target = stream->EnsureSpace(target);
7175
0
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_queryid(), target);
7176
0
  }
7177
7178
  // repeated .gss.message.gss_res_t Result = 3;
7179
0
  for (unsigned i = 0,
7180
0
      n = static_cast<unsigned>(this->_internal_result_size()); i < n; i++) {
7181
0
    const auto& repfield = this->_internal_result(i);
7182
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7183
0
        InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
7184
0
  }
7185
7186
  // required uint32 ResultNum = 4;
7187
0
  if (cached_has_bits & 0x00000040u) {
7188
0
    target = stream->EnsureSpace(target);
7189
0
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_resultnum(), target);
7190
0
  }
7191
7192
  // optional .gss.message.debug_info_t info = 5;
7193
0
  if (cached_has_bits & 0x00000008u) {
7194
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
7195
0
      InternalWriteMessage(5, _Internal::info(this),
7196
0
        _Internal::info(this).GetCachedSize(), target, stream);
7197
0
  }
7198
7199
  // optional int32 bfe_cached_time = 6;
7200
0
  if (cached_has_bits & 0x00000080u) {
7201
0
    target = stream->EnsureSpace(target);
7202
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(6, this->_internal_bfe_cached_time(), target);
7203
0
  }
7204
7205
  // optional int32 bfe_cached_islocate = 7;
7206
0
  if (cached_has_bits & 0x00000100u) {
7207
0
    target = stream->EnsureSpace(target);
7208
0
    target = ::_pbi::WireFormatLite::WriteInt32ToArray(7, this->_internal_bfe_cached_islocate(), target);
7209
0
  }
7210
7211
  // optional bytes disp_data_url_ex = 8;
7212
0
  if (cached_has_bits & 0x00000001u) {
7213
0
    target = stream->WriteBytesMaybeAliased(
7214
0
        8, this->_internal_disp_data_url_ex(), target);
7215
0
  }
7216
7217
  // optional bytes disp_data_query_ex = 9;
7218
0
  if (cached_has_bits & 0x00000002u) {
7219
0
    target = stream->WriteBytesMaybeAliased(
7220
0
        9, this->_internal_disp_data_query_ex(), target);
7221
0
  }
7222
7223
  // optional string name = 20;
7224
0
  if (cached_has_bits & 0x00000004u) {
7225
0
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
7226
0
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
7227
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
7228
0
      "gss.message.gss_us_res_t.name");
7229
0
    target = stream->WriteStringMaybeAliased(
7230
0
        20, this->_internal_name(), target);
7231
0
  }
7232
7233
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
7234
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7235
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
7236
0
  }
7237
  // @@protoc_insertion_point(serialize_to_array_end:gss.message.gss_us_res_t)
7238
0
  return target;
7239
0
}
7240
7241
0
size_t gss_us_res_t::RequiredFieldsByteSizeFallback() const {
7242
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:gss.message.gss_us_res_t)
7243
0
  size_t total_size = 0;
7244
7245
0
  if (_internal_has_queryid()) {
7246
    // required uint64 QueryID = 2;
7247
0
    total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_queryid());
7248
0
  }
7249
7250
0
  if (_internal_has_resultcode()) {
7251
    // required int32 ResultCode = 1;
7252
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_resultcode());
7253
0
  }
7254
7255
0
  if (_internal_has_resultnum()) {
7256
    // required uint32 ResultNum = 4;
7257
0
    total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_resultnum());
7258
0
  }
7259
7260
0
  return total_size;
7261
0
}
7262
0
size_t gss_us_res_t::ByteSizeLong() const {
7263
// @@protoc_insertion_point(message_byte_size_start:gss.message.gss_us_res_t)
7264
0
  size_t total_size = 0;
7265
7266
0
  if (((_impl_._has_bits_[0] & 0x00000070) ^ 0x00000070) == 0) {  // All required fields are present.
7267
    // required uint64 QueryID = 2;
7268
0
    total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_queryid());
7269
7270
    // required int32 ResultCode = 1;
7271
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_resultcode());
7272
7273
    // required uint32 ResultNum = 4;
7274
0
    total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_resultnum());
7275
7276
0
  } else {
7277
0
    total_size += RequiredFieldsByteSizeFallback();
7278
0
  }
7279
0
  uint32_t cached_has_bits = 0;
7280
  // Prevent compiler warnings about cached_has_bits being unused
7281
0
  (void) cached_has_bits;
7282
7283
  // repeated .gss.message.gss_res_t Result = 3;
7284
0
  total_size += 1UL * this->_internal_result_size();
7285
0
  for (const auto& msg : this->_impl_.result_) {
7286
0
    total_size +=
7287
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
7288
0
  }
7289
7290
0
  cached_has_bits = _impl_._has_bits_[0];
7291
0
  if (cached_has_bits & 0x0000000fu) {
7292
    // optional bytes disp_data_url_ex = 8;
7293
0
    if (cached_has_bits & 0x00000001u) {
7294
0
      total_size += 1 +
7295
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
7296
0
          this->_internal_disp_data_url_ex());
7297
0
    }
7298
7299
    // optional bytes disp_data_query_ex = 9;
7300
0
    if (cached_has_bits & 0x00000002u) {
7301
0
      total_size += 1 +
7302
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
7303
0
          this->_internal_disp_data_query_ex());
7304
0
    }
7305
7306
    // optional string name = 20;
7307
0
    if (cached_has_bits & 0x00000004u) {
7308
0
      total_size += 2 +
7309
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
7310
0
          this->_internal_name());
7311
0
    }
7312
7313
    // optional .gss.message.debug_info_t info = 5;
7314
0
    if (cached_has_bits & 0x00000008u) {
7315
0
      total_size += 1 +
7316
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
7317
0
          *_impl_.info_);
7318
0
    }
7319
7320
0
  }
7321
  // optional int32 bfe_cached_time = 6;
7322
0
  if (cached_has_bits & 0x00000080u) {
7323
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_bfe_cached_time());
7324
0
  }
7325
7326
  // optional int32 bfe_cached_islocate = 7;
7327
0
  if (cached_has_bits & 0x00000100u) {
7328
0
    total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_bfe_cached_islocate());
7329
0
  }
7330
7331
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
7332
0
}
7333
7334
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData gss_us_res_t::_class_data_ = {
7335
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
7336
    gss_us_res_t::MergeImpl
7337
};
7338
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*gss_us_res_t::GetClassData() const { return &_class_data_; }
7339
7340
7341
0
void gss_us_res_t::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
7342
0
  auto* const _this = static_cast<gss_us_res_t*>(&to_msg);
7343
0
  auto& from = static_cast<const gss_us_res_t&>(from_msg);
7344
  // @@protoc_insertion_point(class_specific_merge_from_start:gss.message.gss_us_res_t)
7345
0
  GOOGLE_DCHECK_NE(&from, _this);
7346
0
  uint32_t cached_has_bits = 0;
7347
0
  (void) cached_has_bits;
7348
7349
0
  _this->_impl_.result_.MergeFrom(from._impl_.result_);
7350
0
  cached_has_bits = from._impl_._has_bits_[0];
7351
0
  if (cached_has_bits & 0x000000ffu) {
7352
0
    if (cached_has_bits & 0x00000001u) {
7353
0
      _this->_internal_set_disp_data_url_ex(from._internal_disp_data_url_ex());
7354
0
    }
7355
0
    if (cached_has_bits & 0x00000002u) {
7356
0
      _this->_internal_set_disp_data_query_ex(from._internal_disp_data_query_ex());
7357
0
    }
7358
0
    if (cached_has_bits & 0x00000004u) {
7359
0
      _this->_internal_set_name(from._internal_name());
7360
0
    }
7361
0
    if (cached_has_bits & 0x00000008u) {
7362
0
      _this->_internal_mutable_info()->::gss::message::debug_info_t::MergeFrom(
7363
0
          from._internal_info());
7364
0
    }
7365
0
    if (cached_has_bits & 0x00000010u) {
7366
0
      _this->_impl_.queryid_ = from._impl_.queryid_;
7367
0
    }
7368
0
    if (cached_has_bits & 0x00000020u) {
7369
0
      _this->_impl_.resultcode_ = from._impl_.resultcode_;
7370
0
    }
7371
0
    if (cached_has_bits & 0x00000040u) {
7372
0
      _this->_impl_.resultnum_ = from._impl_.resultnum_;
7373
0
    }
7374
0
    if (cached_has_bits & 0x00000080u) {
7375
0
      _this->_impl_.bfe_cached_time_ = from._impl_.bfe_cached_time_;
7376
0
    }
7377
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
7378
0
  }
7379
0
  if (cached_has_bits & 0x00000100u) {
7380
0
    _this->_internal_set_bfe_cached_islocate(from._internal_bfe_cached_islocate());
7381
0
  }
7382
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
7383
0
}
7384
7385
0
void gss_us_res_t::CopyFrom(const gss_us_res_t& from) {
7386
// @@protoc_insertion_point(class_specific_copy_from_start:gss.message.gss_us_res_t)
7387
0
  if (&from == this) return;
7388
0
  Clear();
7389
0
  MergeFrom(from);
7390
0
}
7391
7392
0
bool gss_us_res_t::IsInitialized() const {
7393
0
  if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
7394
0
  if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.result_))
7395
0
    return false;
7396
0
  if (_internal_has_info()) {
7397
0
    if (!_impl_.info_->IsInitialized()) return false;
7398
0
  }
7399
0
  return true;
7400
0
}
7401
7402
0
void gss_us_res_t::InternalSwap(gss_us_res_t* other) {
7403
0
  using std::swap;
7404
0
  auto* lhs_arena = GetArenaForAllocation();
7405
0
  auto* rhs_arena = other->GetArenaForAllocation();
7406
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7407
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7408
0
  _impl_.result_.InternalSwap(&other->_impl_.result_);
7409
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7410
0
      &_impl_.disp_data_url_ex_, lhs_arena,
7411
0
      &other->_impl_.disp_data_url_ex_, rhs_arena
7412
0
  );
7413
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7414
0
      &_impl_.disp_data_query_ex_, lhs_arena,
7415
0
      &other->_impl_.disp_data_query_ex_, rhs_arena
7416
0
  );
7417
0
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
7418
0
      &_impl_.name_, lhs_arena,
7419
0
      &other->_impl_.name_, rhs_arena
7420
0
  );
7421
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
7422
0
      PROTOBUF_FIELD_OFFSET(gss_us_res_t, _impl_.bfe_cached_islocate_)
7423
0
      + sizeof(gss_us_res_t::_impl_.bfe_cached_islocate_)
7424
0
      - PROTOBUF_FIELD_OFFSET(gss_us_res_t, _impl_.info_)>(
7425
0
          reinterpret_cast<char*>(&_impl_.info_),
7426
0
          reinterpret_cast<char*>(&other->_impl_.info_));
7427
0
}
7428
7429
0
::PROTOBUF_NAMESPACE_ID::Metadata gss_us_res_t::GetMetadata() const {
7430
0
  return ::_pbi::AssignDescriptors(
7431
0
      &descriptor_table_message_2eproto_getter, &descriptor_table_message_2eproto_once,
7432
0
      file_level_metadata_message_2eproto[9]);
7433
0
}
7434
7435
// @@protoc_insertion_point(namespace_scope)
7436
}  // namespace message
7437
}  // namespace gss
7438
PROTOBUF_NAMESPACE_OPEN
7439
template<> PROTOBUF_NOINLINE ::gss::message::gss_src_req_t*
7440
0
Arena::CreateMaybeMessage< ::gss::message::gss_src_req_t >(Arena* arena) {
7441
0
  return Arena::CreateMessageInternal< ::gss::message::gss_src_req_t >(arena);
7442
0
}
7443
template<> PROTOBUF_NOINLINE ::gss::message::ua_info_t*
7444
0
Arena::CreateMaybeMessage< ::gss::message::ua_info_t >(Arena* arena) {
7445
0
  return Arena::CreateMessageInternal< ::gss::message::ua_info_t >(arena);
7446
0
}
7447
template<> PROTOBUF_NOINLINE ::gss::message::app_info_t*
7448
0
Arena::CreateMaybeMessage< ::gss::message::app_info_t >(Arena* arena) {
7449
0
  return Arena::CreateMessageInternal< ::gss::message::app_info_t >(arena);
7450
0
}
7451
template<> PROTOBUF_NOINLINE ::gss::message::us_gss_req_t*
7452
0
Arena::CreateMaybeMessage< ::gss::message::us_gss_req_t >(Arena* arena) {
7453
0
  return Arena::CreateMessageInternal< ::gss::message::us_gss_req_t >(arena);
7454
0
}
7455
template<> PROTOBUF_NOINLINE ::gss::message::UserAgent*
7456
0
Arena::CreateMaybeMessage< ::gss::message::UserAgent >(Arena* arena) {
7457
0
  return Arena::CreateMessageInternal< ::gss::message::UserAgent >(arena);
7458
0
}
7459
template<> PROTOBUF_NOINLINE ::gss::message::sub_url_t*
7460
0
Arena::CreateMaybeMessage< ::gss::message::sub_url_t >(Arena* arena) {
7461
0
  return Arena::CreateMessageInternal< ::gss::message::sub_url_t >(arena);
7462
0
}
7463
template<> PROTOBUF_NOINLINE ::gss::message::gss_res_t*
7464
0
Arena::CreateMaybeMessage< ::gss::message::gss_res_t >(Arena* arena) {
7465
0
  return Arena::CreateMessageInternal< ::gss::message::gss_res_t >(arena);
7466
0
}
7467
template<> PROTOBUF_NOINLINE ::gss::message::item_t*
7468
0
Arena::CreateMaybeMessage< ::gss::message::item_t >(Arena* arena) {
7469
0
  return Arena::CreateMessageInternal< ::gss::message::item_t >(arena);
7470
0
}
7471
template<> PROTOBUF_NOINLINE ::gss::message::debug_info_t*
7472
0
Arena::CreateMaybeMessage< ::gss::message::debug_info_t >(Arena* arena) {
7473
0
  return Arena::CreateMessageInternal< ::gss::message::debug_info_t >(arena);
7474
0
}
7475
template<> PROTOBUF_NOINLINE ::gss::message::gss_us_res_t*
7476
0
Arena::CreateMaybeMessage< ::gss::message::gss_us_res_t >(Arena* arena) {
7477
0
  return Arena::CreateMessageInternal< ::gss::message::gss_us_res_t >(arena);
7478
0
}
7479
PROTOBUF_NAMESPACE_CLOSE
7480
7481
// @@protoc_insertion_point(global_scope)
7482
#include <google/protobuf/port_undef.inc>