Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: featuresfile.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #include "featuresfile.pb.h"
7 :
8 : #include <algorithm>
9 : #include <type_traits>
10 : #include "google/protobuf/io/coded_stream.h"
11 : #include "google/protobuf/generated_message_tctable_impl.h"
12 : #include "google/protobuf/extension_set.h"
13 : #include "google/protobuf/generated_message_util.h"
14 : #include "google/protobuf/wire_format_lite.h"
15 : #include "google/protobuf/descriptor.h"
16 : #include "google/protobuf/generated_message_reflection.h"
17 : #include "google/protobuf/reflection_ops.h"
18 : #include "google/protobuf/wire_format.h"
19 : // @@protoc_insertion_point(includes)
20 :
21 : // Must be included last.
22 : #include "google/protobuf/port_def.inc"
23 : PROTOBUF_PRAGMA_INIT_SEG
24 : namespace _pb = ::google::protobuf;
25 : namespace _pbi = ::google::protobuf::internal;
26 : namespace _fl = ::google::protobuf::internal::field_layout;
27 : namespace Odb {
28 : namespace Lib {
29 : namespace Protobuf {
30 : template <typename>
31 : PROTOBUF_CONSTEXPR FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse(::_pbi::ConstantInitialized)
32 : #if defined(PROTOBUF_CUSTOM_VTABLE)
33 : : FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::MapEntry(FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse_class_data_.base()){}
34 : #else // PROTOBUF_CUSTOM_VTABLE
35 : : FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::MapEntry() {
36 : }
37 : #endif // PROTOBUF_CUSTOM_VTABLE
38 : struct FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUseDefaultTypeInternal {
39 : PROTOBUF_CONSTEXPR FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
40 319 : ~FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUseDefaultTypeInternal() {}
41 : union {
42 : FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse _instance;
43 : };
44 : };
45 :
46 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
47 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUseDefaultTypeInternal _FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse_default_instance_;
48 : template <typename>
49 : PROTOBUF_CONSTEXPR FeaturesFile_SymbolNamesByNameEntry_DoNotUse::FeaturesFile_SymbolNamesByNameEntry_DoNotUse(::_pbi::ConstantInitialized)
50 : #if defined(PROTOBUF_CUSTOM_VTABLE)
51 : : FeaturesFile_SymbolNamesByNameEntry_DoNotUse::MapEntry(FeaturesFile_SymbolNamesByNameEntry_DoNotUse_class_data_.base()){}
52 : #else // PROTOBUF_CUSTOM_VTABLE
53 : : FeaturesFile_SymbolNamesByNameEntry_DoNotUse::MapEntry() {
54 : }
55 : #endif // PROTOBUF_CUSTOM_VTABLE
56 : struct FeaturesFile_SymbolNamesByNameEntry_DoNotUseDefaultTypeInternal {
57 : PROTOBUF_CONSTEXPR FeaturesFile_SymbolNamesByNameEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
58 319 : ~FeaturesFile_SymbolNamesByNameEntry_DoNotUseDefaultTypeInternal() {}
59 : union {
60 : FeaturesFile_SymbolNamesByNameEntry_DoNotUse _instance;
61 : };
62 : };
63 :
64 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
65 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeaturesFile_SymbolNamesByNameEntry_DoNotUseDefaultTypeInternal _FeaturesFile_SymbolNamesByNameEntry_DoNotUse_default_instance_;
66 :
67 : inline constexpr FeaturesFile_FeatureRecord::Impl_::Impl_(
68 : ::_pbi::ConstantInitialized) noexcept
69 : : _cached_size_{0},
70 : contourpolygons_{},
71 : font_(
72 : &::google::protobuf::internal::fixed_address_empty_string,
73 : ::_pbi::ConstantInitialized()),
74 : text_(
75 : &::google::protobuf::internal::fixed_address_empty_string,
76 : ::_pbi::ConstantInitialized()),
77 : value_(
78 : &::google::protobuf::internal::fixed_address_empty_string,
79 : ::_pbi::ConstantInitialized()),
80 : xs_{0},
81 : ys_{0},
82 : xe_{0},
83 : type_{static_cast< ::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord_Type >(0)},
84 : apt_def_{0},
85 : ye_{0},
86 : x_{0},
87 : y_{0},
88 : apt_def_resize_factor_{0},
89 : xc_{0},
90 : apt_def_symbol_num_{0},
91 : cw_{false},
92 : yc_{0},
93 : xsize_{0},
94 : ysize_{0},
95 : width_factor_{0},
96 : version_{0},
97 : sym_num_{0},
98 : polarity_{static_cast< ::Odb::Lib::Protobuf::Polarity >(0)},
99 : dcode_{0},
100 : atr_{0},
101 : id_{0u},
102 : orient_def_rotation_{0},
103 : orient_def_{0},
104 : attributelookuptable_{} {}
105 :
106 : template <typename>
107 : PROTOBUF_CONSTEXPR FeaturesFile_FeatureRecord::FeaturesFile_FeatureRecord(::_pbi::ConstantInitialized)
108 : #if defined(PROTOBUF_CUSTOM_VTABLE)
109 : : ::google::protobuf::Message(FeaturesFile_FeatureRecord_class_data_.base()),
110 : #else // PROTOBUF_CUSTOM_VTABLE
111 : : ::google::protobuf::Message(),
112 : #endif // PROTOBUF_CUSTOM_VTABLE
113 : _impl_(::_pbi::ConstantInitialized()) {
114 : }
115 : struct FeaturesFile_FeatureRecordDefaultTypeInternal {
116 : PROTOBUF_CONSTEXPR FeaturesFile_FeatureRecordDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
117 319 : ~FeaturesFile_FeatureRecordDefaultTypeInternal() {}
118 : union {
119 : FeaturesFile_FeatureRecord _instance;
120 : };
121 : };
122 :
123 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
124 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeaturesFile_FeatureRecordDefaultTypeInternal _FeaturesFile_FeatureRecord_default_instance_;
125 :
126 : inline constexpr FeaturesFile::Impl_::Impl_(
127 : ::_pbi::ConstantInitialized) noexcept
128 : : _cached_size_{0},
129 : featurerecords_{},
130 : symbolnames_{},
131 : units_(
132 : &::google::protobuf::internal::fixed_address_empty_string,
133 : ::_pbi::ConstantInitialized()),
134 : path_(
135 : &::google::protobuf::internal::fixed_address_empty_string,
136 : ::_pbi::ConstantInitialized()),
137 : directory_(
138 : &::google::protobuf::internal::fixed_address_empty_string,
139 : ::_pbi::ConstantInitialized()),
140 : id_{0u},
141 : numfeatures_{0},
142 : symbolnamesbyname_{} {}
143 :
144 : template <typename>
145 : PROTOBUF_CONSTEXPR FeaturesFile::FeaturesFile(::_pbi::ConstantInitialized)
146 : #if defined(PROTOBUF_CUSTOM_VTABLE)
147 : : ::google::protobuf::Message(FeaturesFile_class_data_.base()),
148 : #else // PROTOBUF_CUSTOM_VTABLE
149 : : ::google::protobuf::Message(),
150 : #endif // PROTOBUF_CUSTOM_VTABLE
151 : _impl_(::_pbi::ConstantInitialized()) {
152 : }
153 : struct FeaturesFileDefaultTypeInternal {
154 : PROTOBUF_CONSTEXPR FeaturesFileDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
155 319 : ~FeaturesFileDefaultTypeInternal() {}
156 : union {
157 : FeaturesFile _instance;
158 : };
159 : };
160 :
161 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
162 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeaturesFileDefaultTypeInternal _FeaturesFile_default_instance_;
163 : } // namespace Protobuf
164 : } // namespace Lib
165 : } // namespace Odb
166 : static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
167 : file_level_enum_descriptors_featuresfile_2eproto[1];
168 : static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
169 : file_level_service_descriptors_featuresfile_2eproto = nullptr;
170 : const ::uint32_t
171 : TableStruct_featuresfile_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
172 : protodesc_cold) = {
173 : 0x081, // bitmap
174 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse, _impl_._has_bits_),
175 : 5, // hasbit index offset
176 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse, _impl_.key_),
177 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse, _impl_.value_),
178 : 0,
179 : 1,
180 : 0x081, // bitmap
181 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_._has_bits_),
182 : 32, // hasbit index offset
183 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.type_),
184 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.xs_),
185 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.ys_),
186 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.xe_),
187 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.ye_),
188 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.x_),
189 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.y_),
190 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.apt_def_),
191 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.apt_def_symbol_num_),
192 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.apt_def_resize_factor_),
193 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.xc_),
194 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.yc_),
195 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.cw_),
196 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.font_),
197 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.xsize_),
198 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.ysize_),
199 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.width_factor_),
200 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.text_),
201 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.version_),
202 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.sym_num_),
203 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.polarity_),
204 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.dcode_),
205 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.atr_),
206 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.value_),
207 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.id_),
208 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.orient_def_),
209 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.orient_def_rotation_),
210 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.contourpolygons_),
211 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord, _impl_.attributelookuptable_),
212 : 7,
213 : 4,
214 : 5,
215 : 6,
216 : 9,
217 : 10,
218 : 11,
219 : 8,
220 : 14,
221 : 12,
222 : 13,
223 : 16,
224 : 15,
225 : 1,
226 : 17,
227 : 18,
228 : 19,
229 : 2,
230 : 20,
231 : 21,
232 : 22,
233 : 23,
234 : 24,
235 : 3,
236 : 25,
237 : 27,
238 : 26,
239 : 0,
240 : 28,
241 : 0x081, // bitmap
242 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_SymbolNamesByNameEntry_DoNotUse, _impl_._has_bits_),
243 : 5, // hasbit index offset
244 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_SymbolNamesByNameEntry_DoNotUse, _impl_.key_),
245 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile_SymbolNamesByNameEntry_DoNotUse, _impl_.value_),
246 : 0,
247 : 1,
248 : 0x081, // bitmap
249 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile, _impl_._has_bits_),
250 : 11, // hasbit index offset
251 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile, _impl_.units_),
252 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile, _impl_.id_),
253 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile, _impl_.path_),
254 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile, _impl_.directory_),
255 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile, _impl_.numfeatures_),
256 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile, _impl_.featurerecords_),
257 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile, _impl_.symbolnamesbyname_),
258 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FeaturesFile, _impl_.symbolnames_),
259 : 2,
260 : 5,
261 : 3,
262 : 4,
263 : 6,
264 : 0,
265 : 7,
266 : 1,
267 : };
268 :
269 : static const ::_pbi::MigrationSchema
270 : schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
271 : {0, sizeof(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse)},
272 : {7, sizeof(::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord)},
273 : {68, sizeof(::Odb::Lib::Protobuf::FeaturesFile_SymbolNamesByNameEntry_DoNotUse)},
274 : {75, sizeof(::Odb::Lib::Protobuf::FeaturesFile)},
275 : };
276 : static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
277 : &::Odb::Lib::Protobuf::_FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse_default_instance_._instance,
278 : &::Odb::Lib::Protobuf::_FeaturesFile_FeatureRecord_default_instance_._instance,
279 : &::Odb::Lib::Protobuf::_FeaturesFile_SymbolNamesByNameEntry_DoNotUse_default_instance_._instance,
280 : &::Odb::Lib::Protobuf::_FeaturesFile_default_instance_._instance,
281 : };
282 : const char descriptor_table_protodef_featuresfile_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
283 : protodesc_cold) = {
284 : "\n\022featuresfile.proto\022\020Odb.Lib.Protobuf\032\014"
285 : "common.proto\032\013enums.proto\032\020symbolname.pr"
286 : "oto\"\272\r\n\014FeaturesFile\022\022\n\005units\030\001 \001(\tH\000\210\001\001"
287 : "\022\017\n\002id\030\002 \001(\rH\001\210\001\001\022\021\n\004path\030\005 \001(\tH\002\210\001\001\022\026\n\t"
288 : "directory\030\006 \001(\tH\003\210\001\001\022\030\n\013numFeatures\030\007 \001("
289 : "\005H\004\210\001\001\022D\n\016featureRecords\030\010 \003(\0132,.Odb.Lib"
290 : ".Protobuf.FeaturesFile.FeatureRecord\022P\n\021"
291 : "symbolNamesByName\030\t \003(\01325.Odb.Lib.Protob"
292 : "uf.FeaturesFile.SymbolNamesByNameEntry\0221"
293 : "\n\013symbolNames\030\n \003(\0132\034.Odb.Lib.Protobuf.S"
294 : "ymbolName\032\344\t\n\rFeatureRecord\022D\n\004type\030\002 \001("
295 : "\01621.Odb.Lib.Protobuf.FeaturesFile.Featur"
296 : "eRecord.TypeH\000\210\001\001\022\017\n\002xs\030\003 \001(\001H\001\210\001\001\022\017\n\002ys"
297 : "\030\004 \001(\001H\002\210\001\001\022\017\n\002xe\030\005 \001(\001H\003\210\001\001\022\017\n\002ye\030\006 \001(\001"
298 : "H\004\210\001\001\022\016\n\001x\030\007 \001(\001H\005\210\001\001\022\016\n\001y\030\010 \001(\001H\006\210\001\001\022\024\n"
299 : "\007apt_def\030\t \001(\005H\007\210\001\001\022\037\n\022apt_def_symbol_nu"
300 : "m\030\n \001(\005H\010\210\001\001\022\"\n\025apt_def_resize_factor\030\013 "
301 : "\001(\001H\t\210\001\001\022\017\n\002xc\030\014 \001(\001H\n\210\001\001\022\017\n\002yc\030\r \001(\001H\013\210"
302 : "\001\001\022\017\n\002cw\030\016 \001(\010H\014\210\001\001\022\021\n\004font\030\017 \001(\tH\r\210\001\001\022\022"
303 : "\n\005xsize\030\020 \001(\001H\016\210\001\001\022\022\n\005ysize\030\021 \001(\001H\017\210\001\001\022\031"
304 : "\n\014width_factor\030\022 \001(\001H\020\210\001\001\022\021\n\004text\030\023 \001(\tH"
305 : "\021\210\001\001\022\024\n\007version\030\024 \001(\005H\022\210\001\001\022\024\n\007sym_num\030\025 "
306 : "\001(\005H\023\210\001\001\0221\n\010polarity\030\026 \001(\0162\032.Odb.Lib.Pro"
307 : "tobuf.PolarityH\024\210\001\001\022\022\n\005dcode\030\027 \001(\005H\025\210\001\001\022"
308 : "\020\n\003atr\030\030 \001(\005H\026\210\001\001\022\022\n\005value\030\031 \001(\tH\027\210\001\001\022\017\n"
309 : "\002id\030\032 \001(\rH\030\210\001\001\022\027\n\norient_def\030\033 \001(\005H\031\210\001\001\022"
310 : " \n\023orient_def_rotation\030\034 \001(\001H\032\210\001\001\0229\n\017con"
311 : "tourPolygons\030\001 \003(\0132 .Odb.Lib.Protobuf.Co"
312 : "ntourPolygon\022d\n\024attributeLookupTable\030\035 \003"
313 : "(\0132F.Odb.Lib.Protobuf.FeaturesFile.Featu"
314 : "reRecord.AttributeLookupTableEntry\032;\n\031At"
315 : "tributeLookupTableEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
316 : "value\030\002 \001(\t:\0028\001\"F\n\004Type\022\007\n\003Arc\020\000\022\007\n\003Pad\020"
317 : "\001\022\013\n\007Surface\020\002\022\013\n\007Barcode\020\003\022\010\n\004Text\020\004\022\010\n"
318 : "\004Line\020\005B\007\n\005_typeB\005\n\003_xsB\005\n\003_ysB\005\n\003_xeB\005\n"
319 : "\003_yeB\004\n\002_xB\004\n\002_yB\n\n\010_apt_defB\025\n\023_apt_def"
320 : "_symbol_numB\030\n\026_apt_def_resize_factorB\005\n"
321 : "\003_xcB\005\n\003_ycB\005\n\003_cwB\007\n\005_fontB\010\n\006_xsizeB\010\n"
322 : "\006_ysizeB\017\n\r_width_factorB\007\n\005_textB\n\n\010_ve"
323 : "rsionB\n\n\010_sym_numB\013\n\t_polarityB\010\n\006_dcode"
324 : "B\006\n\004_atrB\010\n\006_valueB\005\n\003_idB\r\n\013_orient_def"
325 : "B\026\n\024_orient_def_rotation\032V\n\026SymbolNamesB"
326 : "yNameEntry\022\013\n\003key\030\001 \001(\t\022+\n\005value\030\002 \001(\0132\034"
327 : ".Odb.Lib.Protobuf.SymbolName:\0028\001B\010\n\006_uni"
328 : "tsB\005\n\003_idB\007\n\005_pathB\014\n\n_directoryB\016\n\014_num"
329 : "FeaturesB\003\370\001\001b\006proto3"
330 : };
331 : static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
332 : descriptor_table_featuresfile_2eproto_deps[3] = {
333 : &::descriptor_table_common_2eproto,
334 : &::descriptor_table_enums_2eproto,
335 : &::descriptor_table_symbolname_2eproto,
336 : };
337 : static ::absl::once_flag descriptor_table_featuresfile_2eproto_once;
338 : PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_featuresfile_2eproto = {
339 : false,
340 : false,
341 : 1821,
342 : descriptor_table_protodef_featuresfile_2eproto,
343 : "featuresfile.proto",
344 : &descriptor_table_featuresfile_2eproto_once,
345 : descriptor_table_featuresfile_2eproto_deps,
346 : 3,
347 : 4,
348 : schemas,
349 : file_default_instances,
350 : TableStruct_featuresfile_2eproto::offsets,
351 : file_level_enum_descriptors_featuresfile_2eproto,
352 : file_level_service_descriptors_featuresfile_2eproto,
353 : };
354 : namespace Odb {
355 : namespace Lib {
356 : namespace Protobuf {
357 0 : const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL FeaturesFile_FeatureRecord_Type_descriptor() {
358 0 : ::google::protobuf::internal::AssignDescriptors(&descriptor_table_featuresfile_2eproto);
359 0 : return file_level_enum_descriptors_featuresfile_2eproto[0];
360 : }
361 : PROTOBUF_CONSTINIT const uint32_t FeaturesFile_FeatureRecord_Type_internal_data_[] = {
362 : 393216u, 0u, };
363 : // ===================================================================
364 :
365 : #if defined(PROTOBUF_CUSTOM_VTABLE)
366 : FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse()
367 : : SuperType(FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse_class_data_.base()) {}
368 : FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
369 : : SuperType(arena, FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse_class_data_.base()) {}
370 : #else // PROTOBUF_CUSTOM_VTABLE
371 0 : FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse() : SuperType() {}
372 68531641 : FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
373 : #endif // PROTOBUF_CUSTOM_VTABLE
374 68531641 : inline void* PROTOBUF_NONNULL FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::PlacementNew_(
375 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
376 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
377 68531641 : return ::new (mem) FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse(arena);
378 : }
379 : constexpr auto FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::InternalNewImpl_() {
380 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse),
381 : alignof(FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse));
382 : }
383 : constexpr auto FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::InternalGenerateClassData_() {
384 : return ::google::protobuf::internal::ClassDataFull{
385 : ::google::protobuf::internal::ClassData{
386 : &_FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse_default_instance_._instance,
387 : &_table_.header,
388 : nullptr, // OnDemandRegisterArenaDtor
389 : nullptr, // IsInitialized
390 : &FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::MergeImpl,
391 : ::google::protobuf::Message::GetNewImpl<FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse>(),
392 : #if defined(PROTOBUF_CUSTOM_VTABLE)
393 : &FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::SharedDtor,
394 : static_cast<void (::google::protobuf::MessageLite::*)()>(&FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::ClearImpl),
395 : ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
396 : ,
397 : #endif // PROTOBUF_CUSTOM_VTABLE
398 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse, _impl_._cached_size_),
399 : false,
400 : },
401 : &FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::kDescriptorMethods,
402 : &descriptor_table_featuresfile_2eproto,
403 : nullptr, // tracker
404 : };
405 : }
406 :
407 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
408 : ::google::protobuf::internal::ClassDataFull FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse_class_data_ =
409 : FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::InternalGenerateClassData_();
410 :
411 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
412 534733175 : FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::GetClassData() const {
413 534733175 : ::google::protobuf::internal::PrefetchToLocalCache(&FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse_class_data_);
414 534733175 : ::google::protobuf::internal::PrefetchToLocalCache(FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse_class_data_.tc_table);
415 534733175 : return FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse_class_data_.base();
416 : }
417 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
418 : const ::_pbi::TcParseTable<1, 2, 0, 86, 2>
419 : FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse::_table_ = {
420 : {
421 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse, _impl_._has_bits_),
422 : 0, // no _extensions_
423 : 2, 8, // max_field_number, fast_idx_mask
424 : offsetof(decltype(_table_), field_lookup_table),
425 : 4294967292, // skipmap
426 : offsetof(decltype(_table_), field_entries),
427 : 2, // num_field_entries
428 : 0, // num_aux_entries
429 : offsetof(decltype(_table_), field_names), // no aux_entries
430 : FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse_class_data_.base(),
431 : nullptr, // post_loop_handler
432 : ::_pbi::TcParser::DiscardEverythingFallback, // fallback
433 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
434 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse>(), // to_prefetch
435 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
436 : }, {{
437 : // string value = 2;
438 : {::_pbi::TcParser::FastUS1,
439 : {18, 1, 0,
440 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse, _impl_.value_)}},
441 : // string key = 1;
442 : {::_pbi::TcParser::FastUS1,
443 : {10, 0, 0,
444 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse, _impl_.key_)}},
445 : }}, {{
446 : 65535, 65535
447 : }}, {{
448 : // string key = 1;
449 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
450 : // string value = 2;
451 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord_AttributeLookupTableEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
452 : }},
453 : // no aux_entries
454 : {{
455 : "\105\3\5\0\0\0\0\0"
456 : "Odb.Lib.Protobuf.FeaturesFile.FeatureRecord.AttributeLookupTableEntry"
457 : "key"
458 : "value"
459 : }},
460 : };
461 : // ===================================================================
462 :
463 : class FeaturesFile_FeatureRecord::_Internal {
464 : public:
465 : using HasBits =
466 : decltype(::std::declval<FeaturesFile_FeatureRecord>()._impl_._has_bits_);
467 : static constexpr ::int32_t kHasBitsOffset =
468 : 8 * PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_._has_bits_);
469 : };
470 :
471 0 : void FeaturesFile_FeatureRecord::clear_contourpolygons() {
472 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
473 0 : _impl_.contourpolygons_.Clear();
474 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
475 : 0x00000001U);
476 0 : }
477 34376201 : FeaturesFile_FeatureRecord::FeaturesFile_FeatureRecord(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
478 : #if defined(PROTOBUF_CUSTOM_VTABLE)
479 : : ::google::protobuf::Message(arena, FeaturesFile_FeatureRecord_class_data_.base()) {
480 : #else // PROTOBUF_CUSTOM_VTABLE
481 34376201 : : ::google::protobuf::Message(arena) {
482 : #endif // PROTOBUF_CUSTOM_VTABLE
483 34376201 : SharedCtor(arena);
484 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.FeaturesFile.FeatureRecord)
485 34376201 : }
486 114711312 : PROTOBUF_NDEBUG_INLINE FeaturesFile_FeatureRecord::Impl_::Impl_(
487 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
488 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
489 114711312 : [[maybe_unused]] const ::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord& from_msg)
490 114711312 : : _has_bits_{from._has_bits_},
491 114711312 : _cached_size_{0},
492 114711312 : contourpolygons_{visibility, arena, from.contourpolygons_},
493 114711312 : font_(arena, from.font_),
494 114711312 : text_(arena, from.text_),
495 114711312 : value_(arena, from.value_),
496 114711312 : attributelookuptable_{visibility, arena, from.attributelookuptable_} {}
497 :
498 114711312 : FeaturesFile_FeatureRecord::FeaturesFile_FeatureRecord(
499 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
500 114711312 : const FeaturesFile_FeatureRecord& from)
501 : #if defined(PROTOBUF_CUSTOM_VTABLE)
502 : : ::google::protobuf::Message(arena, FeaturesFile_FeatureRecord_class_data_.base()) {
503 : #else // PROTOBUF_CUSTOM_VTABLE
504 114711312 : : ::google::protobuf::Message(arena) {
505 : #endif // PROTOBUF_CUSTOM_VTABLE
506 114711312 : FeaturesFile_FeatureRecord* const _this = this;
507 : (void)_this;
508 114711312 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
509 114711312 : from._internal_metadata_);
510 114711312 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
511 114711312 : ::memcpy(reinterpret_cast<char*>(&_impl_) +
512 : offsetof(Impl_, xs_),
513 114711312 : reinterpret_cast<const char*>(&from._impl_) +
514 : offsetof(Impl_, xs_),
515 : offsetof(Impl_, orient_def_) -
516 : offsetof(Impl_, xs_) +
517 : sizeof(Impl_::orient_def_));
518 :
519 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.FeaturesFile.FeatureRecord)
520 114711312 : }
521 34376201 : PROTOBUF_NDEBUG_INLINE FeaturesFile_FeatureRecord::Impl_::Impl_(
522 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
523 34376201 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
524 34376201 : : _cached_size_{0},
525 34376201 : contourpolygons_{visibility, arena},
526 34376201 : font_(arena),
527 34376201 : text_(arena),
528 34376201 : value_(arena),
529 68752402 : attributelookuptable_{visibility, arena} {}
530 :
531 34376201 : inline void FeaturesFile_FeatureRecord::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
532 34376201 : new (&_impl_) Impl_(internal_visibility(), arena);
533 34376201 : ::memset(reinterpret_cast<char*>(&_impl_) +
534 : offsetof(Impl_, xs_),
535 : 0,
536 : offsetof(Impl_, orient_def_) -
537 : offsetof(Impl_, xs_) +
538 : sizeof(Impl_::orient_def_));
539 34376201 : }
540 298175025 : FeaturesFile_FeatureRecord::~FeaturesFile_FeatureRecord() {
541 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.FeaturesFile.FeatureRecord)
542 149087513 : SharedDtor(*this);
543 298175025 : }
544 149087513 : inline void FeaturesFile_FeatureRecord::SharedDtor(MessageLite& self) {
545 149087513 : FeaturesFile_FeatureRecord& this_ = static_cast<FeaturesFile_FeatureRecord&>(self);
546 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
547 149087513 : this_.CheckHasBitConsistency();
548 : }
549 149087513 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
550 149087513 : ABSL_DCHECK(this_.GetArena() == nullptr);
551 149087513 : this_._impl_.font_.Destroy();
552 149087513 : this_._impl_.text_.Destroy();
553 149087513 : this_._impl_.value_.Destroy();
554 149087513 : this_._impl_.~Impl_();
555 149087513 : }
556 :
557 1814765 : inline void* PROTOBUF_NONNULL FeaturesFile_FeatureRecord::PlacementNew_(
558 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
559 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
560 1814765 : return ::new (mem) FeaturesFile_FeatureRecord(arena);
561 : }
562 : constexpr auto FeaturesFile_FeatureRecord::InternalNewImpl_() {
563 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
564 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.contourpolygons_) +
565 : decltype(FeaturesFile_FeatureRecord::_impl_.contourpolygons_)::
566 : InternalGetArenaOffset(
567 : ::google::protobuf::Message::internal_visibility()),
568 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.attributelookuptable_) +
569 : decltype(FeaturesFile_FeatureRecord::_impl_.attributelookuptable_)::
570 : InternalGetArenaOffset(
571 : ::google::protobuf::Message::internal_visibility()),
572 : });
573 : if (arena_bits.has_value()) {
574 : return ::google::protobuf::internal::MessageCreator::CopyInit(
575 : sizeof(FeaturesFile_FeatureRecord), alignof(FeaturesFile_FeatureRecord), *arena_bits);
576 : } else {
577 : return ::google::protobuf::internal::MessageCreator(&FeaturesFile_FeatureRecord::PlacementNew_,
578 : sizeof(FeaturesFile_FeatureRecord),
579 : alignof(FeaturesFile_FeatureRecord));
580 : }
581 : }
582 : constexpr auto FeaturesFile_FeatureRecord::InternalGenerateClassData_() {
583 : return ::google::protobuf::internal::ClassDataFull{
584 : ::google::protobuf::internal::ClassData{
585 : &_FeaturesFile_FeatureRecord_default_instance_._instance,
586 : &_table_.header,
587 : nullptr, // OnDemandRegisterArenaDtor
588 : nullptr, // IsInitialized
589 : &FeaturesFile_FeatureRecord::MergeImpl,
590 : ::google::protobuf::Message::GetNewImpl<FeaturesFile_FeatureRecord>(),
591 : #if defined(PROTOBUF_CUSTOM_VTABLE)
592 : &FeaturesFile_FeatureRecord::SharedDtor,
593 : ::google::protobuf::Message::GetClearImpl<FeaturesFile_FeatureRecord>(), &FeaturesFile_FeatureRecord::ByteSizeLong,
594 : &FeaturesFile_FeatureRecord::_InternalSerialize,
595 : #endif // PROTOBUF_CUSTOM_VTABLE
596 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_._cached_size_),
597 : false,
598 : },
599 : &FeaturesFile_FeatureRecord::kDescriptorMethods,
600 : &descriptor_table_featuresfile_2eproto,
601 : nullptr, // tracker
602 : };
603 : }
604 :
605 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
606 : ::google::protobuf::internal::ClassDataFull FeaturesFile_FeatureRecord_class_data_ =
607 : FeaturesFile_FeatureRecord::InternalGenerateClassData_();
608 :
609 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
610 1181998746 : FeaturesFile_FeatureRecord::GetClassData() const {
611 1181998746 : ::google::protobuf::internal::PrefetchToLocalCache(&FeaturesFile_FeatureRecord_class_data_);
612 1181998746 : ::google::protobuf::internal::PrefetchToLocalCache(FeaturesFile_FeatureRecord_class_data_.tc_table);
613 1181998746 : return FeaturesFile_FeatureRecord_class_data_.base();
614 : }
615 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
616 : const ::_pbi::TcParseTable<5, 29, 2, 109, 2>
617 : FeaturesFile_FeatureRecord::_table_ = {
618 : {
619 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_._has_bits_),
620 : 0, // no _extensions_
621 : 29, 248, // max_field_number, fast_idx_mask
622 : offsetof(decltype(_table_), field_lookup_table),
623 : 3758096384, // skipmap
624 : offsetof(decltype(_table_), field_entries),
625 : 29, // num_field_entries
626 : 2, // num_aux_entries
627 : offsetof(decltype(_table_), aux_entries),
628 : FeaturesFile_FeatureRecord_class_data_.base(),
629 : nullptr, // post_loop_handler
630 : ::_pbi::TcParser::GenericFallback, // fallback
631 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
632 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord>(), // to_prefetch
633 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
634 : }, {{
635 : {::_pbi::TcParser::MiniParse, {}},
636 : // repeated .Odb.Lib.Protobuf.ContourPolygon contourPolygons = 1;
637 : {::_pbi::TcParser::FastMtR1,
638 : {10, 0, 0,
639 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.contourpolygons_)}},
640 : // optional .Odb.Lib.Protobuf.FeaturesFile.FeatureRecord.Type type = 2;
641 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FeaturesFile_FeatureRecord, _impl_.type_), 7>(),
642 : {16, 7, 0,
643 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.type_)}},
644 : // optional double xs = 3;
645 : {::_pbi::TcParser::FastF64S1,
646 : {25, 4, 0,
647 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.xs_)}},
648 : // optional double ys = 4;
649 : {::_pbi::TcParser::FastF64S1,
650 : {33, 5, 0,
651 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.ys_)}},
652 : // optional double xe = 5;
653 : {::_pbi::TcParser::FastF64S1,
654 : {41, 6, 0,
655 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.xe_)}},
656 : // optional double ye = 6;
657 : {::_pbi::TcParser::FastF64S1,
658 : {49, 9, 0,
659 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.ye_)}},
660 : // optional double x = 7;
661 : {::_pbi::TcParser::FastF64S1,
662 : {57, 10, 0,
663 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.x_)}},
664 : // optional double y = 8;
665 : {::_pbi::TcParser::FastF64S1,
666 : {65, 11, 0,
667 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.y_)}},
668 : // optional int32 apt_def = 9;
669 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FeaturesFile_FeatureRecord, _impl_.apt_def_), 8>(),
670 : {72, 8, 0,
671 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.apt_def_)}},
672 : // optional int32 apt_def_symbol_num = 10;
673 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FeaturesFile_FeatureRecord, _impl_.apt_def_symbol_num_), 14>(),
674 : {80, 14, 0,
675 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.apt_def_symbol_num_)}},
676 : // optional double apt_def_resize_factor = 11;
677 : {::_pbi::TcParser::FastF64S1,
678 : {89, 12, 0,
679 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.apt_def_resize_factor_)}},
680 : // optional double xc = 12;
681 : {::_pbi::TcParser::FastF64S1,
682 : {97, 13, 0,
683 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.xc_)}},
684 : // optional double yc = 13;
685 : {::_pbi::TcParser::FastF64S1,
686 : {105, 16, 0,
687 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.yc_)}},
688 : // optional bool cw = 14;
689 : {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(FeaturesFile_FeatureRecord, _impl_.cw_), 15>(),
690 : {112, 15, 0,
691 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.cw_)}},
692 : // optional string font = 15;
693 : {::_pbi::TcParser::FastUS1,
694 : {122, 1, 0,
695 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.font_)}},
696 : // optional double xsize = 16;
697 : {::_pbi::TcParser::FastF64S2,
698 : {385, 17, 0,
699 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.xsize_)}},
700 : // optional double ysize = 17;
701 : {::_pbi::TcParser::FastF64S2,
702 : {393, 18, 0,
703 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.ysize_)}},
704 : // optional double width_factor = 18;
705 : {::_pbi::TcParser::FastF64S2,
706 : {401, 19, 0,
707 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.width_factor_)}},
708 : // optional string text = 19;
709 : {::_pbi::TcParser::FastUS2,
710 : {410, 2, 0,
711 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.text_)}},
712 : // optional int32 version = 20;
713 : {::_pbi::TcParser::FastV32S2,
714 : {416, 20, 0,
715 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.version_)}},
716 : // optional int32 sym_num = 21;
717 : {::_pbi::TcParser::FastV32S2,
718 : {424, 21, 0,
719 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.sym_num_)}},
720 : // optional .Odb.Lib.Protobuf.Polarity polarity = 22;
721 : {::_pbi::TcParser::FastV32S2,
722 : {432, 22, 0,
723 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.polarity_)}},
724 : // optional int32 dcode = 23;
725 : {::_pbi::TcParser::FastV32S2,
726 : {440, 23, 0,
727 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.dcode_)}},
728 : // optional int32 atr = 24;
729 : {::_pbi::TcParser::FastV32S2,
730 : {448, 24, 0,
731 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.atr_)}},
732 : // optional string value = 25;
733 : {::_pbi::TcParser::FastUS2,
734 : {458, 3, 0,
735 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.value_)}},
736 : // optional uint32 id = 26;
737 : {::_pbi::TcParser::FastV32S2,
738 : {464, 25, 0,
739 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.id_)}},
740 : // optional int32 orient_def = 27;
741 : {::_pbi::TcParser::FastV32S2,
742 : {472, 27, 0,
743 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.orient_def_)}},
744 : // optional double orient_def_rotation = 28;
745 : {::_pbi::TcParser::FastF64S2,
746 : {481, 26, 0,
747 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.orient_def_rotation_)}},
748 : {::_pbi::TcParser::MiniParse, {}},
749 : {::_pbi::TcParser::MiniParse, {}},
750 : {::_pbi::TcParser::MiniParse, {}},
751 : }}, {{
752 : 65535, 65535
753 : }}, {{
754 : // repeated .Odb.Lib.Protobuf.ContourPolygon contourPolygons = 1;
755 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.contourpolygons_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
756 : // optional .Odb.Lib.Protobuf.FeaturesFile.FeatureRecord.Type type = 2;
757 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.type_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
758 : // optional double xs = 3;
759 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.xs_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
760 : // optional double ys = 4;
761 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.ys_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
762 : // optional double xe = 5;
763 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.xe_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
764 : // optional double ye = 6;
765 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.ye_), _Internal::kHasBitsOffset + 9, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
766 : // optional double x = 7;
767 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.x_), _Internal::kHasBitsOffset + 10, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
768 : // optional double y = 8;
769 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.y_), _Internal::kHasBitsOffset + 11, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
770 : // optional int32 apt_def = 9;
771 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.apt_def_), _Internal::kHasBitsOffset + 8, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
772 : // optional int32 apt_def_symbol_num = 10;
773 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.apt_def_symbol_num_), _Internal::kHasBitsOffset + 14, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
774 : // optional double apt_def_resize_factor = 11;
775 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.apt_def_resize_factor_), _Internal::kHasBitsOffset + 12, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
776 : // optional double xc = 12;
777 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.xc_), _Internal::kHasBitsOffset + 13, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
778 : // optional double yc = 13;
779 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.yc_), _Internal::kHasBitsOffset + 16, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
780 : // optional bool cw = 14;
781 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.cw_), _Internal::kHasBitsOffset + 15, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
782 : // optional string font = 15;
783 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.font_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
784 : // optional double xsize = 16;
785 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.xsize_), _Internal::kHasBitsOffset + 17, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
786 : // optional double ysize = 17;
787 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.ysize_), _Internal::kHasBitsOffset + 18, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
788 : // optional double width_factor = 18;
789 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.width_factor_), _Internal::kHasBitsOffset + 19, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
790 : // optional string text = 19;
791 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.text_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
792 : // optional int32 version = 20;
793 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.version_), _Internal::kHasBitsOffset + 20, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
794 : // optional int32 sym_num = 21;
795 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.sym_num_), _Internal::kHasBitsOffset + 21, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
796 : // optional .Odb.Lib.Protobuf.Polarity polarity = 22;
797 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.polarity_), _Internal::kHasBitsOffset + 22, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
798 : // optional int32 dcode = 23;
799 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.dcode_), _Internal::kHasBitsOffset + 23, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
800 : // optional int32 atr = 24;
801 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.atr_), _Internal::kHasBitsOffset + 24, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
802 : // optional string value = 25;
803 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.value_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
804 : // optional uint32 id = 26;
805 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.id_), _Internal::kHasBitsOffset + 25, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
806 : // optional int32 orient_def = 27;
807 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.orient_def_), _Internal::kHasBitsOffset + 27, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
808 : // optional double orient_def_rotation = 28;
809 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.orient_def_rotation_), _Internal::kHasBitsOffset + 26, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
810 : // map<string, string> attributeLookupTable = 29;
811 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.attributelookuptable_), _Internal::kHasBitsOffset + 28, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
812 : }},
813 : {{
814 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::ContourPolygon>()},
815 : {::_pbi::TcParser::GetMapAuxInfo(
816 : 1, 0, 9, 9, 0)},
817 : }},
818 : {{
819 : "\53\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0\0\5\0\0\0\24\0\0"
820 : "Odb.Lib.Protobuf.FeaturesFile.FeatureRecord"
821 : "font"
822 : "text"
823 : "value"
824 : "attributeLookupTable"
825 : }},
826 : };
827 16949503 : PROTOBUF_NOINLINE void FeaturesFile_FeatureRecord::Clear() {
828 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.FeaturesFile.FeatureRecord)
829 16949503 : ::google::protobuf::internal::TSanWrite(&_impl_);
830 16949503 : ::uint32_t cached_has_bits = 0;
831 : // Prevent compiler warnings about cached_has_bits being unused
832 : (void) cached_has_bits;
833 :
834 16949503 : cached_has_bits = _impl_._has_bits_[0];
835 16949503 : if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
836 1 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
837 0 : _impl_.contourpolygons_.Clear();
838 : }
839 1 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
840 1 : _impl_.font_.ClearNonDefaultToEmpty();
841 : }
842 1 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
843 1 : _impl_.text_.ClearNonDefaultToEmpty();
844 : }
845 1 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
846 0 : _impl_.value_.ClearNonDefaultToEmpty();
847 : }
848 : }
849 16949503 : if (BatchCheckHasBit(cached_has_bits, 0x000000f0U)) {
850 1 : ::memset(&_impl_.xs_, 0, static_cast<::size_t>(
851 : reinterpret_cast<char*>(&_impl_.type_) -
852 : reinterpret_cast<char*>(&_impl_.xs_)) + sizeof(_impl_.type_));
853 : }
854 16949503 : if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
855 1 : ::memset(&_impl_.apt_def_, 0, static_cast<::size_t>(
856 : reinterpret_cast<char*>(&_impl_.cw_) -
857 : reinterpret_cast<char*>(&_impl_.apt_def_)) + sizeof(_impl_.cw_));
858 : }
859 16949503 : if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
860 1 : ::memset(&_impl_.yc_, 0, static_cast<::size_t>(
861 : reinterpret_cast<char*>(&_impl_.dcode_) -
862 : reinterpret_cast<char*>(&_impl_.yc_)) + sizeof(_impl_.dcode_));
863 : }
864 16949503 : if (BatchCheckHasBit(cached_has_bits, 0x1f000000U)) {
865 1 : ::memset(&_impl_.atr_, 0, static_cast<::size_t>(
866 : reinterpret_cast<char*>(&_impl_.orient_def_) -
867 : reinterpret_cast<char*>(&_impl_.atr_)) + sizeof(_impl_.orient_def_));
868 1 : if (CheckHasBitForRepeated(cached_has_bits, 0x10000000U)) {
869 0 : _impl_.attributelookuptable_.Clear();
870 : }
871 : }
872 16949503 : _impl_._has_bits_.Clear();
873 16949503 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
874 16949503 : }
875 :
876 : #if defined(PROTOBUF_CUSTOM_VTABLE)
877 : ::uint8_t* PROTOBUF_NONNULL FeaturesFile_FeatureRecord::_InternalSerialize(
878 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
879 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
880 : const FeaturesFile_FeatureRecord& this_ = static_cast<const FeaturesFile_FeatureRecord&>(base);
881 : #else // PROTOBUF_CUSTOM_VTABLE
882 14189025 : ::uint8_t* PROTOBUF_NONNULL FeaturesFile_FeatureRecord::_InternalSerialize(
883 : ::uint8_t* PROTOBUF_NONNULL target,
884 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
885 14189025 : const FeaturesFile_FeatureRecord& this_ = *this;
886 : #endif // PROTOBUF_CUSTOM_VTABLE
887 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
888 14189025 : this_.CheckHasBitConsistency();
889 : }
890 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.FeaturesFile.FeatureRecord)
891 14189025 : ::uint32_t cached_has_bits = 0;
892 : (void)cached_has_bits;
893 :
894 14189025 : cached_has_bits = this_._impl_._has_bits_[0];
895 : // repeated .Odb.Lib.Protobuf.ContourPolygon contourPolygons = 1;
896 14189025 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
897 702859 : for (unsigned i = 0, n = static_cast<unsigned>(
898 100048 : this_._internal_contourpolygons_size());
899 602811 : i < n; i++) {
900 502763 : const auto& repfield = this_._internal_contourpolygons().Get(i);
901 : target =
902 502763 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
903 : 1, repfield, repfield.GetCachedSize(),
904 : target, stream);
905 : }
906 : }
907 :
908 : // optional .Odb.Lib.Protobuf.FeaturesFile.FeatureRecord.Type type = 2;
909 14189025 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
910 14189025 : target = stream->EnsureSpace(target);
911 14189025 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
912 14189025 : 2, this_._internal_type(), target);
913 : }
914 :
915 : // optional double xs = 3;
916 14189025 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
917 14189025 : target = stream->EnsureSpace(target);
918 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
919 : 3, this_._internal_xs(), target);
920 : }
921 :
922 : // optional double ys = 4;
923 14189025 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
924 14189025 : target = stream->EnsureSpace(target);
925 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
926 : 4, this_._internal_ys(), target);
927 : }
928 :
929 : // optional double xe = 5;
930 14189025 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
931 14189025 : target = stream->EnsureSpace(target);
932 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
933 : 5, this_._internal_xe(), target);
934 : }
935 :
936 : // optional double ye = 6;
937 14189025 : if (CheckHasBit(cached_has_bits, 0x00000200U)) {
938 14189025 : target = stream->EnsureSpace(target);
939 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
940 : 6, this_._internal_ye(), target);
941 : }
942 :
943 : // optional double x = 7;
944 14189025 : if (CheckHasBit(cached_has_bits, 0x00000400U)) {
945 14189025 : target = stream->EnsureSpace(target);
946 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
947 : 7, this_._internal_x(), target);
948 : }
949 :
950 : // optional double y = 8;
951 14189025 : if (CheckHasBit(cached_has_bits, 0x00000800U)) {
952 14189025 : target = stream->EnsureSpace(target);
953 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
954 : 8, this_._internal_y(), target);
955 : }
956 :
957 : // optional int32 apt_def = 9;
958 14189025 : if (CheckHasBit(cached_has_bits, 0x00000100U)) {
959 : target =
960 0 : ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<9>(
961 : stream, this_._internal_apt_def(), target);
962 : }
963 :
964 : // optional int32 apt_def_symbol_num = 10;
965 14189025 : if (CheckHasBit(cached_has_bits, 0x00004000U)) {
966 : target =
967 2113894 : ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<10>(
968 : stream, this_._internal_apt_def_symbol_num(), target);
969 : }
970 :
971 : // optional double apt_def_resize_factor = 11;
972 14189025 : if (CheckHasBit(cached_has_bits, 0x00001000U)) {
973 14189025 : target = stream->EnsureSpace(target);
974 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
975 : 11, this_._internal_apt_def_resize_factor(), target);
976 : }
977 :
978 : // optional double xc = 12;
979 14189025 : if (CheckHasBit(cached_has_bits, 0x00002000U)) {
980 14189025 : target = stream->EnsureSpace(target);
981 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
982 : 12, this_._internal_xc(), target);
983 : }
984 :
985 : // optional double yc = 13;
986 14189025 : if (CheckHasBit(cached_has_bits, 0x00010000U)) {
987 14189025 : target = stream->EnsureSpace(target);
988 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
989 : 13, this_._internal_yc(), target);
990 : }
991 :
992 : // optional bool cw = 14;
993 14189025 : if (CheckHasBit(cached_has_bits, 0x00008000U)) {
994 14189025 : target = stream->EnsureSpace(target);
995 14189025 : target = ::_pbi::WireFormatLite::WriteBoolToArray(
996 14189025 : 14, this_._internal_cw(), target);
997 : }
998 :
999 : // optional string font = 15;
1000 14189025 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1001 14189025 : const ::std::string& _s = this_._internal_font();
1002 28378050 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1003 14189025 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FeaturesFile.FeatureRecord.font");
1004 14189025 : target = stream->WriteStringMaybeAliased(15, _s, target);
1005 : }
1006 :
1007 : // optional double xsize = 16;
1008 14189025 : if (CheckHasBit(cached_has_bits, 0x00020000U)) {
1009 14189025 : target = stream->EnsureSpace(target);
1010 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1011 : 16, this_._internal_xsize(), target);
1012 : }
1013 :
1014 : // optional double ysize = 17;
1015 14189025 : if (CheckHasBit(cached_has_bits, 0x00040000U)) {
1016 14189025 : target = stream->EnsureSpace(target);
1017 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1018 : 17, this_._internal_ysize(), target);
1019 : }
1020 :
1021 : // optional double width_factor = 18;
1022 14189025 : if (CheckHasBit(cached_has_bits, 0x00080000U)) {
1023 14189025 : target = stream->EnsureSpace(target);
1024 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1025 : 18, this_._internal_width_factor(), target);
1026 : }
1027 :
1028 : // optional string text = 19;
1029 14189025 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1030 14189025 : const ::std::string& _s = this_._internal_text();
1031 28378050 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1032 14189025 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FeaturesFile.FeatureRecord.text");
1033 14189025 : target = stream->WriteStringMaybeAliased(19, _s, target);
1034 : }
1035 :
1036 : // optional int32 version = 20;
1037 14189025 : if (CheckHasBit(cached_has_bits, 0x00100000U)) {
1038 14189025 : target = stream->EnsureSpace(target);
1039 14189025 : target = ::_pbi::WireFormatLite::WriteInt32ToArray(
1040 : 20, this_._internal_version(), target);
1041 : }
1042 :
1043 : // optional int32 sym_num = 21;
1044 14189025 : if (CheckHasBit(cached_has_bits, 0x00200000U)) {
1045 14088973 : target = stream->EnsureSpace(target);
1046 14088973 : target = ::_pbi::WireFormatLite::WriteInt32ToArray(
1047 : 21, this_._internal_sym_num(), target);
1048 : }
1049 :
1050 : // optional .Odb.Lib.Protobuf.Polarity polarity = 22;
1051 14189025 : if (CheckHasBit(cached_has_bits, 0x00400000U)) {
1052 14189025 : target = stream->EnsureSpace(target);
1053 14189025 : target = ::_pbi::WireFormatLite::WriteEnumToArray(
1054 14189025 : 22, this_._internal_polarity(), target);
1055 : }
1056 :
1057 : // optional int32 dcode = 23;
1058 14189025 : if (CheckHasBit(cached_has_bits, 0x00800000U)) {
1059 14189025 : target = stream->EnsureSpace(target);
1060 14189025 : target = ::_pbi::WireFormatLite::WriteInt32ToArray(
1061 : 23, this_._internal_dcode(), target);
1062 : }
1063 :
1064 : // optional int32 atr = 24;
1065 14189025 : if (CheckHasBit(cached_has_bits, 0x01000000U)) {
1066 0 : target = stream->EnsureSpace(target);
1067 0 : target = ::_pbi::WireFormatLite::WriteInt32ToArray(
1068 : 24, this_._internal_atr(), target);
1069 : }
1070 :
1071 : // optional string value = 25;
1072 14189025 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1073 0 : const ::std::string& _s = this_._internal_value();
1074 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1075 0 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FeaturesFile.FeatureRecord.value");
1076 0 : target = stream->WriteStringMaybeAliased(25, _s, target);
1077 : }
1078 :
1079 : // optional uint32 id = 26;
1080 14189025 : if (CheckHasBit(cached_has_bits, 0x02000000U)) {
1081 14188937 : target = stream->EnsureSpace(target);
1082 14188937 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1083 : 26, this_._internal_id(), target);
1084 : }
1085 :
1086 : // optional int32 orient_def = 27;
1087 14189025 : if (CheckHasBit(cached_has_bits, 0x08000000U)) {
1088 14189025 : target = stream->EnsureSpace(target);
1089 14189025 : target = ::_pbi::WireFormatLite::WriteInt32ToArray(
1090 : 27, this_._internal_orient_def(), target);
1091 : }
1092 :
1093 : // optional double orient_def_rotation = 28;
1094 14189025 : if (CheckHasBit(cached_has_bits, 0x04000000U)) {
1095 14189025 : target = stream->EnsureSpace(target);
1096 14189025 : target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1097 : 28, this_._internal_orient_def_rotation(), target);
1098 : }
1099 :
1100 : // map<string, string> attributeLookupTable = 29;
1101 14189025 : if (CheckHasBitForRepeated(cached_has_bits, 0x10000000U)) {
1102 13879157 : if (!this_._internal_attributelookuptable().empty()) {
1103 : using MapType = ::google::protobuf::Map<::std::string, ::std::string>;
1104 : using WireHelper = _pbi::MapEntryFuncs<::std::string, ::std::string,
1105 : _pbi::WireFormatLite::TYPE_STRING,
1106 : _pbi::WireFormatLite::TYPE_STRING>;
1107 13879157 : const auto& field = this_._internal_attributelookuptable();
1108 :
1109 13879157 : if (stream->IsSerializationDeterministic() && field.size() > 1) {
1110 7381462 : for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
1111 11916080 : target = WireHelper::InternalSerialize(
1112 5958040 : 29, entry.first, entry.second, target, stream);
1113 11916080 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1114 5958040 : entry.first.data(), static_cast<int>(entry.first.length()),
1115 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FeaturesFile.FeatureRecord.attributeLookupTable");
1116 11916080 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1117 5958040 : entry.second.data(), static_cast<int>(entry.second.length()),
1118 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FeaturesFile.FeatureRecord.attributeLookupTable");
1119 1423422 : }
1120 : } else {
1121 43580391 : for (const auto& entry : field) {
1122 62249312 : target = WireHelper::InternalSerialize(
1123 31124656 : 29, entry.first, entry.second, target, stream);
1124 62249312 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1125 31124656 : entry.first.data(), static_cast<int>(entry.first.length()),
1126 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FeaturesFile.FeatureRecord.attributeLookupTable");
1127 62249312 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1128 31124656 : entry.second.data(), static_cast<int>(entry.second.length()),
1129 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FeaturesFile.FeatureRecord.attributeLookupTable");
1130 : }
1131 : }
1132 : }
1133 : }
1134 :
1135 14189025 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1136 : target =
1137 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1138 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1139 : }
1140 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.FeaturesFile.FeatureRecord)
1141 14189025 : return target;
1142 : }
1143 :
1144 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1145 : ::size_t FeaturesFile_FeatureRecord::ByteSizeLong(const MessageLite& base) {
1146 : const FeaturesFile_FeatureRecord& this_ = static_cast<const FeaturesFile_FeatureRecord&>(base);
1147 : #else // PROTOBUF_CUSTOM_VTABLE
1148 17756881 : ::size_t FeaturesFile_FeatureRecord::ByteSizeLong() const {
1149 17756881 : const FeaturesFile_FeatureRecord& this_ = *this;
1150 : #endif // PROTOBUF_CUSTOM_VTABLE
1151 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.FeaturesFile.FeatureRecord)
1152 17756881 : ::size_t total_size = 0;
1153 :
1154 17756881 : ::uint32_t cached_has_bits = 0;
1155 : // Prevent compiler warnings about cached_has_bits being unused
1156 : (void)cached_has_bits;
1157 :
1158 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1159 17756881 : cached_has_bits = this_._impl_._has_bits_[0];
1160 17756881 : total_size += ::absl::popcount(0x040e0000U & cached_has_bits) * 10;
1161 17756881 : total_size += ::absl::popcount(0x00013e70U & cached_has_bits) * 9;
1162 17756881 : total_size += static_cast<bool>(0x00008000U & cached_has_bits) * 2;
1163 17756881 : if (BatchCheckHasBit(cached_has_bits, 0x0000008fU)) {
1164 : // repeated .Odb.Lib.Protobuf.ContourPolygon contourPolygons = 1;
1165 17756881 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1166 120183 : total_size += 1UL * this_._internal_contourpolygons_size();
1167 786193 : for (const auto& msg : this_._internal_contourpolygons()) {
1168 666010 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1169 : }
1170 : }
1171 : // optional string font = 15;
1172 17756881 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1173 17756881 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1174 : this_._internal_font());
1175 : }
1176 : // optional string text = 19;
1177 17756881 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1178 17756881 : total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
1179 : this_._internal_text());
1180 : }
1181 : // optional string value = 25;
1182 17756881 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1183 0 : total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize(
1184 : this_._internal_value());
1185 : }
1186 : // optional .Odb.Lib.Protobuf.FeaturesFile.FeatureRecord.Type type = 2;
1187 17756881 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1188 17756881 : total_size += 1 +
1189 17756881 : ::_pbi::WireFormatLite::EnumSize(this_._internal_type());
1190 : }
1191 : }
1192 17756881 : if (BatchCheckHasBit(cached_has_bits, 0x00004100U)) {
1193 : // optional int32 apt_def = 9;
1194 2756791 : if (CheckHasBit(cached_has_bits, 0x00000100U)) {
1195 0 : total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1196 : this_._internal_apt_def());
1197 : }
1198 : // optional int32 apt_def_symbol_num = 10;
1199 2756791 : if (CheckHasBit(cached_has_bits, 0x00004000U)) {
1200 2756791 : total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1201 : this_._internal_apt_def_symbol_num());
1202 : }
1203 : }
1204 17756881 : if (BatchCheckHasBit(cached_has_bits, 0x00f00000U)) {
1205 : // optional int32 version = 20;
1206 17756881 : if (CheckHasBit(cached_has_bits, 0x00100000U)) {
1207 17756881 : total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
1208 : this_._internal_version());
1209 : }
1210 : // optional int32 sym_num = 21;
1211 17756881 : if (CheckHasBit(cached_has_bits, 0x00200000U)) {
1212 17636692 : total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
1213 : this_._internal_sym_num());
1214 : }
1215 : // optional .Odb.Lib.Protobuf.Polarity polarity = 22;
1216 17756881 : if (CheckHasBit(cached_has_bits, 0x00400000U)) {
1217 17756881 : total_size += 2 +
1218 17756881 : ::_pbi::WireFormatLite::EnumSize(this_._internal_polarity());
1219 : }
1220 : // optional int32 dcode = 23;
1221 17756881 : if (CheckHasBit(cached_has_bits, 0x00800000U)) {
1222 17756881 : total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
1223 : this_._internal_dcode());
1224 : }
1225 : }
1226 17756881 : if (BatchCheckHasBit(cached_has_bits, 0x1b000000U)) {
1227 : // optional int32 atr = 24;
1228 17756881 : if (CheckHasBit(cached_has_bits, 0x01000000U)) {
1229 0 : total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
1230 : this_._internal_atr());
1231 : }
1232 : // optional uint32 id = 26;
1233 17756881 : if (CheckHasBit(cached_has_bits, 0x02000000U)) {
1234 17756779 : total_size += 2 + ::_pbi::WireFormatLite::UInt32Size(
1235 : this_._internal_id());
1236 : }
1237 : // optional int32 orient_def = 27;
1238 17756881 : if (CheckHasBit(cached_has_bits, 0x08000000U)) {
1239 17756881 : total_size += 2 + ::_pbi::WireFormatLite::Int32Size(
1240 : this_._internal_orient_def());
1241 : }
1242 : // map<string, string> attributeLookupTable = 29;
1243 17756881 : if (CheckHasBitForRepeated(cached_has_bits, 0x10000000U)) {
1244 17397719 : total_size +=
1245 17397719 : 2 * ::google::protobuf::internal::FromIntSize(this_._internal_attributelookuptable_size());
1246 64969847 : for (const auto& entry : this_._internal_attributelookuptable()) {
1247 47572128 : total_size += _pbi::MapEntryFuncs<::std::string, ::std::string,
1248 : _pbi::WireFormatLite::TYPE_STRING,
1249 47572128 : _pbi::WireFormatLite::TYPE_STRING>::ByteSizeLong(entry.first, entry.second);
1250 : }
1251 : }
1252 : }
1253 17756881 : return this_.MaybeComputeUnknownFieldsSize(total_size,
1254 17756881 : &this_._impl_._cached_size_);
1255 : }
1256 :
1257 16949503 : void FeaturesFile_FeatureRecord::MergeImpl(::google::protobuf::MessageLite& to_msg,
1258 : const ::google::protobuf::MessageLite& from_msg) {
1259 16949503 : auto* const _this =
1260 : static_cast<FeaturesFile_FeatureRecord*>(&to_msg);
1261 16949503 : auto& from = static_cast<const FeaturesFile_FeatureRecord&>(from_msg);
1262 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1263 16949503 : from.CheckHasBitConsistency();
1264 : }
1265 16949503 : ::google::protobuf::Arena* arena = _this->GetArena();
1266 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.FeaturesFile.FeatureRecord)
1267 16949503 : ABSL_DCHECK_NE(&from, _this);
1268 16949503 : ::uint32_t cached_has_bits = 0;
1269 : (void)cached_has_bits;
1270 :
1271 16949503 : cached_has_bits = from._impl_._has_bits_[0];
1272 16949503 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1273 16949503 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1274 247238 : _this->_internal_mutable_contourpolygons()->InternalMergeFromWithArena(
1275 123619 : ::google::protobuf::MessageLite::internal_visibility(), arena,
1276 : from._internal_contourpolygons());
1277 : }
1278 16949503 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1279 16949503 : _this->_internal_set_font(from._internal_font());
1280 : }
1281 16949503 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1282 16949503 : _this->_internal_set_text(from._internal_text());
1283 : }
1284 16949503 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1285 0 : _this->_internal_set_value(from._internal_value());
1286 : }
1287 16949503 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1288 16949503 : _this->_impl_.xs_ = from._impl_.xs_;
1289 : }
1290 16949503 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1291 16949503 : _this->_impl_.ys_ = from._impl_.ys_;
1292 : }
1293 16949503 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1294 16949503 : _this->_impl_.xe_ = from._impl_.xe_;
1295 : }
1296 16949503 : if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1297 16949503 : _this->_impl_.type_ = from._impl_.type_;
1298 : }
1299 : }
1300 16949503 : if (BatchCheckHasBit(cached_has_bits, 0x0000ff00U)) {
1301 16949503 : if (CheckHasBit(cached_has_bits, 0x00000100U)) {
1302 0 : _this->_impl_.apt_def_ = from._impl_.apt_def_;
1303 : }
1304 16949503 : if (CheckHasBit(cached_has_bits, 0x00000200U)) {
1305 16949503 : _this->_impl_.ye_ = from._impl_.ye_;
1306 : }
1307 16949503 : if (CheckHasBit(cached_has_bits, 0x00000400U)) {
1308 16949503 : _this->_impl_.x_ = from._impl_.x_;
1309 : }
1310 16949503 : if (CheckHasBit(cached_has_bits, 0x00000800U)) {
1311 16949503 : _this->_impl_.y_ = from._impl_.y_;
1312 : }
1313 16949503 : if (CheckHasBit(cached_has_bits, 0x00001000U)) {
1314 16949503 : _this->_impl_.apt_def_resize_factor_ = from._impl_.apt_def_resize_factor_;
1315 : }
1316 16949503 : if (CheckHasBit(cached_has_bits, 0x00002000U)) {
1317 16949503 : _this->_impl_.xc_ = from._impl_.xc_;
1318 : }
1319 16949503 : if (CheckHasBit(cached_has_bits, 0x00004000U)) {
1320 2430112 : _this->_impl_.apt_def_symbol_num_ = from._impl_.apt_def_symbol_num_;
1321 : }
1322 16949503 : if (CheckHasBit(cached_has_bits, 0x00008000U)) {
1323 16949503 : _this->_impl_.cw_ = from._impl_.cw_;
1324 : }
1325 : }
1326 16949503 : if (BatchCheckHasBit(cached_has_bits, 0x00ff0000U)) {
1327 16949503 : if (CheckHasBit(cached_has_bits, 0x00010000U)) {
1328 16949503 : _this->_impl_.yc_ = from._impl_.yc_;
1329 : }
1330 16949503 : if (CheckHasBit(cached_has_bits, 0x00020000U)) {
1331 16949503 : _this->_impl_.xsize_ = from._impl_.xsize_;
1332 : }
1333 16949503 : if (CheckHasBit(cached_has_bits, 0x00040000U)) {
1334 16949503 : _this->_impl_.ysize_ = from._impl_.ysize_;
1335 : }
1336 16949503 : if (CheckHasBit(cached_has_bits, 0x00080000U)) {
1337 16949503 : _this->_impl_.width_factor_ = from._impl_.width_factor_;
1338 : }
1339 16949503 : if (CheckHasBit(cached_has_bits, 0x00100000U)) {
1340 16949503 : _this->_impl_.version_ = from._impl_.version_;
1341 : }
1342 16949503 : if (CheckHasBit(cached_has_bits, 0x00200000U)) {
1343 16825875 : _this->_impl_.sym_num_ = from._impl_.sym_num_;
1344 : }
1345 16949503 : if (CheckHasBit(cached_has_bits, 0x00400000U)) {
1346 16949503 : _this->_impl_.polarity_ = from._impl_.polarity_;
1347 : }
1348 16949503 : if (CheckHasBit(cached_has_bits, 0x00800000U)) {
1349 16949503 : _this->_impl_.dcode_ = from._impl_.dcode_;
1350 : }
1351 : }
1352 16949503 : if (BatchCheckHasBit(cached_has_bits, 0x1f000000U)) {
1353 16949503 : if (CheckHasBit(cached_has_bits, 0x01000000U)) {
1354 0 : _this->_impl_.atr_ = from._impl_.atr_;
1355 : }
1356 16949503 : if (CheckHasBit(cached_has_bits, 0x02000000U)) {
1357 16949386 : _this->_impl_.id_ = from._impl_.id_;
1358 : }
1359 16949503 : if (CheckHasBit(cached_has_bits, 0x04000000U)) {
1360 16949503 : _this->_impl_.orient_def_rotation_ = from._impl_.orient_def_rotation_;
1361 : }
1362 16949503 : if (CheckHasBit(cached_has_bits, 0x08000000U)) {
1363 16949503 : _this->_impl_.orient_def_ = from._impl_.orient_def_;
1364 : }
1365 16949503 : if (CheckHasBitForRepeated(cached_has_bits, 0x10000000U)) {
1366 16560435 : _this->_impl_.attributelookuptable_.MergeFrom(from._impl_.attributelookuptable_);
1367 : }
1368 : }
1369 16949503 : _this->_impl_._has_bits_[0] |= cached_has_bits;
1370 16949503 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1371 16949503 : from._internal_metadata_);
1372 16949503 : }
1373 :
1374 16949502 : void FeaturesFile_FeatureRecord::CopyFrom(const FeaturesFile_FeatureRecord& from) {
1375 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.FeaturesFile.FeatureRecord)
1376 16949502 : if (&from == this) return;
1377 16949502 : Clear();
1378 16949502 : MergeFrom(from);
1379 : }
1380 :
1381 :
1382 0 : void FeaturesFile_FeatureRecord::InternalSwap(FeaturesFile_FeatureRecord* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1383 : using ::std::swap;
1384 0 : auto* arena = GetArena();
1385 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
1386 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1387 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1388 0 : _impl_.contourpolygons_.InternalSwap(&other->_impl_.contourpolygons_);
1389 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.font_, &other->_impl_.font_, arena);
1390 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.text_, &other->_impl_.text_, arena);
1391 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena);
1392 : ::google::protobuf::internal::memswap<
1393 : PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.orient_def_)
1394 : + sizeof(FeaturesFile_FeatureRecord::_impl_.orient_def_)
1395 0 : - PROTOBUF_FIELD_OFFSET(FeaturesFile_FeatureRecord, _impl_.xs_)>(
1396 0 : reinterpret_cast<char*>(&_impl_.xs_),
1397 0 : reinterpret_cast<char*>(&other->_impl_.xs_));
1398 0 : _impl_.attributelookuptable_.InternalSwap(&other->_impl_.attributelookuptable_);
1399 0 : }
1400 :
1401 0 : ::google::protobuf::Metadata FeaturesFile_FeatureRecord::GetMetadata() const {
1402 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1403 : }
1404 : // ===================================================================
1405 :
1406 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1407 : FeaturesFile_SymbolNamesByNameEntry_DoNotUse::FeaturesFile_SymbolNamesByNameEntry_DoNotUse()
1408 : : SuperType(FeaturesFile_SymbolNamesByNameEntry_DoNotUse_class_data_.base()) {}
1409 : FeaturesFile_SymbolNamesByNameEntry_DoNotUse::FeaturesFile_SymbolNamesByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1410 : : SuperType(arena, FeaturesFile_SymbolNamesByNameEntry_DoNotUse_class_data_.base()) {}
1411 : #else // PROTOBUF_CUSTOM_VTABLE
1412 0 : FeaturesFile_SymbolNamesByNameEntry_DoNotUse::FeaturesFile_SymbolNamesByNameEntry_DoNotUse() : SuperType() {}
1413 70245 : FeaturesFile_SymbolNamesByNameEntry_DoNotUse::FeaturesFile_SymbolNamesByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
1414 : #endif // PROTOBUF_CUSTOM_VTABLE
1415 70245 : inline void* PROTOBUF_NONNULL FeaturesFile_SymbolNamesByNameEntry_DoNotUse::PlacementNew_(
1416 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1417 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1418 70245 : return ::new (mem) FeaturesFile_SymbolNamesByNameEntry_DoNotUse(arena);
1419 : }
1420 : constexpr auto FeaturesFile_SymbolNamesByNameEntry_DoNotUse::InternalNewImpl_() {
1421 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FeaturesFile_SymbolNamesByNameEntry_DoNotUse),
1422 : alignof(FeaturesFile_SymbolNamesByNameEntry_DoNotUse));
1423 : }
1424 : constexpr auto FeaturesFile_SymbolNamesByNameEntry_DoNotUse::InternalGenerateClassData_() {
1425 : return ::google::protobuf::internal::ClassDataFull{
1426 : ::google::protobuf::internal::ClassData{
1427 : &_FeaturesFile_SymbolNamesByNameEntry_DoNotUse_default_instance_._instance,
1428 : &_table_.header,
1429 : nullptr, // OnDemandRegisterArenaDtor
1430 : nullptr, // IsInitialized
1431 : &FeaturesFile_SymbolNamesByNameEntry_DoNotUse::MergeImpl,
1432 : ::google::protobuf::Message::GetNewImpl<FeaturesFile_SymbolNamesByNameEntry_DoNotUse>(),
1433 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1434 : &FeaturesFile_SymbolNamesByNameEntry_DoNotUse::SharedDtor,
1435 : static_cast<void (::google::protobuf::MessageLite::*)()>(&FeaturesFile_SymbolNamesByNameEntry_DoNotUse::ClearImpl),
1436 : ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
1437 : ,
1438 : #endif // PROTOBUF_CUSTOM_VTABLE
1439 : PROTOBUF_FIELD_OFFSET(FeaturesFile_SymbolNamesByNameEntry_DoNotUse, _impl_._cached_size_),
1440 : false,
1441 : },
1442 : &FeaturesFile_SymbolNamesByNameEntry_DoNotUse::kDescriptorMethods,
1443 : &descriptor_table_featuresfile_2eproto,
1444 : nullptr, // tracker
1445 : };
1446 : }
1447 :
1448 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1449 : ::google::protobuf::internal::ClassDataFull FeaturesFile_SymbolNamesByNameEntry_DoNotUse_class_data_ =
1450 : FeaturesFile_SymbolNamesByNameEntry_DoNotUse::InternalGenerateClassData_();
1451 :
1452 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1453 576286 : FeaturesFile_SymbolNamesByNameEntry_DoNotUse::GetClassData() const {
1454 576286 : ::google::protobuf::internal::PrefetchToLocalCache(&FeaturesFile_SymbolNamesByNameEntry_DoNotUse_class_data_);
1455 576286 : ::google::protobuf::internal::PrefetchToLocalCache(FeaturesFile_SymbolNamesByNameEntry_DoNotUse_class_data_.tc_table);
1456 576286 : return FeaturesFile_SymbolNamesByNameEntry_DoNotUse_class_data_.base();
1457 : }
1458 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1459 : const ::_pbi::TcParseTable<1, 2, 1, 64, 2>
1460 : FeaturesFile_SymbolNamesByNameEntry_DoNotUse::_table_ = {
1461 : {
1462 : PROTOBUF_FIELD_OFFSET(FeaturesFile_SymbolNamesByNameEntry_DoNotUse, _impl_._has_bits_),
1463 : 0, // no _extensions_
1464 : 2, 8, // max_field_number, fast_idx_mask
1465 : offsetof(decltype(_table_), field_lookup_table),
1466 : 4294967292, // skipmap
1467 : offsetof(decltype(_table_), field_entries),
1468 : 2, // num_field_entries
1469 : 1, // num_aux_entries
1470 : offsetof(decltype(_table_), aux_entries),
1471 : FeaturesFile_SymbolNamesByNameEntry_DoNotUse_class_data_.base(),
1472 : nullptr, // post_loop_handler
1473 : ::_pbi::TcParser::DiscardEverythingFallback, // fallback
1474 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1475 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::FeaturesFile_SymbolNamesByNameEntry_DoNotUse>(), // to_prefetch
1476 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1477 : }, {{
1478 : // .Odb.Lib.Protobuf.SymbolName value = 2;
1479 : {::_pbi::TcParser::FastMtS1,
1480 : {18, 1, 0,
1481 : PROTOBUF_FIELD_OFFSET(FeaturesFile_SymbolNamesByNameEntry_DoNotUse, _impl_.value_)}},
1482 : // string key = 1;
1483 : {::_pbi::TcParser::FastUS1,
1484 : {10, 0, 0,
1485 : PROTOBUF_FIELD_OFFSET(FeaturesFile_SymbolNamesByNameEntry_DoNotUse, _impl_.key_)}},
1486 : }}, {{
1487 : 65535, 65535
1488 : }}, {{
1489 : // string key = 1;
1490 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_SymbolNamesByNameEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1491 : // .Odb.Lib.Protobuf.SymbolName value = 2;
1492 : {PROTOBUF_FIELD_OFFSET(FeaturesFile_SymbolNamesByNameEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1493 : }},
1494 : {{
1495 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::SymbolName>()},
1496 : }},
1497 : {{
1498 : "\64\3\0\0\0\0\0\0"
1499 : "Odb.Lib.Protobuf.FeaturesFile.SymbolNamesByNameEntry"
1500 : "key"
1501 : }},
1502 : };
1503 : // ===================================================================
1504 :
1505 : class FeaturesFile::_Internal {
1506 : public:
1507 : using HasBits =
1508 : decltype(::std::declval<FeaturesFile>()._impl_._has_bits_);
1509 : static constexpr ::int32_t kHasBitsOffset =
1510 : 8 * PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_._has_bits_);
1511 : };
1512 :
1513 0 : void FeaturesFile::clear_symbolnamesbyname() {
1514 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
1515 0 : _impl_.symbolnamesbyname_.Clear();
1516 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
1517 : 0x00000080U);
1518 0 : }
1519 0 : void FeaturesFile::clear_symbolnames() {
1520 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
1521 0 : _impl_.symbolnames_.Clear();
1522 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
1523 : 0x00000002U);
1524 0 : }
1525 17105 : FeaturesFile::FeaturesFile(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1526 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1527 : : ::google::protobuf::Message(arena, FeaturesFile_class_data_.base()) {
1528 : #else // PROTOBUF_CUSTOM_VTABLE
1529 17105 : : ::google::protobuf::Message(arena) {
1530 : #endif // PROTOBUF_CUSTOM_VTABLE
1531 17105 : SharedCtor(arena);
1532 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.FeaturesFile)
1533 17105 : }
1534 36385 : PROTOBUF_NDEBUG_INLINE FeaturesFile::Impl_::Impl_(
1535 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1536 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1537 36385 : [[maybe_unused]] const ::Odb::Lib::Protobuf::FeaturesFile& from_msg)
1538 36385 : : _has_bits_{from._has_bits_},
1539 36385 : _cached_size_{0},
1540 36385 : featurerecords_{visibility, arena, from.featurerecords_},
1541 36385 : symbolnames_{visibility, arena, from.symbolnames_},
1542 36385 : units_(arena, from.units_),
1543 36385 : path_(arena, from.path_),
1544 36385 : directory_(arena, from.directory_),
1545 36385 : symbolnamesbyname_{visibility, arena, from.symbolnamesbyname_} {}
1546 :
1547 36385 : FeaturesFile::FeaturesFile(
1548 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1549 36385 : const FeaturesFile& from)
1550 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1551 : : ::google::protobuf::Message(arena, FeaturesFile_class_data_.base()) {
1552 : #else // PROTOBUF_CUSTOM_VTABLE
1553 36385 : : ::google::protobuf::Message(arena) {
1554 : #endif // PROTOBUF_CUSTOM_VTABLE
1555 36385 : FeaturesFile* const _this = this;
1556 : (void)_this;
1557 36385 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1558 36385 : from._internal_metadata_);
1559 36385 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1560 36385 : ::memcpy(reinterpret_cast<char*>(&_impl_) +
1561 : offsetof(Impl_, id_),
1562 36385 : reinterpret_cast<const char*>(&from._impl_) +
1563 : offsetof(Impl_, id_),
1564 : offsetof(Impl_, numfeatures_) -
1565 : offsetof(Impl_, id_) +
1566 : sizeof(Impl_::numfeatures_));
1567 :
1568 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.FeaturesFile)
1569 36385 : }
1570 17105 : PROTOBUF_NDEBUG_INLINE FeaturesFile::Impl_::Impl_(
1571 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1572 17105 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1573 17105 : : _cached_size_{0},
1574 17105 : featurerecords_{visibility, arena},
1575 17105 : symbolnames_{visibility, arena},
1576 17105 : units_(arena),
1577 17105 : path_(arena),
1578 17105 : directory_(arena),
1579 34210 : symbolnamesbyname_{visibility, arena} {}
1580 :
1581 17105 : inline void FeaturesFile::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1582 17105 : new (&_impl_) Impl_(internal_visibility(), arena);
1583 17105 : ::memset(reinterpret_cast<char*>(&_impl_) +
1584 : offsetof(Impl_, id_),
1585 : 0,
1586 : offsetof(Impl_, numfeatures_) -
1587 : offsetof(Impl_, id_) +
1588 : sizeof(Impl_::numfeatures_));
1589 17105 : }
1590 106980 : FeaturesFile::~FeaturesFile() {
1591 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.FeaturesFile)
1592 53490 : SharedDtor(*this);
1593 106980 : }
1594 53490 : inline void FeaturesFile::SharedDtor(MessageLite& self) {
1595 53490 : FeaturesFile& this_ = static_cast<FeaturesFile&>(self);
1596 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1597 53490 : this_.CheckHasBitConsistency();
1598 : }
1599 53490 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1600 53490 : ABSL_DCHECK(this_.GetArena() == nullptr);
1601 53490 : this_._impl_.units_.Destroy();
1602 53490 : this_._impl_.path_.Destroy();
1603 53490 : this_._impl_.directory_.Destroy();
1604 53490 : this_._impl_.~Impl_();
1605 53490 : }
1606 :
1607 1571 : inline void* PROTOBUF_NONNULL FeaturesFile::PlacementNew_(
1608 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1609 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1610 1571 : return ::new (mem) FeaturesFile(arena);
1611 : }
1612 : constexpr auto FeaturesFile::InternalNewImpl_() {
1613 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1614 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.featurerecords_) +
1615 : decltype(FeaturesFile::_impl_.featurerecords_)::
1616 : InternalGetArenaOffset(
1617 : ::google::protobuf::Message::internal_visibility()),
1618 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.symbolnamesbyname_) +
1619 : decltype(FeaturesFile::_impl_.symbolnamesbyname_)::
1620 : InternalGetArenaOffset(
1621 : ::google::protobuf::Message::internal_visibility()),
1622 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.symbolnames_) +
1623 : decltype(FeaturesFile::_impl_.symbolnames_)::
1624 : InternalGetArenaOffset(
1625 : ::google::protobuf::Message::internal_visibility()),
1626 : });
1627 : if (arena_bits.has_value()) {
1628 : return ::google::protobuf::internal::MessageCreator::CopyInit(
1629 : sizeof(FeaturesFile), alignof(FeaturesFile), *arena_bits);
1630 : } else {
1631 : return ::google::protobuf::internal::MessageCreator(&FeaturesFile::PlacementNew_,
1632 : sizeof(FeaturesFile),
1633 : alignof(FeaturesFile));
1634 : }
1635 : }
1636 : constexpr auto FeaturesFile::InternalGenerateClassData_() {
1637 : return ::google::protobuf::internal::ClassDataFull{
1638 : ::google::protobuf::internal::ClassData{
1639 : &_FeaturesFile_default_instance_._instance,
1640 : &_table_.header,
1641 : nullptr, // OnDemandRegisterArenaDtor
1642 : nullptr, // IsInitialized
1643 : &FeaturesFile::MergeImpl,
1644 : ::google::protobuf::Message::GetNewImpl<FeaturesFile>(),
1645 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1646 : &FeaturesFile::SharedDtor,
1647 : ::google::protobuf::Message::GetClearImpl<FeaturesFile>(), &FeaturesFile::ByteSizeLong,
1648 : &FeaturesFile::_InternalSerialize,
1649 : #endif // PROTOBUF_CUSTOM_VTABLE
1650 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_._cached_size_),
1651 : false,
1652 : },
1653 : &FeaturesFile::kDescriptorMethods,
1654 : &descriptor_table_featuresfile_2eproto,
1655 : nullptr, // tracker
1656 : };
1657 : }
1658 :
1659 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1660 : ::google::protobuf::internal::ClassDataFull FeaturesFile_class_data_ =
1661 : FeaturesFile::InternalGenerateClassData_();
1662 :
1663 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1664 28611973 : FeaturesFile::GetClassData() const {
1665 28611973 : ::google::protobuf::internal::PrefetchToLocalCache(&FeaturesFile_class_data_);
1666 28611973 : ::google::protobuf::internal::PrefetchToLocalCache(FeaturesFile_class_data_.tc_table);
1667 28611973 : return FeaturesFile_class_data_.base();
1668 : }
1669 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1670 : const ::_pbi::TcParseTable<4, 8, 4, 81, 2>
1671 : FeaturesFile::_table_ = {
1672 : {
1673 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_._has_bits_),
1674 : 0, // no _extensions_
1675 : 10, 120, // max_field_number, fast_idx_mask
1676 : offsetof(decltype(_table_), field_lookup_table),
1677 : 4294966284, // skipmap
1678 : offsetof(decltype(_table_), field_entries),
1679 : 8, // num_field_entries
1680 : 4, // num_aux_entries
1681 : offsetof(decltype(_table_), aux_entries),
1682 : FeaturesFile_class_data_.base(),
1683 : nullptr, // post_loop_handler
1684 : ::_pbi::TcParser::GenericFallback, // fallback
1685 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1686 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::FeaturesFile>(), // to_prefetch
1687 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1688 : }, {{
1689 : {::_pbi::TcParser::MiniParse, {}},
1690 : // optional string units = 1;
1691 : {::_pbi::TcParser::FastUS1,
1692 : {10, 2, 0,
1693 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.units_)}},
1694 : // optional uint32 id = 2;
1695 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FeaturesFile, _impl_.id_), 5>(),
1696 : {16, 5, 0,
1697 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.id_)}},
1698 : {::_pbi::TcParser::MiniParse, {}},
1699 : {::_pbi::TcParser::MiniParse, {}},
1700 : // optional string path = 5;
1701 : {::_pbi::TcParser::FastUS1,
1702 : {42, 3, 0,
1703 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.path_)}},
1704 : // optional string directory = 6;
1705 : {::_pbi::TcParser::FastUS1,
1706 : {50, 4, 0,
1707 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.directory_)}},
1708 : // optional int32 numFeatures = 7;
1709 : {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FeaturesFile, _impl_.numfeatures_), 6>(),
1710 : {56, 6, 0,
1711 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.numfeatures_)}},
1712 : // repeated .Odb.Lib.Protobuf.FeaturesFile.FeatureRecord featureRecords = 8;
1713 : {::_pbi::TcParser::FastMtR1,
1714 : {66, 0, 0,
1715 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.featurerecords_)}},
1716 : {::_pbi::TcParser::MiniParse, {}},
1717 : // repeated .Odb.Lib.Protobuf.SymbolName symbolNames = 10;
1718 : {::_pbi::TcParser::FastMtR1,
1719 : {82, 1, 1,
1720 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.symbolnames_)}},
1721 : {::_pbi::TcParser::MiniParse, {}},
1722 : {::_pbi::TcParser::MiniParse, {}},
1723 : {::_pbi::TcParser::MiniParse, {}},
1724 : {::_pbi::TcParser::MiniParse, {}},
1725 : {::_pbi::TcParser::MiniParse, {}},
1726 : }}, {{
1727 : 65535, 65535
1728 : }}, {{
1729 : // optional string units = 1;
1730 : {PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.units_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1731 : // optional uint32 id = 2;
1732 : {PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.id_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
1733 : // optional string path = 5;
1734 : {PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.path_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1735 : // optional string directory = 6;
1736 : {PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.directory_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1737 : // optional int32 numFeatures = 7;
1738 : {PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.numfeatures_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1739 : // repeated .Odb.Lib.Protobuf.FeaturesFile.FeatureRecord featureRecords = 8;
1740 : {PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.featurerecords_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1741 : // map<string, .Odb.Lib.Protobuf.SymbolName> symbolNamesByName = 9;
1742 : {PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.symbolnamesbyname_), _Internal::kHasBitsOffset + 7, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1743 : // repeated .Odb.Lib.Protobuf.SymbolName symbolNames = 10;
1744 : {PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.symbolnames_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1745 : }},
1746 : {{
1747 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::FeaturesFile_FeatureRecord>()},
1748 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::SymbolName>()},
1749 : {::_pbi::TcParser::GetMapAuxInfo(
1750 : 1, 0, 9, 11, 0)},
1751 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::SymbolName>()},
1752 : }},
1753 : {{
1754 : "\35\5\0\4\11\0\0\21\0\0\0\0\0\0\0\0"
1755 : "Odb.Lib.Protobuf.FeaturesFile"
1756 : "units"
1757 : "path"
1758 : "directory"
1759 : "symbolNamesByName"
1760 : }},
1761 : };
1762 7769 : PROTOBUF_NOINLINE void FeaturesFile::Clear() {
1763 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.FeaturesFile)
1764 7769 : ::google::protobuf::internal::TSanWrite(&_impl_);
1765 7769 : ::uint32_t cached_has_bits = 0;
1766 : // Prevent compiler warnings about cached_has_bits being unused
1767 : (void) cached_has_bits;
1768 :
1769 7769 : cached_has_bits = _impl_._has_bits_[0];
1770 7769 : if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
1771 4 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1772 1 : _impl_.featurerecords_.Clear();
1773 : }
1774 4 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1775 0 : _impl_.symbolnames_.Clear();
1776 : }
1777 4 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1778 4 : _impl_.units_.ClearNonDefaultToEmpty();
1779 : }
1780 4 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1781 0 : _impl_.path_.ClearNonDefaultToEmpty();
1782 : }
1783 4 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1784 0 : _impl_.directory_.ClearNonDefaultToEmpty();
1785 : }
1786 : }
1787 7769 : if (BatchCheckHasBit(cached_has_bits, 0x000000e0U)) {
1788 4 : ::memset(&_impl_.id_, 0, static_cast<::size_t>(
1789 : reinterpret_cast<char*>(&_impl_.numfeatures_) -
1790 : reinterpret_cast<char*>(&_impl_.id_)) + sizeof(_impl_.numfeatures_));
1791 4 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
1792 0 : _impl_.symbolnamesbyname_.Clear();
1793 : }
1794 : }
1795 7769 : _impl_._has_bits_.Clear();
1796 7769 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1797 7769 : }
1798 :
1799 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1800 : ::uint8_t* PROTOBUF_NONNULL FeaturesFile::_InternalSerialize(
1801 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1802 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1803 : const FeaturesFile& this_ = static_cast<const FeaturesFile&>(base);
1804 : #else // PROTOBUF_CUSTOM_VTABLE
1805 7714 : ::uint8_t* PROTOBUF_NONNULL FeaturesFile::_InternalSerialize(
1806 : ::uint8_t* PROTOBUF_NONNULL target,
1807 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1808 7714 : const FeaturesFile& this_ = *this;
1809 : #endif // PROTOBUF_CUSTOM_VTABLE
1810 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1811 7714 : this_.CheckHasBitConsistency();
1812 : }
1813 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.FeaturesFile)
1814 7714 : ::uint32_t cached_has_bits = 0;
1815 : (void)cached_has_bits;
1816 :
1817 7714 : cached_has_bits = this_._impl_._has_bits_[0];
1818 : // optional string units = 1;
1819 7714 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1820 7714 : const ::std::string& _s = this_._internal_units();
1821 15428 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1822 7714 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FeaturesFile.units");
1823 7714 : target = stream->WriteStringMaybeAliased(1, _s, target);
1824 : }
1825 :
1826 : // optional uint32 id = 2;
1827 7714 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1828 7714 : target = stream->EnsureSpace(target);
1829 7714 : target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
1830 : 2, this_._internal_id(), target);
1831 : }
1832 :
1833 : // optional string path = 5;
1834 7714 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1835 0 : const ::std::string& _s = this_._internal_path();
1836 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1837 0 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FeaturesFile.path");
1838 0 : target = stream->WriteStringMaybeAliased(5, _s, target);
1839 : }
1840 :
1841 : // optional string directory = 6;
1842 7714 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1843 0 : const ::std::string& _s = this_._internal_directory();
1844 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1845 0 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FeaturesFile.directory");
1846 0 : target = stream->WriteStringMaybeAliased(6, _s, target);
1847 : }
1848 :
1849 : // optional int32 numFeatures = 7;
1850 7714 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1851 : target =
1852 7714 : ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<7>(
1853 : stream, this_._internal_numfeatures(), target);
1854 : }
1855 :
1856 : // repeated .Odb.Lib.Protobuf.FeaturesFile.FeatureRecord featureRecords = 8;
1857 7714 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1858 12331080 : for (unsigned i = 0, n = static_cast<unsigned>(
1859 6396 : this_._internal_featurerecords_size());
1860 12324684 : i < n; i++) {
1861 12318288 : const auto& repfield = this_._internal_featurerecords().Get(i);
1862 : target =
1863 12318288 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1864 : 8, repfield, repfield.GetCachedSize(),
1865 : target, stream);
1866 : }
1867 : }
1868 :
1869 : // map<string, .Odb.Lib.Protobuf.SymbolName> symbolNamesByName = 9;
1870 7714 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
1871 4706 : if (!this_._internal_symbolnamesbyname().empty()) {
1872 : using MapType = ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::SymbolName>;
1873 : using WireHelper = _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::SymbolName,
1874 : _pbi::WireFormatLite::TYPE_STRING,
1875 : _pbi::WireFormatLite::TYPE_MESSAGE>;
1876 4706 : const auto& field = this_._internal_symbolnamesbyname();
1877 :
1878 4706 : if (stream->IsSerializationDeterministic() && field.size() > 1) {
1879 9548 : for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
1880 18436 : target = WireHelper::InternalSerialize(
1881 9218 : 9, entry.first, entry.second, target, stream);
1882 18436 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1883 9218 : entry.first.data(), static_cast<int>(entry.first.length()),
1884 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FeaturesFile.symbolNamesByName");
1885 330 : }
1886 : } else {
1887 39488 : for (const auto& entry : field) {
1888 70224 : target = WireHelper::InternalSerialize(
1889 35112 : 9, entry.first, entry.second, target, stream);
1890 70224 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1891 35112 : entry.first.data(), static_cast<int>(entry.first.length()),
1892 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FeaturesFile.symbolNamesByName");
1893 : }
1894 : }
1895 : }
1896 : }
1897 :
1898 : // repeated .Odb.Lib.Protobuf.SymbolName symbolNames = 10;
1899 7714 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1900 53742 : for (unsigned i = 0, n = static_cast<unsigned>(
1901 4706 : this_._internal_symbolnames_size());
1902 49036 : i < n; i++) {
1903 44330 : const auto& repfield = this_._internal_symbolnames().Get(i);
1904 : target =
1905 44330 : ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1906 : 10, repfield, repfield.GetCachedSize(),
1907 : target, stream);
1908 : }
1909 : }
1910 :
1911 7714 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1912 : target =
1913 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1914 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1915 : }
1916 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.FeaturesFile)
1917 7714 : return target;
1918 : }
1919 :
1920 : #if defined(PROTOBUF_CUSTOM_VTABLE)
1921 : ::size_t FeaturesFile::ByteSizeLong(const MessageLite& base) {
1922 : const FeaturesFile& this_ = static_cast<const FeaturesFile&>(base);
1923 : #else // PROTOBUF_CUSTOM_VTABLE
1924 10004 : ::size_t FeaturesFile::ByteSizeLong() const {
1925 10004 : const FeaturesFile& this_ = *this;
1926 : #endif // PROTOBUF_CUSTOM_VTABLE
1927 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.FeaturesFile)
1928 10004 : ::size_t total_size = 0;
1929 :
1930 10004 : ::uint32_t cached_has_bits = 0;
1931 : // Prevent compiler warnings about cached_has_bits being unused
1932 : (void)cached_has_bits;
1933 :
1934 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1935 10004 : cached_has_bits = this_._impl_._has_bits_[0];
1936 10004 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1937 : // repeated .Odb.Lib.Protobuf.FeaturesFile.FeatureRecord featureRecords = 8;
1938 10004 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1939 8148 : total_size += 1UL * this_._internal_featurerecords_size();
1940 14760292 : for (const auto& msg : this_._internal_featurerecords()) {
1941 14752144 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1942 : }
1943 : }
1944 : // repeated .Odb.Lib.Protobuf.SymbolName symbolNames = 10;
1945 10004 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1946 6306 : total_size += 1UL * this_._internal_symbolnames_size();
1947 65284 : for (const auto& msg : this_._internal_symbolnames()) {
1948 58978 : total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1949 : }
1950 : }
1951 : // optional string units = 1;
1952 10004 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1953 10004 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1954 : this_._internal_units());
1955 : }
1956 : // optional string path = 5;
1957 10004 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1958 0 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1959 : this_._internal_path());
1960 : }
1961 : // optional string directory = 6;
1962 10004 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1963 0 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1964 : this_._internal_directory());
1965 : }
1966 : // optional uint32 id = 2;
1967 10004 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1968 10004 : total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
1969 : this_._internal_id());
1970 : }
1971 : // optional int32 numFeatures = 7;
1972 10004 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1973 10004 : total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1974 : this_._internal_numfeatures());
1975 : }
1976 : // map<string, .Odb.Lib.Protobuf.SymbolName> symbolNamesByName = 9;
1977 10004 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
1978 6306 : total_size +=
1979 6306 : 1 * ::google::protobuf::internal::FromIntSize(this_._internal_symbolnamesbyname_size());
1980 65284 : for (const auto& entry : this_._internal_symbolnamesbyname()) {
1981 58978 : total_size += _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::SymbolName,
1982 : _pbi::WireFormatLite::TYPE_STRING,
1983 58978 : _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
1984 : }
1985 : }
1986 : }
1987 10004 : return this_.MaybeComputeUnknownFieldsSize(total_size,
1988 10004 : &this_._impl_._cached_size_);
1989 : }
1990 :
1991 7769 : void FeaturesFile::MergeImpl(::google::protobuf::MessageLite& to_msg,
1992 : const ::google::protobuf::MessageLite& from_msg) {
1993 7769 : auto* const _this =
1994 : static_cast<FeaturesFile*>(&to_msg);
1995 7769 : auto& from = static_cast<const FeaturesFile&>(from_msg);
1996 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1997 7769 : from.CheckHasBitConsistency();
1998 : }
1999 7769 : ::google::protobuf::Arena* arena = _this->GetArena();
2000 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.FeaturesFile)
2001 7769 : ABSL_DCHECK_NE(&from, _this);
2002 7769 : ::uint32_t cached_has_bits = 0;
2003 : (void)cached_has_bits;
2004 :
2005 7769 : cached_has_bits = from._impl_._has_bits_[0];
2006 7769 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
2007 7769 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2008 13290 : _this->_internal_mutable_featurerecords()->InternalMergeFromWithArena(
2009 6645 : ::google::protobuf::MessageLite::internal_visibility(), arena,
2010 : from._internal_featurerecords());
2011 : }
2012 7769 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2013 8706 : _this->_internal_mutable_symbolnames()->InternalMergeFromWithArena(
2014 4353 : ::google::protobuf::MessageLite::internal_visibility(), arena,
2015 : from._internal_symbolnames());
2016 : }
2017 7769 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2018 7769 : _this->_internal_set_units(from._internal_units());
2019 : }
2020 7769 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2021 0 : _this->_internal_set_path(from._internal_path());
2022 : }
2023 7769 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2024 0 : _this->_internal_set_directory(from._internal_directory());
2025 : }
2026 7769 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2027 7769 : _this->_impl_.id_ = from._impl_.id_;
2028 : }
2029 7769 : if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2030 7769 : _this->_impl_.numfeatures_ = from._impl_.numfeatures_;
2031 : }
2032 7769 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
2033 4353 : _this->_impl_.symbolnamesbyname_.MergeFrom(from._impl_.symbolnamesbyname_);
2034 : }
2035 : }
2036 7769 : _this->_impl_._has_bits_[0] |= cached_has_bits;
2037 7769 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2038 7769 : from._internal_metadata_);
2039 7769 : }
2040 :
2041 7765 : void FeaturesFile::CopyFrom(const FeaturesFile& from) {
2042 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.FeaturesFile)
2043 7765 : if (&from == this) return;
2044 7765 : Clear();
2045 7765 : MergeFrom(from);
2046 : }
2047 :
2048 :
2049 0 : void FeaturesFile::InternalSwap(FeaturesFile* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2050 : using ::std::swap;
2051 0 : auto* arena = GetArena();
2052 0 : ABSL_DCHECK_EQ(arena, other->GetArena());
2053 0 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2054 0 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2055 0 : _impl_.featurerecords_.InternalSwap(&other->_impl_.featurerecords_);
2056 0 : _impl_.symbolnames_.InternalSwap(&other->_impl_.symbolnames_);
2057 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.units_, &other->_impl_.units_, arena);
2058 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena);
2059 0 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.directory_, &other->_impl_.directory_, arena);
2060 : ::google::protobuf::internal::memswap<
2061 : PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.numfeatures_)
2062 : + sizeof(FeaturesFile::_impl_.numfeatures_)
2063 0 : - PROTOBUF_FIELD_OFFSET(FeaturesFile, _impl_.id_)>(
2064 0 : reinterpret_cast<char*>(&_impl_.id_),
2065 0 : reinterpret_cast<char*>(&other->_impl_.id_));
2066 0 : _impl_.symbolnamesbyname_.InternalSwap(&other->_impl_.symbolnamesbyname_);
2067 0 : }
2068 :
2069 0 : ::google::protobuf::Metadata FeaturesFile::GetMetadata() const {
2070 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2071 : }
2072 : // @@protoc_insertion_point(namespace_scope)
2073 : } // namespace Protobuf
2074 : } // namespace Lib
2075 : } // namespace Odb
2076 : namespace google {
2077 : namespace protobuf {
2078 : } // namespace protobuf
2079 : } // namespace google
2080 : // @@protoc_insertion_point(global_scope)
2081 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
2082 : _static_init2_ [[maybe_unused]] =
2083 : (::_pbi::AddDescriptors(&descriptor_table_featuresfile_2eproto),
2084 : ::std::false_type{});
2085 : #include "google/protobuf/port_undef.inc"
|