Line data Source code
1 : // Generated by the protocol buffer compiler. DO NOT EDIT!
2 : // NO CHECKED-IN PROTOBUF GENCODE
3 : // source: filearchive.proto
4 : // Protobuf C++ Version: 6.33.4
5 :
6 : #include "filearchive.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 FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse(::_pbi::ConstantInitialized)
32 : #if defined(PROTOBUF_CUSTOM_VTABLE)
33 : : FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::MapEntry(FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_class_data_.base()){}
34 : #else // PROTOBUF_CUSTOM_VTABLE
35 : : FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::MapEntry() {
36 : }
37 : #endif // PROTOBUF_CUSTOM_VTABLE
38 : struct FileArchive_SymbolsDirectoriesByNameEntry_DoNotUseDefaultTypeInternal {
39 : PROTOBUF_CONSTEXPR FileArchive_SymbolsDirectoriesByNameEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
40 319 : ~FileArchive_SymbolsDirectoriesByNameEntry_DoNotUseDefaultTypeInternal() {}
41 : union {
42 : FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse _instance;
43 : };
44 : };
45 :
46 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
47 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileArchive_SymbolsDirectoriesByNameEntry_DoNotUseDefaultTypeInternal _FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_default_instance_;
48 : template <typename>
49 : PROTOBUF_CONSTEXPR FileArchive_StepsByNameEntry_DoNotUse::FileArchive_StepsByNameEntry_DoNotUse(::_pbi::ConstantInitialized)
50 : #if defined(PROTOBUF_CUSTOM_VTABLE)
51 : : FileArchive_StepsByNameEntry_DoNotUse::MapEntry(FileArchive_StepsByNameEntry_DoNotUse_class_data_.base()){}
52 : #else // PROTOBUF_CUSTOM_VTABLE
53 : : FileArchive_StepsByNameEntry_DoNotUse::MapEntry() {
54 : }
55 : #endif // PROTOBUF_CUSTOM_VTABLE
56 : struct FileArchive_StepsByNameEntry_DoNotUseDefaultTypeInternal {
57 : PROTOBUF_CONSTEXPR FileArchive_StepsByNameEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
58 319 : ~FileArchive_StepsByNameEntry_DoNotUseDefaultTypeInternal() {}
59 : union {
60 : FileArchive_StepsByNameEntry_DoNotUse _instance;
61 : };
62 : };
63 :
64 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
65 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileArchive_StepsByNameEntry_DoNotUseDefaultTypeInternal _FileArchive_StepsByNameEntry_DoNotUse_default_instance_;
66 :
67 : inline constexpr FileArchive::Impl_::Impl_(
68 : ::_pbi::ConstantInitialized) noexcept
69 : : _cached_size_{0},
70 : productname_(
71 : &::google::protobuf::internal::fixed_address_empty_string,
72 : ::_pbi::ConstantInitialized()),
73 : filename_(
74 : &::google::protobuf::internal::fixed_address_empty_string,
75 : ::_pbi::ConstantInitialized()),
76 : miscinfofile_{nullptr},
77 : matrixfile_{nullptr},
78 : standardfontsfile_{nullptr},
79 : miscattrlistfile_{nullptr},
80 : stepsbyname_{},
81 : symbolsdirectoriesbyname_{} {}
82 :
83 : template <typename>
84 : PROTOBUF_CONSTEXPR FileArchive::FileArchive(::_pbi::ConstantInitialized)
85 : #if defined(PROTOBUF_CUSTOM_VTABLE)
86 : : ::google::protobuf::Message(FileArchive_class_data_.base()),
87 : #else // PROTOBUF_CUSTOM_VTABLE
88 : : ::google::protobuf::Message(),
89 : #endif // PROTOBUF_CUSTOM_VTABLE
90 : _impl_(::_pbi::ConstantInitialized()) {
91 : }
92 : struct FileArchiveDefaultTypeInternal {
93 : PROTOBUF_CONSTEXPR FileArchiveDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
94 319 : ~FileArchiveDefaultTypeInternal() {}
95 : union {
96 : FileArchive _instance;
97 : };
98 : };
99 :
100 : PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ODBDESIGN_EXPORT
101 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FileArchiveDefaultTypeInternal _FileArchive_default_instance_;
102 : } // namespace Protobuf
103 : } // namespace Lib
104 : } // namespace Odb
105 : static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
106 : file_level_enum_descriptors_filearchive_2eproto = nullptr;
107 : static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
108 : file_level_service_descriptors_filearchive_2eproto = nullptr;
109 : const ::uint32_t
110 : TableStruct_filearchive_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
111 : protodesc_cold) = {
112 : 0x081, // bitmap
113 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive_StepsByNameEntry_DoNotUse, _impl_._has_bits_),
114 : 5, // hasbit index offset
115 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive_StepsByNameEntry_DoNotUse, _impl_.key_),
116 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive_StepsByNameEntry_DoNotUse, _impl_.value_),
117 : 0,
118 : 1,
119 : 0x081, // bitmap
120 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse, _impl_._has_bits_),
121 : 5, // hasbit index offset
122 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse, _impl_.key_),
123 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse, _impl_.value_),
124 : 0,
125 : 1,
126 : 0x081, // bitmap
127 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive, _impl_._has_bits_),
128 : 11, // hasbit index offset
129 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive, _impl_.stepsbyname_),
130 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive, _impl_.miscinfofile_),
131 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive, _impl_.matrixfile_),
132 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive, _impl_.standardfontsfile_),
133 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive, _impl_.symbolsdirectoriesbyname_),
134 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive, _impl_.miscattrlistfile_),
135 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive, _impl_.productname_),
136 : PROTOBUF_FIELD_OFFSET(::Odb::Lib::Protobuf::FileArchive, _impl_.filename_),
137 : 6,
138 : 2,
139 : 3,
140 : 4,
141 : 7,
142 : 5,
143 : 0,
144 : 1,
145 : };
146 :
147 : static const ::_pbi::MigrationSchema
148 : schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
149 : {0, sizeof(::Odb::Lib::Protobuf::FileArchive_StepsByNameEntry_DoNotUse)},
150 : {7, sizeof(::Odb::Lib::Protobuf::FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse)},
151 : {14, sizeof(::Odb::Lib::Protobuf::FileArchive)},
152 : };
153 : static const ::_pb::Message* PROTOBUF_NONNULL const file_default_instances[] = {
154 : &::Odb::Lib::Protobuf::_FileArchive_StepsByNameEntry_DoNotUse_default_instance_._instance,
155 : &::Odb::Lib::Protobuf::_FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_default_instance_._instance,
156 : &::Odb::Lib::Protobuf::_FileArchive_default_instance_._instance,
157 : };
158 : const char descriptor_table_protodef_filearchive_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
159 : protodesc_cold) = {
160 : "\n\021filearchive.proto\022\020Odb.Lib.Protobuf\032\023s"
161 : "tepdirectory.proto\032\022miscinfofile.proto\032\020"
162 : "matrixfile.proto\032\027standardfontsfile.prot"
163 : "o\032\026symbolsdirectory.proto\032\022attrlistfile."
164 : "proto\"\372\005\n\013FileArchive\022C\n\013stepsByName\030\001 \003"
165 : "(\0132..Odb.Lib.Protobuf.FileArchive.StepsB"
166 : "yNameEntry\0229\n\014miscInfoFile\030\002 \001(\0132\036.Odb.L"
167 : "ib.Protobuf.MiscInfoFileH\000\210\001\001\0225\n\nmatrixF"
168 : "ile\030\003 \001(\0132\034.Odb.Lib.Protobuf.MatrixFileH"
169 : "\001\210\001\001\022C\n\021standardFontsFile\030\004 \001(\0132#.Odb.Li"
170 : "b.Protobuf.StandardFontsFileH\002\210\001\001\022]\n\030sym"
171 : "bolsDirectoriesByName\030\005 \003(\0132;.Odb.Lib.Pr"
172 : "otobuf.FileArchive.SymbolsDirectoriesByN"
173 : "ameEntry\022=\n\020miscAttrListFile\030\006 \001(\0132\036.Odb"
174 : ".Lib.Protobuf.AttrListFileH\003\210\001\001\022\030\n\013produ"
175 : "ctName\030\007 \001(\tH\004\210\001\001\022\025\n\010fileName\030\010 \001(\tH\005\210\001\001"
176 : "\032S\n\020StepsByNameEntry\022\013\n\003key\030\001 \001(\t\022.\n\005val"
177 : "ue\030\002 \001(\0132\037.Odb.Lib.Protobuf.StepDirector"
178 : "y:\0028\001\032c\n\035SymbolsDirectoriesByNameEntry\022\013"
179 : "\n\003key\030\001 \001(\t\0221\n\005value\030\002 \001(\0132\".Odb.Lib.Pro"
180 : "tobuf.SymbolsDirectory:\0028\001B\017\n\r_miscInfoF"
181 : "ileB\r\n\013_matrixFileB\024\n\022_standardFontsFile"
182 : "B\023\n\021_miscAttrListFileB\016\n\014_productNameB\013\n"
183 : "\t_fileNameB\003\370\001\001b\006proto3"
184 : };
185 : static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
186 : descriptor_table_filearchive_2eproto_deps[6] = {
187 : &::descriptor_table_attrlistfile_2eproto,
188 : &::descriptor_table_matrixfile_2eproto,
189 : &::descriptor_table_miscinfofile_2eproto,
190 : &::descriptor_table_standardfontsfile_2eproto,
191 : &::descriptor_table_stepdirectory_2eproto,
192 : &::descriptor_table_symbolsdirectory_2eproto,
193 : };
194 : static ::absl::once_flag descriptor_table_filearchive_2eproto_once;
195 : PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_filearchive_2eproto = {
196 : false,
197 : false,
198 : 943,
199 : descriptor_table_protodef_filearchive_2eproto,
200 : "filearchive.proto",
201 : &descriptor_table_filearchive_2eproto_once,
202 : descriptor_table_filearchive_2eproto_deps,
203 : 6,
204 : 3,
205 : schemas,
206 : file_default_instances,
207 : TableStruct_filearchive_2eproto::offsets,
208 : file_level_enum_descriptors_filearchive_2eproto,
209 : file_level_service_descriptors_filearchive_2eproto,
210 : };
211 : namespace Odb {
212 : namespace Lib {
213 : namespace Protobuf {
214 : // ===================================================================
215 :
216 : #if defined(PROTOBUF_CUSTOM_VTABLE)
217 : FileArchive_StepsByNameEntry_DoNotUse::FileArchive_StepsByNameEntry_DoNotUse()
218 : : SuperType(FileArchive_StepsByNameEntry_DoNotUse_class_data_.base()) {}
219 : FileArchive_StepsByNameEntry_DoNotUse::FileArchive_StepsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
220 : : SuperType(arena, FileArchive_StepsByNameEntry_DoNotUse_class_data_.base()) {}
221 : #else // PROTOBUF_CUSTOM_VTABLE
222 0 : FileArchive_StepsByNameEntry_DoNotUse::FileArchive_StepsByNameEntry_DoNotUse() : SuperType() {}
223 155 : FileArchive_StepsByNameEntry_DoNotUse::FileArchive_StepsByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
224 : #endif // PROTOBUF_CUSTOM_VTABLE
225 155 : inline void* PROTOBUF_NONNULL FileArchive_StepsByNameEntry_DoNotUse::PlacementNew_(
226 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
227 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
228 155 : return ::new (mem) FileArchive_StepsByNameEntry_DoNotUse(arena);
229 : }
230 : constexpr auto FileArchive_StepsByNameEntry_DoNotUse::InternalNewImpl_() {
231 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FileArchive_StepsByNameEntry_DoNotUse),
232 : alignof(FileArchive_StepsByNameEntry_DoNotUse));
233 : }
234 : constexpr auto FileArchive_StepsByNameEntry_DoNotUse::InternalGenerateClassData_() {
235 : return ::google::protobuf::internal::ClassDataFull{
236 : ::google::protobuf::internal::ClassData{
237 : &_FileArchive_StepsByNameEntry_DoNotUse_default_instance_._instance,
238 : &_table_.header,
239 : nullptr, // OnDemandRegisterArenaDtor
240 : nullptr, // IsInitialized
241 : &FileArchive_StepsByNameEntry_DoNotUse::MergeImpl,
242 : ::google::protobuf::Message::GetNewImpl<FileArchive_StepsByNameEntry_DoNotUse>(),
243 : #if defined(PROTOBUF_CUSTOM_VTABLE)
244 : &FileArchive_StepsByNameEntry_DoNotUse::SharedDtor,
245 : static_cast<void (::google::protobuf::MessageLite::*)()>(&FileArchive_StepsByNameEntry_DoNotUse::ClearImpl),
246 : ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
247 : ,
248 : #endif // PROTOBUF_CUSTOM_VTABLE
249 : PROTOBUF_FIELD_OFFSET(FileArchive_StepsByNameEntry_DoNotUse, _impl_._cached_size_),
250 : false,
251 : },
252 : &FileArchive_StepsByNameEntry_DoNotUse::kDescriptorMethods,
253 : &descriptor_table_filearchive_2eproto,
254 : nullptr, // tracker
255 : };
256 : }
257 :
258 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
259 : ::google::protobuf::internal::ClassDataFull FileArchive_StepsByNameEntry_DoNotUse_class_data_ =
260 : FileArchive_StepsByNameEntry_DoNotUse::InternalGenerateClassData_();
261 :
262 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
263 1594 : FileArchive_StepsByNameEntry_DoNotUse::GetClassData() const {
264 1594 : ::google::protobuf::internal::PrefetchToLocalCache(&FileArchive_StepsByNameEntry_DoNotUse_class_data_);
265 1594 : ::google::protobuf::internal::PrefetchToLocalCache(FileArchive_StepsByNameEntry_DoNotUse_class_data_.tc_table);
266 1594 : return FileArchive_StepsByNameEntry_DoNotUse_class_data_.base();
267 : }
268 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
269 : const ::_pbi::TcParseTable<1, 2, 1, 57, 2>
270 : FileArchive_StepsByNameEntry_DoNotUse::_table_ = {
271 : {
272 : PROTOBUF_FIELD_OFFSET(FileArchive_StepsByNameEntry_DoNotUse, _impl_._has_bits_),
273 : 0, // no _extensions_
274 : 2, 8, // max_field_number, fast_idx_mask
275 : offsetof(decltype(_table_), field_lookup_table),
276 : 4294967292, // skipmap
277 : offsetof(decltype(_table_), field_entries),
278 : 2, // num_field_entries
279 : 1, // num_aux_entries
280 : offsetof(decltype(_table_), aux_entries),
281 : FileArchive_StepsByNameEntry_DoNotUse_class_data_.base(),
282 : nullptr, // post_loop_handler
283 : ::_pbi::TcParser::DiscardEverythingFallback, // fallback
284 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
285 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::FileArchive_StepsByNameEntry_DoNotUse>(), // to_prefetch
286 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
287 : }, {{
288 : // .Odb.Lib.Protobuf.StepDirectory value = 2;
289 : {::_pbi::TcParser::FastMtS1,
290 : {18, 1, 0,
291 : PROTOBUF_FIELD_OFFSET(FileArchive_StepsByNameEntry_DoNotUse, _impl_.value_)}},
292 : // string key = 1;
293 : {::_pbi::TcParser::FastUS1,
294 : {10, 0, 0,
295 : PROTOBUF_FIELD_OFFSET(FileArchive_StepsByNameEntry_DoNotUse, _impl_.key_)}},
296 : }}, {{
297 : 65535, 65535
298 : }}, {{
299 : // string key = 1;
300 : {PROTOBUF_FIELD_OFFSET(FileArchive_StepsByNameEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
301 : // .Odb.Lib.Protobuf.StepDirectory value = 2;
302 : {PROTOBUF_FIELD_OFFSET(FileArchive_StepsByNameEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
303 : }},
304 : {{
305 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StepDirectory>()},
306 : }},
307 : {{
308 : "\55\3\0\0\0\0\0\0"
309 : "Odb.Lib.Protobuf.FileArchive.StepsByNameEntry"
310 : "key"
311 : }},
312 : };
313 : // ===================================================================
314 :
315 : #if defined(PROTOBUF_CUSTOM_VTABLE)
316 : FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse()
317 : : SuperType(FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_class_data_.base()) {}
318 : FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
319 : : SuperType(arena, FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_class_data_.base()) {}
320 : #else // PROTOBUF_CUSTOM_VTABLE
321 0 : FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse() : SuperType() {}
322 8713 : FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
323 : #endif // PROTOBUF_CUSTOM_VTABLE
324 8713 : inline void* PROTOBUF_NONNULL FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::PlacementNew_(
325 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
326 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
327 8713 : return ::new (mem) FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse(arena);
328 : }
329 : constexpr auto FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::InternalNewImpl_() {
330 : return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse),
331 : alignof(FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse));
332 : }
333 : constexpr auto FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::InternalGenerateClassData_() {
334 : return ::google::protobuf::internal::ClassDataFull{
335 : ::google::protobuf::internal::ClassData{
336 : &_FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_default_instance_._instance,
337 : &_table_.header,
338 : nullptr, // OnDemandRegisterArenaDtor
339 : nullptr, // IsInitialized
340 : &FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::MergeImpl,
341 : ::google::protobuf::Message::GetNewImpl<FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse>(),
342 : #if defined(PROTOBUF_CUSTOM_VTABLE)
343 : &FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::SharedDtor,
344 : static_cast<void (::google::protobuf::MessageLite::*)()>(&FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::ClearImpl),
345 : ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
346 : ,
347 : #endif // PROTOBUF_CUSTOM_VTABLE
348 : PROTOBUF_FIELD_OFFSET(FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse, _impl_._cached_size_),
349 : false,
350 : },
351 : &FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::kDescriptorMethods,
352 : &descriptor_table_filearchive_2eproto,
353 : nullptr, // tracker
354 : };
355 : }
356 :
357 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
358 : ::google::protobuf::internal::ClassDataFull FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_class_data_ =
359 : FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::InternalGenerateClassData_();
360 :
361 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
362 70050 : FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::GetClassData() const {
363 70050 : ::google::protobuf::internal::PrefetchToLocalCache(&FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_class_data_);
364 70050 : ::google::protobuf::internal::PrefetchToLocalCache(FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_class_data_.tc_table);
365 70050 : return FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_class_data_.base();
366 : }
367 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
368 : const ::_pbi::TcParseTable<1, 2, 1, 70, 2>
369 : FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse::_table_ = {
370 : {
371 : PROTOBUF_FIELD_OFFSET(FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse, _impl_._has_bits_),
372 : 0, // no _extensions_
373 : 2, 8, // max_field_number, fast_idx_mask
374 : offsetof(decltype(_table_), field_lookup_table),
375 : 4294967292, // skipmap
376 : offsetof(decltype(_table_), field_entries),
377 : 2, // num_field_entries
378 : 1, // num_aux_entries
379 : offsetof(decltype(_table_), aux_entries),
380 : FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse_class_data_.base(),
381 : nullptr, // post_loop_handler
382 : ::_pbi::TcParser::DiscardEverythingFallback, // fallback
383 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
384 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse>(), // to_prefetch
385 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
386 : }, {{
387 : // .Odb.Lib.Protobuf.SymbolsDirectory value = 2;
388 : {::_pbi::TcParser::FastMtS1,
389 : {18, 1, 0,
390 : PROTOBUF_FIELD_OFFSET(FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse, _impl_.value_)}},
391 : // string key = 1;
392 : {::_pbi::TcParser::FastUS1,
393 : {10, 0, 0,
394 : PROTOBUF_FIELD_OFFSET(FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse, _impl_.key_)}},
395 : }}, {{
396 : 65535, 65535
397 : }}, {{
398 : // string key = 1;
399 : {PROTOBUF_FIELD_OFFSET(FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
400 : // .Odb.Lib.Protobuf.SymbolsDirectory value = 2;
401 : {PROTOBUF_FIELD_OFFSET(FileArchive_SymbolsDirectoriesByNameEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
402 : }},
403 : {{
404 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::SymbolsDirectory>()},
405 : }},
406 : {{
407 : "\72\3\0\0\0\0\0\0"
408 : "Odb.Lib.Protobuf.FileArchive.SymbolsDirectoriesByNameEntry"
409 : "key"
410 : }},
411 : };
412 : // ===================================================================
413 :
414 : class FileArchive::_Internal {
415 : public:
416 : using HasBits =
417 : decltype(::std::declval<FileArchive>()._impl_._has_bits_);
418 : static constexpr ::int32_t kHasBitsOffset =
419 : 8 * PROTOBUF_FIELD_OFFSET(FileArchive, _impl_._has_bits_);
420 : };
421 :
422 0 : void FileArchive::clear_stepsbyname() {
423 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
424 0 : _impl_.stepsbyname_.Clear();
425 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
426 : 0x00000040U);
427 0 : }
428 0 : void FileArchive::clear_miscinfofile() {
429 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
430 0 : if (_impl_.miscinfofile_ != nullptr) _impl_.miscinfofile_->Clear();
431 0 : ClearHasBit(_impl_._has_bits_[0],
432 : 0x00000004U);
433 0 : }
434 0 : void FileArchive::clear_matrixfile() {
435 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
436 0 : if (_impl_.matrixfile_ != nullptr) _impl_.matrixfile_->Clear();
437 0 : ClearHasBit(_impl_._has_bits_[0],
438 : 0x00000008U);
439 0 : }
440 0 : void FileArchive::clear_standardfontsfile() {
441 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
442 0 : if (_impl_.standardfontsfile_ != nullptr) _impl_.standardfontsfile_->Clear();
443 0 : ClearHasBit(_impl_._has_bits_[0],
444 : 0x00000010U);
445 0 : }
446 0 : void FileArchive::clear_symbolsdirectoriesbyname() {
447 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
448 0 : _impl_.symbolsdirectoriesbyname_.Clear();
449 0 : ClearHasBitForRepeated(_impl_._has_bits_[0],
450 : 0x00000080U);
451 0 : }
452 0 : void FileArchive::clear_miscattrlistfile() {
453 0 : ::google::protobuf::internal::TSanWrite(&_impl_);
454 0 : if (_impl_.miscattrlistfile_ != nullptr) _impl_.miscattrlistfile_->Clear();
455 0 : ClearHasBit(_impl_._has_bits_[0],
456 : 0x00000020U);
457 0 : }
458 235 : FileArchive::FileArchive(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
459 : #if defined(PROTOBUF_CUSTOM_VTABLE)
460 : : ::google::protobuf::Message(arena, FileArchive_class_data_.base()) {
461 : #else // PROTOBUF_CUSTOM_VTABLE
462 235 : : ::google::protobuf::Message(arena) {
463 : #endif // PROTOBUF_CUSTOM_VTABLE
464 235 : SharedCtor(arena);
465 : // @@protoc_insertion_point(arena_constructor:Odb.Lib.Protobuf.FileArchive)
466 235 : }
467 12 : PROTOBUF_NDEBUG_INLINE FileArchive::Impl_::Impl_(
468 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
469 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
470 12 : [[maybe_unused]] const ::Odb::Lib::Protobuf::FileArchive& from_msg)
471 12 : : _has_bits_{from._has_bits_},
472 12 : _cached_size_{0},
473 12 : productname_(arena, from.productname_),
474 12 : filename_(arena, from.filename_),
475 12 : stepsbyname_{visibility, arena, from.stepsbyname_},
476 12 : symbolsdirectoriesbyname_{visibility, arena, from.symbolsdirectoriesbyname_} {}
477 :
478 12 : FileArchive::FileArchive(
479 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
480 12 : const FileArchive& from)
481 : #if defined(PROTOBUF_CUSTOM_VTABLE)
482 : : ::google::protobuf::Message(arena, FileArchive_class_data_.base()) {
483 : #else // PROTOBUF_CUSTOM_VTABLE
484 12 : : ::google::protobuf::Message(arena) {
485 : #endif // PROTOBUF_CUSTOM_VTABLE
486 12 : FileArchive* const _this = this;
487 : (void)_this;
488 12 : _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
489 12 : from._internal_metadata_);
490 12 : new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
491 12 : ::uint32_t cached_has_bits = _impl_._has_bits_[0];
492 12 : _impl_.miscinfofile_ = (CheckHasBit(cached_has_bits, 0x00000004U))
493 24 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.miscinfofile_)
494 : : nullptr;
495 12 : _impl_.matrixfile_ = (CheckHasBit(cached_has_bits, 0x00000008U))
496 24 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.matrixfile_)
497 : : nullptr;
498 12 : _impl_.standardfontsfile_ = (CheckHasBit(cached_has_bits, 0x00000010U))
499 24 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.standardfontsfile_)
500 : : nullptr;
501 24 : _impl_.miscattrlistfile_ = (CheckHasBit(cached_has_bits, 0x00000020U))
502 24 : ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.miscattrlistfile_)
503 : : nullptr;
504 :
505 : // @@protoc_insertion_point(copy_constructor:Odb.Lib.Protobuf.FileArchive)
506 12 : }
507 235 : PROTOBUF_NDEBUG_INLINE FileArchive::Impl_::Impl_(
508 : [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
509 235 : [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
510 235 : : _cached_size_{0},
511 235 : productname_(arena),
512 235 : filename_(arena),
513 235 : stepsbyname_{visibility, arena},
514 470 : symbolsdirectoriesbyname_{visibility, arena} {}
515 :
516 235 : inline void FileArchive::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
517 235 : new (&_impl_) Impl_(internal_visibility(), arena);
518 235 : ::memset(reinterpret_cast<char*>(&_impl_) +
519 : offsetof(Impl_, miscinfofile_),
520 : 0,
521 : offsetof(Impl_, miscattrlistfile_) -
522 : offsetof(Impl_, miscinfofile_) +
523 : sizeof(Impl_::miscattrlistfile_));
524 235 : }
525 493 : FileArchive::~FileArchive() {
526 : // @@protoc_insertion_point(destructor:Odb.Lib.Protobuf.FileArchive)
527 247 : SharedDtor(*this);
528 493 : }
529 247 : inline void FileArchive::SharedDtor(MessageLite& self) {
530 247 : FileArchive& this_ = static_cast<FileArchive&>(self);
531 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
532 247 : this_.CheckHasBitConsistency();
533 : }
534 247 : this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
535 247 : ABSL_DCHECK(this_.GetArena() == nullptr);
536 247 : this_._impl_.productname_.Destroy();
537 247 : this_._impl_.filename_.Destroy();
538 247 : delete this_._impl_.miscinfofile_;
539 247 : delete this_._impl_.matrixfile_;
540 247 : delete this_._impl_.standardfontsfile_;
541 247 : delete this_._impl_.miscattrlistfile_;
542 247 : this_._impl_.~Impl_();
543 247 : }
544 :
545 24 : inline void* PROTOBUF_NONNULL FileArchive::PlacementNew_(
546 : const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
547 : ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
548 24 : return ::new (mem) FileArchive(arena);
549 : }
550 : constexpr auto FileArchive::InternalNewImpl_() {
551 : constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
552 : PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.stepsbyname_) +
553 : decltype(FileArchive::_impl_.stepsbyname_)::
554 : InternalGetArenaOffset(
555 : ::google::protobuf::Message::internal_visibility()),
556 : PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.symbolsdirectoriesbyname_) +
557 : decltype(FileArchive::_impl_.symbolsdirectoriesbyname_)::
558 : InternalGetArenaOffset(
559 : ::google::protobuf::Message::internal_visibility()),
560 : });
561 : if (arena_bits.has_value()) {
562 : return ::google::protobuf::internal::MessageCreator::CopyInit(
563 : sizeof(FileArchive), alignof(FileArchive), *arena_bits);
564 : } else {
565 : return ::google::protobuf::internal::MessageCreator(&FileArchive::PlacementNew_,
566 : sizeof(FileArchive),
567 : alignof(FileArchive));
568 : }
569 : }
570 : constexpr auto FileArchive::InternalGenerateClassData_() {
571 : return ::google::protobuf::internal::ClassDataFull{
572 : ::google::protobuf::internal::ClassData{
573 : &_FileArchive_default_instance_._instance,
574 : &_table_.header,
575 : nullptr, // OnDemandRegisterArenaDtor
576 : nullptr, // IsInitialized
577 : &FileArchive::MergeImpl,
578 : ::google::protobuf::Message::GetNewImpl<FileArchive>(),
579 : #if defined(PROTOBUF_CUSTOM_VTABLE)
580 : &FileArchive::SharedDtor,
581 : ::google::protobuf::Message::GetClearImpl<FileArchive>(), &FileArchive::ByteSizeLong,
582 : &FileArchive::_InternalSerialize,
583 : #endif // PROTOBUF_CUSTOM_VTABLE
584 : PROTOBUF_FIELD_OFFSET(FileArchive, _impl_._cached_size_),
585 : false,
586 : },
587 : &FileArchive::kDescriptorMethods,
588 : &descriptor_table_filearchive_2eproto,
589 : nullptr, // tracker
590 : };
591 : }
592 :
593 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
594 : ::google::protobuf::internal::ClassDataFull FileArchive_class_data_ =
595 : FileArchive::InternalGenerateClassData_();
596 :
597 : PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
598 11839 : FileArchive::GetClassData() const {
599 11839 : ::google::protobuf::internal::PrefetchToLocalCache(&FileArchive_class_data_);
600 11839 : ::google::protobuf::internal::PrefetchToLocalCache(FileArchive_class_data_.tc_table);
601 11839 : return FileArchive_class_data_.base();
602 : }
603 : PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
604 : const ::_pbi::TcParseTable<3, 8, 8, 99, 2>
605 : FileArchive::_table_ = {
606 : {
607 : PROTOBUF_FIELD_OFFSET(FileArchive, _impl_._has_bits_),
608 : 0, // no _extensions_
609 : 8, 56, // max_field_number, fast_idx_mask
610 : offsetof(decltype(_table_), field_lookup_table),
611 : 4294967040, // skipmap
612 : offsetof(decltype(_table_), field_entries),
613 : 8, // num_field_entries
614 : 8, // num_aux_entries
615 : offsetof(decltype(_table_), aux_entries),
616 : FileArchive_class_data_.base(),
617 : nullptr, // post_loop_handler
618 : ::_pbi::TcParser::GenericFallback, // fallback
619 : #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
620 : ::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::FileArchive>(), // to_prefetch
621 : #endif // PROTOBUF_PREFETCH_PARSE_TABLE
622 : }, {{
623 : // optional string fileName = 8;
624 : {::_pbi::TcParser::FastUS1,
625 : {66, 1, 0,
626 : PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.filename_)}},
627 : {::_pbi::TcParser::MiniParse, {}},
628 : // optional .Odb.Lib.Protobuf.MiscInfoFile miscInfoFile = 2;
629 : {::_pbi::TcParser::FastMtS1,
630 : {18, 2, 0,
631 : PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.miscinfofile_)}},
632 : // optional .Odb.Lib.Protobuf.MatrixFile matrixFile = 3;
633 : {::_pbi::TcParser::FastMtS1,
634 : {26, 3, 1,
635 : PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.matrixfile_)}},
636 : // optional .Odb.Lib.Protobuf.StandardFontsFile standardFontsFile = 4;
637 : {::_pbi::TcParser::FastMtS1,
638 : {34, 4, 2,
639 : PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.standardfontsfile_)}},
640 : {::_pbi::TcParser::MiniParse, {}},
641 : // optional .Odb.Lib.Protobuf.AttrListFile miscAttrListFile = 6;
642 : {::_pbi::TcParser::FastMtS1,
643 : {50, 5, 3,
644 : PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.miscattrlistfile_)}},
645 : // optional string productName = 7;
646 : {::_pbi::TcParser::FastUS1,
647 : {58, 0, 0,
648 : PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.productname_)}},
649 : }}, {{
650 : 65535, 65535
651 : }}, {{
652 : // map<string, .Odb.Lib.Protobuf.StepDirectory> stepsByName = 1;
653 : {PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.stepsbyname_), _Internal::kHasBitsOffset + 6, 4, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
654 : // optional .Odb.Lib.Protobuf.MiscInfoFile miscInfoFile = 2;
655 : {PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.miscinfofile_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
656 : // optional .Odb.Lib.Protobuf.MatrixFile matrixFile = 3;
657 : {PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.matrixfile_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
658 : // optional .Odb.Lib.Protobuf.StandardFontsFile standardFontsFile = 4;
659 : {PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.standardfontsfile_), _Internal::kHasBitsOffset + 4, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
660 : // map<string, .Odb.Lib.Protobuf.SymbolsDirectory> symbolsDirectoriesByName = 5;
661 : {PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.symbolsdirectoriesbyname_), _Internal::kHasBitsOffset + 7, 6, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
662 : // optional .Odb.Lib.Protobuf.AttrListFile miscAttrListFile = 6;
663 : {PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.miscattrlistfile_), _Internal::kHasBitsOffset + 5, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
664 : // optional string productName = 7;
665 : {PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.productname_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
666 : // optional string fileName = 8;
667 : {PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.filename_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
668 : }},
669 : {{
670 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::MiscInfoFile>()},
671 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::MatrixFile>()},
672 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StandardFontsFile>()},
673 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::AttrListFile>()},
674 : {::_pbi::TcParser::GetMapAuxInfo(
675 : 1, 0, 9, 11, 0)},
676 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::StepDirectory>()},
677 : {::_pbi::TcParser::GetMapAuxInfo(
678 : 1, 0, 9, 11, 0)},
679 : {::_pbi::TcParser::GetTable<::Odb::Lib::Protobuf::SymbolsDirectory>()},
680 : }},
681 : {{
682 : "\34\13\0\0\0\30\0\13\10\0\0\0\0\0\0\0"
683 : "Odb.Lib.Protobuf.FileArchive"
684 : "stepsByName"
685 : "symbolsDirectoriesByName"
686 : "productName"
687 : "fileName"
688 : }},
689 : };
690 97 : PROTOBUF_NOINLINE void FileArchive::Clear() {
691 : // @@protoc_insertion_point(message_clear_start:Odb.Lib.Protobuf.FileArchive)
692 97 : ::google::protobuf::internal::TSanWrite(&_impl_);
693 97 : ::uint32_t cached_has_bits = 0;
694 : // Prevent compiler warnings about cached_has_bits being unused
695 : (void) cached_has_bits;
696 :
697 97 : cached_has_bits = _impl_._has_bits_[0];
698 97 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
699 0 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
700 0 : _impl_.productname_.ClearNonDefaultToEmpty();
701 : }
702 0 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
703 0 : _impl_.filename_.ClearNonDefaultToEmpty();
704 : }
705 0 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
706 0 : ABSL_DCHECK(_impl_.miscinfofile_ != nullptr);
707 0 : _impl_.miscinfofile_->Clear();
708 : }
709 0 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
710 0 : ABSL_DCHECK(_impl_.matrixfile_ != nullptr);
711 0 : _impl_.matrixfile_->Clear();
712 : }
713 0 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
714 0 : ABSL_DCHECK(_impl_.standardfontsfile_ != nullptr);
715 0 : _impl_.standardfontsfile_->Clear();
716 : }
717 0 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
718 0 : ABSL_DCHECK(_impl_.miscattrlistfile_ != nullptr);
719 0 : _impl_.miscattrlistfile_->Clear();
720 : }
721 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
722 0 : _impl_.stepsbyname_.Clear();
723 : }
724 0 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
725 0 : _impl_.symbolsdirectoriesbyname_.Clear();
726 : }
727 : }
728 97 : _impl_._has_bits_.Clear();
729 97 : _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
730 97 : }
731 :
732 : #if defined(PROTOBUF_CUSTOM_VTABLE)
733 : ::uint8_t* PROTOBUF_NONNULL FileArchive::_InternalSerialize(
734 : const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
735 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
736 : const FileArchive& this_ = static_cast<const FileArchive&>(base);
737 : #else // PROTOBUF_CUSTOM_VTABLE
738 101 : ::uint8_t* PROTOBUF_NONNULL FileArchive::_InternalSerialize(
739 : ::uint8_t* PROTOBUF_NONNULL target,
740 : ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
741 101 : const FileArchive& this_ = *this;
742 : #endif // PROTOBUF_CUSTOM_VTABLE
743 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
744 101 : this_.CheckHasBitConsistency();
745 : }
746 : // @@protoc_insertion_point(serialize_to_array_start:Odb.Lib.Protobuf.FileArchive)
747 101 : ::uint32_t cached_has_bits = 0;
748 : (void)cached_has_bits;
749 :
750 101 : cached_has_bits = this_._impl_._has_bits_[0];
751 : // map<string, .Odb.Lib.Protobuf.StepDirectory> stepsByName = 1;
752 101 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
753 76 : if (!this_._internal_stepsbyname().empty()) {
754 : using MapType = ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::StepDirectory>;
755 : using WireHelper = _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::StepDirectory,
756 : _pbi::WireFormatLite::TYPE_STRING,
757 : _pbi::WireFormatLite::TYPE_MESSAGE>;
758 76 : const auto& field = this_._internal_stepsbyname();
759 :
760 76 : if (stream->IsSerializationDeterministic() && field.size() > 1) {
761 0 : for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
762 0 : target = WireHelper::InternalSerialize(
763 0 : 1, entry.first, entry.second, target, stream);
764 0 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
765 0 : entry.first.data(), static_cast<int>(entry.first.length()),
766 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FileArchive.stepsByName");
767 0 : }
768 : } else {
769 152 : for (const auto& entry : field) {
770 152 : target = WireHelper::InternalSerialize(
771 76 : 1, entry.first, entry.second, target, stream);
772 152 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
773 76 : entry.first.data(), static_cast<int>(entry.first.length()),
774 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FileArchive.stepsByName");
775 : }
776 : }
777 : }
778 : }
779 :
780 : // optional .Odb.Lib.Protobuf.MiscInfoFile miscInfoFile = 2;
781 101 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
782 101 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
783 101 : 2, *this_._impl_.miscinfofile_, this_._impl_.miscinfofile_->GetCachedSize(), target,
784 : stream);
785 : }
786 :
787 : // optional .Odb.Lib.Protobuf.MatrixFile matrixFile = 3;
788 101 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
789 101 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
790 101 : 3, *this_._impl_.matrixfile_, this_._impl_.matrixfile_->GetCachedSize(), target,
791 : stream);
792 : }
793 :
794 : // optional .Odb.Lib.Protobuf.StandardFontsFile standardFontsFile = 4;
795 101 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
796 101 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
797 101 : 4, *this_._impl_.standardfontsfile_, this_._impl_.standardfontsfile_->GetCachedSize(), target,
798 : stream);
799 : }
800 :
801 : // map<string, .Odb.Lib.Protobuf.SymbolsDirectory> symbolsDirectoriesByName = 5;
802 101 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
803 97 : if (!this_._internal_symbolsdirectoriesbyname().empty()) {
804 : using MapType = ::google::protobuf::Map<::std::string, ::Odb::Lib::Protobuf::SymbolsDirectory>;
805 : using WireHelper = _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::SymbolsDirectory,
806 : _pbi::WireFormatLite::TYPE_STRING,
807 : _pbi::WireFormatLite::TYPE_MESSAGE>;
808 97 : const auto& field = this_._internal_symbolsdirectoriesbyname();
809 :
810 97 : if (stream->IsSerializationDeterministic() && field.size() > 1) {
811 858 : for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
812 1672 : target = WireHelper::InternalSerialize(
813 836 : 5, entry.first, entry.second, target, stream);
814 1672 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
815 836 : entry.first.data(), static_cast<int>(entry.first.length()),
816 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FileArchive.symbolsDirectoriesByName");
817 22 : }
818 : } else {
819 4115 : for (const auto& entry : field) {
820 8080 : target = WireHelper::InternalSerialize(
821 4040 : 5, entry.first, entry.second, target, stream);
822 8080 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
823 4040 : entry.first.data(), static_cast<int>(entry.first.length()),
824 : ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FileArchive.symbolsDirectoriesByName");
825 : }
826 : }
827 : }
828 : }
829 :
830 : // optional .Odb.Lib.Protobuf.AttrListFile miscAttrListFile = 6;
831 101 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
832 101 : target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
833 101 : 6, *this_._impl_.miscattrlistfile_, this_._impl_.miscattrlistfile_->GetCachedSize(), target,
834 : stream);
835 : }
836 :
837 : // optional string productName = 7;
838 101 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
839 101 : const ::std::string& _s = this_._internal_productname();
840 202 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
841 101 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FileArchive.productName");
842 101 : target = stream->WriteStringMaybeAliased(7, _s, target);
843 : }
844 :
845 : // optional string fileName = 8;
846 101 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
847 101 : const ::std::string& _s = this_._internal_filename();
848 202 : ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
849 101 : _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "Odb.Lib.Protobuf.FileArchive.fileName");
850 101 : target = stream->WriteStringMaybeAliased(8, _s, target);
851 : }
852 :
853 101 : if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
854 : target =
855 0 : ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
856 : this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
857 : }
858 : // @@protoc_insertion_point(serialize_to_array_end:Odb.Lib.Protobuf.FileArchive)
859 101 : return target;
860 : }
861 :
862 : #if defined(PROTOBUF_CUSTOM_VTABLE)
863 : ::size_t FileArchive::ByteSizeLong(const MessageLite& base) {
864 : const FileArchive& this_ = static_cast<const FileArchive&>(base);
865 : #else // PROTOBUF_CUSTOM_VTABLE
866 135 : ::size_t FileArchive::ByteSizeLong() const {
867 135 : const FileArchive& this_ = *this;
868 : #endif // PROTOBUF_CUSTOM_VTABLE
869 : // @@protoc_insertion_point(message_byte_size_start:Odb.Lib.Protobuf.FileArchive)
870 135 : ::size_t total_size = 0;
871 :
872 135 : ::uint32_t cached_has_bits = 0;
873 : // Prevent compiler warnings about cached_has_bits being unused
874 : (void)cached_has_bits;
875 :
876 : ::_pbi::Prefetch5LinesFrom7Lines(&this_);
877 135 : cached_has_bits = this_._impl_._has_bits_[0];
878 135 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
879 : // optional string productName = 7;
880 135 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
881 135 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
882 : this_._internal_productname());
883 : }
884 : // optional string fileName = 8;
885 135 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
886 135 : total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
887 : this_._internal_filename());
888 : }
889 : // optional .Odb.Lib.Protobuf.MiscInfoFile miscInfoFile = 2;
890 135 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
891 135 : total_size += 1 +
892 135 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.miscinfofile_);
893 : }
894 : // optional .Odb.Lib.Protobuf.MatrixFile matrixFile = 3;
895 135 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
896 135 : total_size += 1 +
897 135 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.matrixfile_);
898 : }
899 : // optional .Odb.Lib.Protobuf.StandardFontsFile standardFontsFile = 4;
900 135 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
901 135 : total_size += 1 +
902 135 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.standardfontsfile_);
903 : }
904 : // optional .Odb.Lib.Protobuf.AttrListFile miscAttrListFile = 6;
905 135 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
906 135 : total_size += 1 +
907 135 : ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.miscattrlistfile_);
908 : }
909 : // map<string, .Odb.Lib.Protobuf.StepDirectory> stepsByName = 1;
910 135 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
911 94 : total_size +=
912 94 : 1 * ::google::protobuf::internal::FromIntSize(this_._internal_stepsbyname_size());
913 188 : for (const auto& entry : this_._internal_stepsbyname()) {
914 94 : total_size += _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::StepDirectory,
915 : _pbi::WireFormatLite::TYPE_STRING,
916 94 : _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
917 : }
918 : }
919 : // map<string, .Odb.Lib.Protobuf.SymbolsDirectory> symbolsDirectoriesByName = 5;
920 135 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
921 129 : total_size +=
922 129 : 1 * ::google::protobuf::internal::FromIntSize(this_._internal_symbolsdirectoriesbyname_size());
923 6391 : for (const auto& entry : this_._internal_symbolsdirectoriesbyname()) {
924 6262 : total_size += _pbi::MapEntryFuncs<::std::string, ::Odb::Lib::Protobuf::SymbolsDirectory,
925 : _pbi::WireFormatLite::TYPE_STRING,
926 6262 : _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
927 : }
928 : }
929 : }
930 135 : return this_.MaybeComputeUnknownFieldsSize(total_size,
931 135 : &this_._impl_._cached_size_);
932 : }
933 :
934 96 : void FileArchive::MergeImpl(::google::protobuf::MessageLite& to_msg,
935 : const ::google::protobuf::MessageLite& from_msg) {
936 96 : auto* const _this =
937 : static_cast<FileArchive*>(&to_msg);
938 96 : auto& from = static_cast<const FileArchive&>(from_msg);
939 : if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
940 96 : from.CheckHasBitConsistency();
941 : }
942 96 : ::google::protobuf::Arena* arena = _this->GetArena();
943 : // @@protoc_insertion_point(class_specific_merge_from_start:Odb.Lib.Protobuf.FileArchive)
944 96 : ABSL_DCHECK_NE(&from, _this);
945 96 : ::uint32_t cached_has_bits = 0;
946 : (void)cached_has_bits;
947 :
948 96 : cached_has_bits = from._impl_._has_bits_[0];
949 96 : if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
950 95 : if (CheckHasBit(cached_has_bits, 0x00000001U)) {
951 95 : _this->_internal_set_productname(from._internal_productname());
952 : }
953 95 : if (CheckHasBit(cached_has_bits, 0x00000002U)) {
954 95 : _this->_internal_set_filename(from._internal_filename());
955 : }
956 95 : if (CheckHasBit(cached_has_bits, 0x00000004U)) {
957 95 : ABSL_DCHECK(from._impl_.miscinfofile_ != nullptr);
958 95 : if (_this->_impl_.miscinfofile_ == nullptr) {
959 190 : _this->_impl_.miscinfofile_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.miscinfofile_);
960 : } else {
961 0 : _this->_impl_.miscinfofile_->MergeFrom(*from._impl_.miscinfofile_);
962 : }
963 : }
964 95 : if (CheckHasBit(cached_has_bits, 0x00000008U)) {
965 95 : ABSL_DCHECK(from._impl_.matrixfile_ != nullptr);
966 95 : if (_this->_impl_.matrixfile_ == nullptr) {
967 190 : _this->_impl_.matrixfile_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.matrixfile_);
968 : } else {
969 0 : _this->_impl_.matrixfile_->MergeFrom(*from._impl_.matrixfile_);
970 : }
971 : }
972 95 : if (CheckHasBit(cached_has_bits, 0x00000010U)) {
973 95 : ABSL_DCHECK(from._impl_.standardfontsfile_ != nullptr);
974 95 : if (_this->_impl_.standardfontsfile_ == nullptr) {
975 190 : _this->_impl_.standardfontsfile_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.standardfontsfile_);
976 : } else {
977 0 : _this->_impl_.standardfontsfile_->MergeFrom(*from._impl_.standardfontsfile_);
978 : }
979 : }
980 95 : if (CheckHasBit(cached_has_bits, 0x00000020U)) {
981 95 : ABSL_DCHECK(from._impl_.miscattrlistfile_ != nullptr);
982 95 : if (_this->_impl_.miscattrlistfile_ == nullptr) {
983 190 : _this->_impl_.miscattrlistfile_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.miscattrlistfile_);
984 : } else {
985 0 : _this->_impl_.miscattrlistfile_->MergeFrom(*from._impl_.miscattrlistfile_);
986 : }
987 : }
988 95 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000040U)) {
989 76 : _this->_impl_.stepsbyname_.MergeFrom(from._impl_.stepsbyname_);
990 : }
991 95 : if (CheckHasBitForRepeated(cached_has_bits, 0x00000080U)) {
992 91 : _this->_impl_.symbolsdirectoriesbyname_.MergeFrom(from._impl_.symbolsdirectoriesbyname_);
993 : }
994 : }
995 96 : _this->_impl_._has_bits_[0] |= cached_has_bits;
996 96 : _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
997 96 : from._internal_metadata_);
998 96 : }
999 :
1000 96 : void FileArchive::CopyFrom(const FileArchive& from) {
1001 : // @@protoc_insertion_point(class_specific_copy_from_start:Odb.Lib.Protobuf.FileArchive)
1002 96 : if (&from == this) return;
1003 96 : Clear();
1004 96 : MergeFrom(from);
1005 : }
1006 :
1007 :
1008 16 : void FileArchive::InternalSwap(FileArchive* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1009 : using ::std::swap;
1010 16 : auto* arena = GetArena();
1011 16 : ABSL_DCHECK_EQ(arena, other->GetArena());
1012 16 : _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1013 16 : swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1014 16 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.productname_, &other->_impl_.productname_, arena);
1015 16 : ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.filename_, &other->_impl_.filename_, arena);
1016 : ::google::protobuf::internal::memswap<
1017 : PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.miscattrlistfile_)
1018 : + sizeof(FileArchive::_impl_.miscattrlistfile_)
1019 16 : - PROTOBUF_FIELD_OFFSET(FileArchive, _impl_.miscinfofile_)>(
1020 16 : reinterpret_cast<char*>(&_impl_.miscinfofile_),
1021 16 : reinterpret_cast<char*>(&other->_impl_.miscinfofile_));
1022 16 : _impl_.stepsbyname_.InternalSwap(&other->_impl_.stepsbyname_);
1023 16 : _impl_.symbolsdirectoriesbyname_.InternalSwap(&other->_impl_.symbolsdirectoriesbyname_);
1024 16 : }
1025 :
1026 0 : ::google::protobuf::Metadata FileArchive::GetMetadata() const {
1027 0 : return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1028 : }
1029 : // @@protoc_insertion_point(namespace_scope)
1030 : } // namespace Protobuf
1031 : } // namespace Lib
1032 : } // namespace Odb
1033 : namespace google {
1034 : namespace protobuf {
1035 : } // namespace protobuf
1036 : } // namespace google
1037 : // @@protoc_insertion_point(global_scope)
1038 : PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1039 : _static_init2_ [[maybe_unused]] =
1040 : (::_pbi::AddDescriptors(&descriptor_table_filearchive_2eproto),
1041 : ::std::false_type{});
1042 : #include "google/protobuf/port_undef.inc"
|