Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
xpress.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/math_opt/solvers/xpress.proto
4// Protobuf C++ Version: 6.33.1
5
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"
23PROTOBUF_PRAGMA_INIT_SEG
24namespace _pb = ::google::protobuf;
26namespace _fl = ::google::protobuf::internal::field_layout;
27namespace operations_research {
28namespace math_opt {
29
30inline constexpr XpressParametersProto_Parameter::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
32 : _cached_size_{0},
33 name_(
34 &::google::protobuf::internal::fixed_address_empty_string,
35 ::_pbi::ConstantInitialized()),
36 value_(
37 &::google::protobuf::internal::fixed_address_empty_string,
38 ::_pbi::ConstantInitialized()) {}
39
40template <typename>
41PROTOBUF_CONSTEXPR XpressParametersProto_Parameter::XpressParametersProto_Parameter(::_pbi::ConstantInitialized)
42#if defined(PROTOBUF_CUSTOM_VTABLE)
43 : ::google::protobuf::Message(XpressParametersProto_Parameter_class_data_.base()),
44#else // PROTOBUF_CUSTOM_VTABLE
45 : ::google::protobuf::Message(),
46#endif // PROTOBUF_CUSTOM_VTABLE
47 _impl_(::_pbi::ConstantInitialized()) {
48}
56
57PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
59
60inline constexpr XpressInitializerProto::Impl_::Impl_(
61 ::_pbi::ConstantInitialized) noexcept
62 : _cached_size_{0},
63 extract_names_{false} {}
64
65template <typename>
66PROTOBUF_CONSTEXPR XpressInitializerProto::XpressInitializerProto(::_pbi::ConstantInitialized)
67#if defined(PROTOBUF_CUSTOM_VTABLE)
68 : ::google::protobuf::Message(XpressInitializerProto_class_data_.base()),
69#else // PROTOBUF_CUSTOM_VTABLE
70 : ::google::protobuf::Message(),
71#endif // PROTOBUF_CUSTOM_VTABLE
72 _impl_(::_pbi::ConstantInitialized()) {
73}
81
82PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
84
85inline constexpr XpressParametersProto::Impl_::Impl_(
86 ::_pbi::ConstantInitialized) noexcept
87 : _cached_size_{0},
88 parameters_{} {}
89
90template <typename>
91PROTOBUF_CONSTEXPR XpressParametersProto::XpressParametersProto(::_pbi::ConstantInitialized)
92#if defined(PROTOBUF_CUSTOM_VTABLE)
93 : ::google::protobuf::Message(XpressParametersProto_class_data_.base()),
94#else // PROTOBUF_CUSTOM_VTABLE
95 : ::google::protobuf::Message(),
96#endif // PROTOBUF_CUSTOM_VTABLE
97 _impl_(::_pbi::ConstantInitialized()) {
98}
106
107PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
109} // namespace math_opt
110} // namespace operations_research
111static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
113static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
115const ::uint32_t
117 protodesc_cold) = {
118 0x081, // bitmap
119 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::XpressInitializerProto, _impl_._has_bits_),
120 4, // hasbit index offset
121 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::XpressInitializerProto, _impl_.extract_names_),
122 0,
123 0x081, // bitmap
124 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::XpressParametersProto_Parameter, _impl_._has_bits_),
125 5, // hasbit index offset
126 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::XpressParametersProto_Parameter, _impl_.name_),
127 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::XpressParametersProto_Parameter, _impl_.value_),
128 0,
129 1,
130 0x081, // bitmap
131 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::XpressParametersProto, _impl_._has_bits_),
132 4, // hasbit index offset
133 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::XpressParametersProto, _impl_.parameters_),
134 0,
135};
136
137static const ::_pbi::MigrationSchema
138 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
142};
148const char descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fxpress_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
149 protodesc_cold) = {
150 "\n%ortools/math_opt/solvers/xpress.proto\022"
151 "\034operations_research.math_opt\"F\n\026XpressI"
152 "nitializerProto\022\032\n\rextract_names\030\001 \001(\010H\000"
153 "\210\001\001B\020\n\016_extract_names\"\224\001\n\025XpressParamete"
154 "rsProto\022Q\n\nparameters\030\001 \003(\0132=.operations"
155 "_research.math_opt.XpressParametersProto"
156 ".Parameter\032(\n\tParameter\022\014\n\004name\030\001 \001(\t\022\r\n"
157 "\005value\030\002 \001(\tb\006proto3"
158};
160PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fxpress_2eproto = {
161 false,
162 false,
163 300,
164 descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fxpress_2eproto,
165 "ortools/math_opt/solvers/xpress.proto",
167 nullptr,
168 0,
169 3,
170 schemas,
175};
176namespace operations_research {
177namespace math_opt {
178// ===================================================================
179
181 public:
182 using HasBits =
183 decltype(::std::declval<XpressInitializerProto>()._impl_._has_bits_);
184 static constexpr ::int32_t kHasBitsOffset =
185 8 * PROTOBUF_FIELD_OFFSET(XpressInitializerProto, _impl_._has_bits_);
186};
187
188XpressInitializerProto::XpressInitializerProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
189#if defined(PROTOBUF_CUSTOM_VTABLE)
190 : ::google::protobuf::Message(arena, XpressInitializerProto_class_data_.base()) {
191#else // PROTOBUF_CUSTOM_VTABLE
192 : ::google::protobuf::Message(arena) {
193#endif // PROTOBUF_CUSTOM_VTABLE
194 SharedCtor(arena);
195 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.XpressInitializerProto)
196}
198 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const XpressInitializerProto& from)
199#if defined(PROTOBUF_CUSTOM_VTABLE)
200 : ::google::protobuf::Message(arena, XpressInitializerProto_class_data_.base()),
201#else // PROTOBUF_CUSTOM_VTABLE
202 : ::google::protobuf::Message(arena),
203#endif // PROTOBUF_CUSTOM_VTABLE
204 _impl_(from._impl_) {
205 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
206 from._internal_metadata_);
207}
208PROTOBUF_NDEBUG_INLINE XpressInitializerProto::Impl_::Impl_(
209 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
210 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
211 : _cached_size_{0} {}
212
213inline void XpressInitializerProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
214 new (&_impl_) Impl_(internal_visibility(), arena);
215 _impl_.extract_names_ = {};
216}
218 // @@protoc_insertion_point(destructor:operations_research.math_opt.XpressInitializerProto)
219 SharedDtor(*this);
220}
221inline void XpressInitializerProto::SharedDtor(MessageLite& self) {
222 XpressInitializerProto& this_ = static_cast<XpressInitializerProto&>(self);
223 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
224 this_.CheckHasBitConsistency();
225 }
226 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
227 ABSL_DCHECK(this_.GetArena() == nullptr);
228 this_._impl_.~Impl_();
229}
230
231inline void* PROTOBUF_NONNULL XpressInitializerProto::PlacementNew_(
232 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
233 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
234 return ::new (mem) XpressInitializerProto(arena);
235}
236constexpr auto XpressInitializerProto::InternalNewImpl_() {
237 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(XpressInitializerProto),
238 alignof(XpressInitializerProto));
239}
241 return ::google::protobuf::internal::ClassDataFull{
242 ::google::protobuf::internal::ClassData{
244 &_table_.header,
245 nullptr, // OnDemandRegisterArenaDtor
246 nullptr, // IsInitialized
247 &XpressInitializerProto::MergeImpl,
248 ::google::protobuf::Message::GetNewImpl<XpressInitializerProto>(),
249#if defined(PROTOBUF_CUSTOM_VTABLE)
250 &XpressInitializerProto::SharedDtor,
251 ::google::protobuf::Message::GetClearImpl<XpressInitializerProto>(), &XpressInitializerProto::ByteSizeLong,
253#endif // PROTOBUF_CUSTOM_VTABLE
254 PROTOBUF_FIELD_OFFSET(XpressInitializerProto, _impl_._cached_size_),
255 false,
256 },
257 &XpressInitializerProto::kDescriptorMethods,
259 nullptr, // tracker
260 };
261}
262
263PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
264 ::google::protobuf::internal::ClassDataFull XpressInitializerProto_class_data_ =
266
267PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
268XpressInitializerProto::GetClassData() const {
269 ::google::protobuf::internal::PrefetchToLocalCache(&XpressInitializerProto_class_data_);
270 ::google::protobuf::internal::PrefetchToLocalCache(XpressInitializerProto_class_data_.tc_table);
272}
273PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
274const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
275XpressInitializerProto::_table_ = {
276 {
277 PROTOBUF_FIELD_OFFSET(XpressInitializerProto, _impl_._has_bits_),
278 0, // no _extensions_
279 1, 0, // max_field_number, fast_idx_mask
280 offsetof(decltype(_table_), field_lookup_table),
281 4294967294, // skipmap
282 offsetof(decltype(_table_), field_entries),
283 1, // num_field_entries
284 0, // num_aux_entries
285 offsetof(decltype(_table_), field_names), // no aux_entries
287 nullptr, // post_loop_handler
288 ::_pbi::TcParser::GenericFallback, // fallback
289 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
290 ::_pbi::TcParser::GetTable<::operations_research::math_opt::XpressInitializerProto>(), // to_prefetch
291 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
292 }, {{
293 // optional bool extract_names = 1;
294 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(XpressInitializerProto, _impl_.extract_names_), 0>(),
295 {8, 0, 0,
296 PROTOBUF_FIELD_OFFSET(XpressInitializerProto, _impl_.extract_names_)}},
297 }}, {{
298 65535, 65535
299 }}, {{
300 // optional bool extract_names = 1;
301 {PROTOBUF_FIELD_OFFSET(XpressInitializerProto, _impl_.extract_names_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
302 }},
303 // no aux_entries
304 {{
305 }},
306};
307PROTOBUF_NOINLINE void XpressInitializerProto::Clear() {
308// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.XpressInitializerProto)
309 ::google::protobuf::internal::TSanWrite(&_impl_);
310 ::uint32_t cached_has_bits = 0;
311 // Prevent compiler warnings about cached_has_bits being unused
312 (void) cached_has_bits;
313
314 _impl_.extract_names_ = false;
315 _impl_._has_bits_.Clear();
316 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
317}
318
319#if defined(PROTOBUF_CUSTOM_VTABLE)
320::uint8_t* PROTOBUF_NONNULL XpressInitializerProto::_InternalSerialize(
321 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
322 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
323 const XpressInitializerProto& this_ = static_cast<const XpressInitializerProto&>(base);
324#else // PROTOBUF_CUSTOM_VTABLE
325::uint8_t* PROTOBUF_NONNULL XpressInitializerProto::_InternalSerialize(
326 ::uint8_t* PROTOBUF_NONNULL target,
327 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
328 const XpressInitializerProto& this_ = *this;
329#endif // PROTOBUF_CUSTOM_VTABLE
330 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
331 this_.CheckHasBitConsistency();
332 }
333 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.XpressInitializerProto)
334 ::uint32_t cached_has_bits = 0;
335 (void)cached_has_bits;
336
337 cached_has_bits = this_._impl_._has_bits_[0];
338 // optional bool extract_names = 1;
339 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
340 target = stream->EnsureSpace(target);
341 target = ::_pbi::WireFormatLite::WriteBoolToArray(
342 1, this_._internal_extract_names(), target);
343 }
344
345 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
346 target =
347 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
348 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
349 }
350 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.XpressInitializerProto)
351 return target;
352}
353
354#if defined(PROTOBUF_CUSTOM_VTABLE)
356 const XpressInitializerProto& this_ = static_cast<const XpressInitializerProto&>(base);
357#else // PROTOBUF_CUSTOM_VTABLE
359 const XpressInitializerProto& this_ = *this;
360#endif // PROTOBUF_CUSTOM_VTABLE
361 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.XpressInitializerProto)
362 ::size_t total_size = 0;
363
364 ::uint32_t cached_has_bits = 0;
365 // Prevent compiler warnings about cached_has_bits being unused
366 (void)cached_has_bits;
367
368 cached_has_bits = this_._impl_._has_bits_[0];
369 total_size += static_cast<bool>(0x00000001U & cached_has_bits) * 2;
370 return this_.MaybeComputeUnknownFieldsSize(total_size,
371 &this_._impl_._cached_size_);
372}
373
374void XpressInitializerProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
375 const ::google::protobuf::MessageLite& from_msg) {
376 auto* const _this =
377 static_cast<XpressInitializerProto*>(&to_msg);
378 auto& from = static_cast<const XpressInitializerProto&>(from_msg);
379 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
380 from.CheckHasBitConsistency();
381 }
382 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.XpressInitializerProto)
383 ABSL_DCHECK_NE(&from, _this);
384 ::uint32_t cached_has_bits = 0;
385 (void)cached_has_bits;
386
387 cached_has_bits = from._impl_._has_bits_[0];
388 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
389 _this->_impl_.extract_names_ = from._impl_.extract_names_;
390 }
391 _this->_impl_._has_bits_[0] |= cached_has_bits;
392 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
393 from._internal_metadata_);
394}
395
397 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.XpressInitializerProto)
398 if (&from == this) return;
399 Clear();
400 MergeFrom(from);
401}
402
403
404void XpressInitializerProto::InternalSwap(XpressInitializerProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
405 using ::std::swap;
406 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
407 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
408 swap(_impl_.extract_names_, other->_impl_.extract_names_);
409}
410
411::google::protobuf::Metadata XpressInitializerProto::GetMetadata() const {
412 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
413}
414// ===================================================================
415
417 public:
418 using HasBits =
419 decltype(::std::declval<XpressParametersProto_Parameter>()._impl_._has_bits_);
420 static constexpr ::int32_t kHasBitsOffset =
421 8 * PROTOBUF_FIELD_OFFSET(XpressParametersProto_Parameter, _impl_._has_bits_);
423
424XpressParametersProto_Parameter::XpressParametersProto_Parameter(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
425#if defined(PROTOBUF_CUSTOM_VTABLE)
426 : ::google::protobuf::Message(arena, XpressParametersProto_Parameter_class_data_.base()) {
427#else // PROTOBUF_CUSTOM_VTABLE
428 : ::google::protobuf::Message(arena) {
429#endif // PROTOBUF_CUSTOM_VTABLE
430 SharedCtor(arena);
431 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.XpressParametersProto.Parameter)
432}
433PROTOBUF_NDEBUG_INLINE XpressParametersProto_Parameter::Impl_::Impl_(
434 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
435 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
436 [[maybe_unused]] const ::operations_research::math_opt::XpressParametersProto_Parameter& from_msg)
437 : _has_bits_{from._has_bits_},
438 _cached_size_{0},
439 name_(arena, from.name_),
440 value_(arena, from.value_) {}
441
443 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
445#if defined(PROTOBUF_CUSTOM_VTABLE)
446 : ::google::protobuf::Message(arena, XpressParametersProto_Parameter_class_data_.base()) {
447#else // PROTOBUF_CUSTOM_VTABLE
448 : ::google::protobuf::Message(arena) {
449#endif // PROTOBUF_CUSTOM_VTABLE
450 XpressParametersProto_Parameter* const _this = this;
451 (void)_this;
452 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
453 from._internal_metadata_);
454 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
455
456 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.XpressParametersProto.Parameter)
457}
458PROTOBUF_NDEBUG_INLINE XpressParametersProto_Parameter::Impl_::Impl_(
459 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
460 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
461 : _cached_size_{0},
462 name_(arena),
463 value_(arena) {}
464
465inline void XpressParametersProto_Parameter::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
466 new (&_impl_) Impl_(internal_visibility(), arena);
467}
469 // @@protoc_insertion_point(destructor:operations_research.math_opt.XpressParametersProto.Parameter)
470 SharedDtor(*this);
471}
472inline void XpressParametersProto_Parameter::SharedDtor(MessageLite& self) {
474 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
475 this_.CheckHasBitConsistency();
476 }
477 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
478 ABSL_DCHECK(this_.GetArena() == nullptr);
479 this_._impl_.name_.Destroy();
480 this_._impl_.value_.Destroy();
481 this_._impl_.~Impl_();
482}
483
484inline void* PROTOBUF_NONNULL XpressParametersProto_Parameter::PlacementNew_(
485 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
486 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
487 return ::new (mem) XpressParametersProto_Parameter(arena);
488}
489constexpr auto XpressParametersProto_Parameter::InternalNewImpl_() {
490 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(XpressParametersProto_Parameter),
492}
494 return ::google::protobuf::internal::ClassDataFull{
495 ::google::protobuf::internal::ClassData{
497 &_table_.header,
498 nullptr, // OnDemandRegisterArenaDtor
499 nullptr, // IsInitialized
500 &XpressParametersProto_Parameter::MergeImpl,
501 ::google::protobuf::Message::GetNewImpl<XpressParametersProto_Parameter>(),
502#if defined(PROTOBUF_CUSTOM_VTABLE)
503 &XpressParametersProto_Parameter::SharedDtor,
504 ::google::protobuf::Message::GetClearImpl<XpressParametersProto_Parameter>(), &XpressParametersProto_Parameter::ByteSizeLong,
506#endif // PROTOBUF_CUSTOM_VTABLE
507 PROTOBUF_FIELD_OFFSET(XpressParametersProto_Parameter, _impl_._cached_size_),
508 false,
509 },
510 &XpressParametersProto_Parameter::kDescriptorMethods,
512 nullptr, // tracker
513 };
514}
515
516PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
517 ::google::protobuf::internal::ClassDataFull XpressParametersProto_Parameter_class_data_ =
520PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
521XpressParametersProto_Parameter::GetClassData() const {
522 ::google::protobuf::internal::PrefetchToLocalCache(&XpressParametersProto_Parameter_class_data_);
523 ::google::protobuf::internal::PrefetchToLocalCache(XpressParametersProto_Parameter_class_data_.tc_table);
525}
526PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
527const ::_pbi::TcParseTable<1, 2, 0, 78, 2>
528XpressParametersProto_Parameter::_table_ = {
529 {
530 PROTOBUF_FIELD_OFFSET(XpressParametersProto_Parameter, _impl_._has_bits_),
531 0, // no _extensions_
532 2, 8, // max_field_number, fast_idx_mask
533 offsetof(decltype(_table_), field_lookup_table),
534 4294967292, // skipmap
535 offsetof(decltype(_table_), field_entries),
536 2, // num_field_entries
537 0, // num_aux_entries
538 offsetof(decltype(_table_), field_names), // no aux_entries
540 nullptr, // post_loop_handler
541 ::_pbi::TcParser::GenericFallback, // fallback
542 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
543 ::_pbi::TcParser::GetTable<::operations_research::math_opt::XpressParametersProto_Parameter>(), // to_prefetch
544 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
545 }, {{
546 // string value = 2;
547 {::_pbi::TcParser::FastUS1,
548 {18, 1, 0,
549 PROTOBUF_FIELD_OFFSET(XpressParametersProto_Parameter, _impl_.value_)}},
550 // string name = 1;
551 {::_pbi::TcParser::FastUS1,
552 {10, 0, 0,
553 PROTOBUF_FIELD_OFFSET(XpressParametersProto_Parameter, _impl_.name_)}},
554 }}, {{
555 65535, 65535
556 }}, {{
557 // string name = 1;
558 {PROTOBUF_FIELD_OFFSET(XpressParametersProto_Parameter, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
559 // string value = 2;
560 {PROTOBUF_FIELD_OFFSET(XpressParametersProto_Parameter, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
561 }},
562 // no aux_entries
563 {{
564 "\74\4\5\0\0\0\0\0"
565 "operations_research.math_opt.XpressParametersProto.Parameter"
566 "name"
567 "value"
568 }},
569};
570PROTOBUF_NOINLINE void XpressParametersProto_Parameter::Clear() {
571// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.XpressParametersProto.Parameter)
572 ::google::protobuf::internal::TSanWrite(&_impl_);
573 ::uint32_t cached_has_bits = 0;
574 // Prevent compiler warnings about cached_has_bits being unused
575 (void) cached_has_bits;
576
577 cached_has_bits = _impl_._has_bits_[0];
578 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
579 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
580 _impl_.name_.ClearNonDefaultToEmpty();
581 }
582 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
583 _impl_.value_.ClearNonDefaultToEmpty();
584 }
585 }
586 _impl_._has_bits_.Clear();
587 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
588}
589
590#if defined(PROTOBUF_CUSTOM_VTABLE)
592 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
593 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
594 const XpressParametersProto_Parameter& this_ = static_cast<const XpressParametersProto_Parameter&>(base);
595#else // PROTOBUF_CUSTOM_VTABLE
597 ::uint8_t* PROTOBUF_NONNULL target,
598 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
599 const XpressParametersProto_Parameter& this_ = *this;
600#endif // PROTOBUF_CUSTOM_VTABLE
601 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
602 this_.CheckHasBitConsistency();
603 }
604 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.XpressParametersProto.Parameter)
605 ::uint32_t cached_has_bits = 0;
606 (void)cached_has_bits;
607
608 cached_has_bits = this_._impl_._has_bits_[0];
609 // string name = 1;
610 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
611 if (!this_._internal_name().empty()) {
612 const ::std::string& _s = this_._internal_name();
613 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
614 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.XpressParametersProto.Parameter.name");
615 target = stream->WriteStringMaybeAliased(1, _s, target);
616 }
617 }
618
619 // string value = 2;
620 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
621 if (!this_._internal_value().empty()) {
622 const ::std::string& _s = this_._internal_value();
623 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
624 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.XpressParametersProto.Parameter.value");
625 target = stream->WriteStringMaybeAliased(2, _s, target);
626 }
627 }
628
629 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
630 target =
631 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
632 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
633 }
634 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.XpressParametersProto.Parameter)
635 return target;
636}
637
638#if defined(PROTOBUF_CUSTOM_VTABLE)
640 const XpressParametersProto_Parameter& this_ = static_cast<const XpressParametersProto_Parameter&>(base);
641#else // PROTOBUF_CUSTOM_VTABLE
643 const XpressParametersProto_Parameter& this_ = *this;
644#endif // PROTOBUF_CUSTOM_VTABLE
645 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.XpressParametersProto.Parameter)
646 ::size_t total_size = 0;
647
648 ::uint32_t cached_has_bits = 0;
649 // Prevent compiler warnings about cached_has_bits being unused
650 (void)cached_has_bits;
651
652 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
653 cached_has_bits = this_._impl_._has_bits_[0];
654 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
655 // string name = 1;
656 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
657 if (!this_._internal_name().empty()) {
658 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
659 this_._internal_name());
660 }
661 }
662 // string value = 2;
663 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
664 if (!this_._internal_value().empty()) {
665 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
666 this_._internal_value());
667 }
668 }
669 }
670 return this_.MaybeComputeUnknownFieldsSize(total_size,
671 &this_._impl_._cached_size_);
672}
673
674void XpressParametersProto_Parameter::MergeImpl(::google::protobuf::MessageLite& to_msg,
675 const ::google::protobuf::MessageLite& from_msg) {
676 auto* const _this =
677 static_cast<XpressParametersProto_Parameter*>(&to_msg);
678 auto& from = static_cast<const XpressParametersProto_Parameter&>(from_msg);
679 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
680 from.CheckHasBitConsistency();
681 }
682 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.XpressParametersProto.Parameter)
683 ABSL_DCHECK_NE(&from, _this);
684 ::uint32_t cached_has_bits = 0;
685 (void)cached_has_bits;
686
687 cached_has_bits = from._impl_._has_bits_[0];
688 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
689 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
690 if (!from._internal_name().empty()) {
691 _this->_internal_set_name(from._internal_name());
692 } else {
693 if (_this->_impl_.name_.IsDefault()) {
694 _this->_internal_set_name("");
695 }
696 }
697 }
698 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
699 if (!from._internal_value().empty()) {
700 _this->_internal_set_value(from._internal_value());
701 } else {
702 if (_this->_impl_.value_.IsDefault()) {
703 _this->_internal_set_value("");
704 }
705 }
706 }
707 }
708 _this->_impl_._has_bits_[0] |= cached_has_bits;
709 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
710 from._internal_metadata_);
711}
712
714 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.XpressParametersProto.Parameter)
715 if (&from == this) return;
716 Clear();
717 MergeFrom(from);
718}
719
720
721void XpressParametersProto_Parameter::InternalSwap(XpressParametersProto_Parameter* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
722 using ::std::swap;
723 auto* arena = GetArena();
724 ABSL_DCHECK_EQ(arena, other->GetArena());
725 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
726 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
727 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
728 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena);
729}
730
731::google::protobuf::Metadata XpressParametersProto_Parameter::GetMetadata() const {
732 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
734// ===================================================================
735
737 public:
738 using HasBits =
739 decltype(::std::declval<XpressParametersProto>()._impl_._has_bits_);
740 static constexpr ::int32_t kHasBitsOffset =
741 8 * PROTOBUF_FIELD_OFFSET(XpressParametersProto, _impl_._has_bits_);
742};
744XpressParametersProto::XpressParametersProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
745#if defined(PROTOBUF_CUSTOM_VTABLE)
746 : ::google::protobuf::Message(arena, XpressParametersProto_class_data_.base()) {
747#else // PROTOBUF_CUSTOM_VTABLE
748 : ::google::protobuf::Message(arena) {
749#endif // PROTOBUF_CUSTOM_VTABLE
750 SharedCtor(arena);
751 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.XpressParametersProto)
752}
753PROTOBUF_NDEBUG_INLINE XpressParametersProto::Impl_::Impl_(
754 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
755 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
756 [[maybe_unused]] const ::operations_research::math_opt::XpressParametersProto& from_msg)
757 : _has_bits_{from._has_bits_},
758 _cached_size_{0},
759 parameters_{visibility, arena, from.parameters_} {}
760
762 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
763 const XpressParametersProto& from)
764#if defined(PROTOBUF_CUSTOM_VTABLE)
765 : ::google::protobuf::Message(arena, XpressParametersProto_class_data_.base()) {
766#else // PROTOBUF_CUSTOM_VTABLE
767 : ::google::protobuf::Message(arena) {
768#endif // PROTOBUF_CUSTOM_VTABLE
769 XpressParametersProto* const _this = this;
770 (void)_this;
771 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
772 from._internal_metadata_);
773 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
774
775 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.XpressParametersProto)
776}
777PROTOBUF_NDEBUG_INLINE XpressParametersProto::Impl_::Impl_(
778 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
779 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
780 : _cached_size_{0},
781 parameters_{visibility, arena} {}
782
783inline void XpressParametersProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
784 new (&_impl_) Impl_(internal_visibility(), arena);
785}
787 // @@protoc_insertion_point(destructor:operations_research.math_opt.XpressParametersProto)
788 SharedDtor(*this);
790inline void XpressParametersProto::SharedDtor(MessageLite& self) {
791 XpressParametersProto& this_ = static_cast<XpressParametersProto&>(self);
792 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
793 this_.CheckHasBitConsistency();
794 }
795 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
796 ABSL_DCHECK(this_.GetArena() == nullptr);
797 this_._impl_.~Impl_();
798}
799
800inline void* PROTOBUF_NONNULL XpressParametersProto::PlacementNew_(
801 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
802 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
803 return ::new (mem) XpressParametersProto(arena);
804}
805constexpr auto XpressParametersProto::InternalNewImpl_() {
806 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
807 PROTOBUF_FIELD_OFFSET(XpressParametersProto, _impl_.parameters_) +
808 decltype(XpressParametersProto::_impl_.parameters_)::
809 InternalGetArenaOffset(
810 ::google::protobuf::Message::internal_visibility()),
811 });
812 if (arena_bits.has_value()) {
813 return ::google::protobuf::internal::MessageCreator::ZeroInit(
814 sizeof(XpressParametersProto), alignof(XpressParametersProto), *arena_bits);
815 } else {
816 return ::google::protobuf::internal::MessageCreator(&XpressParametersProto::PlacementNew_,
817 sizeof(XpressParametersProto),
818 alignof(XpressParametersProto));
819 }
820}
822 return ::google::protobuf::internal::ClassDataFull{
823 ::google::protobuf::internal::ClassData{
825 &_table_.header,
826 nullptr, // OnDemandRegisterArenaDtor
827 nullptr, // IsInitialized
828 &XpressParametersProto::MergeImpl,
829 ::google::protobuf::Message::GetNewImpl<XpressParametersProto>(),
830#if defined(PROTOBUF_CUSTOM_VTABLE)
831 &XpressParametersProto::SharedDtor,
832 ::google::protobuf::Message::GetClearImpl<XpressParametersProto>(), &XpressParametersProto::ByteSizeLong,
834#endif // PROTOBUF_CUSTOM_VTABLE
835 PROTOBUF_FIELD_OFFSET(XpressParametersProto, _impl_._cached_size_),
836 false,
837 },
838 &XpressParametersProto::kDescriptorMethods,
840 nullptr, // tracker
841 };
842}
843
844PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
845 ::google::protobuf::internal::ClassDataFull XpressParametersProto_class_data_ =
847
848PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
849XpressParametersProto::GetClassData() const {
850 ::google::protobuf::internal::PrefetchToLocalCache(&XpressParametersProto_class_data_);
851 ::google::protobuf::internal::PrefetchToLocalCache(XpressParametersProto_class_data_.tc_table);
853}
854PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
855const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
856XpressParametersProto::_table_ = {
857 {
858 PROTOBUF_FIELD_OFFSET(XpressParametersProto, _impl_._has_bits_),
859 0, // no _extensions_
860 1, 0, // max_field_number, fast_idx_mask
861 offsetof(decltype(_table_), field_lookup_table),
862 4294967294, // skipmap
863 offsetof(decltype(_table_), field_entries),
864 1, // num_field_entries
865 1, // num_aux_entries
866 offsetof(decltype(_table_), aux_entries),
868 nullptr, // post_loop_handler
869 ::_pbi::TcParser::GenericFallback, // fallback
870 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
871 ::_pbi::TcParser::GetTable<::operations_research::math_opt::XpressParametersProto>(), // to_prefetch
872 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
873 }, {{
874 // repeated .operations_research.math_opt.XpressParametersProto.Parameter parameters = 1;
875 {::_pbi::TcParser::FastMtR1,
876 {10, 0, 0,
877 PROTOBUF_FIELD_OFFSET(XpressParametersProto, _impl_.parameters_)}},
878 }}, {{
879 65535, 65535
880 }}, {{
881 // repeated .operations_research.math_opt.XpressParametersProto.Parameter parameters = 1;
882 {PROTOBUF_FIELD_OFFSET(XpressParametersProto, _impl_.parameters_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
883 }},
884 {{
885 {::_pbi::TcParser::GetTable<::operations_research::math_opt::XpressParametersProto_Parameter>()},
886 }},
887 {{
888 }},
889};
890PROTOBUF_NOINLINE void XpressParametersProto::Clear() {
891// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.XpressParametersProto)
892 ::google::protobuf::internal::TSanWrite(&_impl_);
893 ::uint32_t cached_has_bits = 0;
894 // Prevent compiler warnings about cached_has_bits being unused
895 (void) cached_has_bits;
896
897 cached_has_bits = _impl_._has_bits_[0];
898 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
899 _impl_.parameters_.Clear();
900 }
901 _impl_._has_bits_.Clear();
902 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
903}
904
905#if defined(PROTOBUF_CUSTOM_VTABLE)
906::uint8_t* PROTOBUF_NONNULL XpressParametersProto::_InternalSerialize(
907 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
908 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
909 const XpressParametersProto& this_ = static_cast<const XpressParametersProto&>(base);
910#else // PROTOBUF_CUSTOM_VTABLE
911::uint8_t* PROTOBUF_NONNULL XpressParametersProto::_InternalSerialize(
912 ::uint8_t* PROTOBUF_NONNULL target,
913 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
914 const XpressParametersProto& this_ = *this;
915#endif // PROTOBUF_CUSTOM_VTABLE
916 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
917 this_.CheckHasBitConsistency();
918 }
919 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.XpressParametersProto)
920 ::uint32_t cached_has_bits = 0;
921 (void)cached_has_bits;
922
923 cached_has_bits = this_._impl_._has_bits_[0];
924 // repeated .operations_research.math_opt.XpressParametersProto.Parameter parameters = 1;
925 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
926 for (unsigned i = 0, n = static_cast<unsigned>(
927 this_._internal_parameters_size());
928 i < n; i++) {
929 const auto& repfield = this_._internal_parameters().Get(i);
930 target =
931 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
932 1, repfield, repfield.GetCachedSize(),
933 target, stream);
934 }
935 }
936
937 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
938 target =
939 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
940 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
941 }
942 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.XpressParametersProto)
943 return target;
944}
945
946#if defined(PROTOBUF_CUSTOM_VTABLE)
948 const XpressParametersProto& this_ = static_cast<const XpressParametersProto&>(base);
949#else // PROTOBUF_CUSTOM_VTABLE
951 const XpressParametersProto& this_ = *this;
952#endif // PROTOBUF_CUSTOM_VTABLE
953 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.XpressParametersProto)
954 ::size_t total_size = 0;
955
956 ::uint32_t cached_has_bits = 0;
957 // Prevent compiler warnings about cached_has_bits being unused
958 (void)cached_has_bits;
959
960 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
961 {
962 // repeated .operations_research.math_opt.XpressParametersProto.Parameter parameters = 1;
963 cached_has_bits = this_._impl_._has_bits_[0];
964 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
965 total_size += 1UL * this_._internal_parameters_size();
966 for (const auto& msg : this_._internal_parameters()) {
967 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
968 }
969 }
970 }
971 return this_.MaybeComputeUnknownFieldsSize(total_size,
972 &this_._impl_._cached_size_);
973}
974
975void XpressParametersProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
976 const ::google::protobuf::MessageLite& from_msg) {
977 auto* const _this =
978 static_cast<XpressParametersProto*>(&to_msg);
979 auto& from = static_cast<const XpressParametersProto&>(from_msg);
980 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
981 from.CheckHasBitConsistency();
982 }
983 ::google::protobuf::Arena* arena = _this->GetArena();
984 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.XpressParametersProto)
985 ABSL_DCHECK_NE(&from, _this);
986 ::uint32_t cached_has_bits = 0;
987 (void)cached_has_bits;
988
989 cached_has_bits = from._impl_._has_bits_[0];
990 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
991 _this->_internal_mutable_parameters()->InternalMergeFromWithArena(
992 ::google::protobuf::MessageLite::internal_visibility(), arena,
993 from._internal_parameters());
994 }
995 _this->_impl_._has_bits_[0] |= cached_has_bits;
996 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
997 from._internal_metadata_);
998}
999
1000void XpressParametersProto::CopyFrom(const XpressParametersProto& from) {
1001 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.XpressParametersProto)
1002 if (&from == this) return;
1004 MergeFrom(from);
1005}
1006
1007
1008void XpressParametersProto::InternalSwap(XpressParametersProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1009 using ::std::swap;
1010 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1011 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1012 _impl_.parameters_.InternalSwap(&other->_impl_.parameters_);
1013}
1014
1015::google::protobuf::Metadata XpressParametersProto::GetMetadata() const {
1016 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1017}
1018// @@protoc_insertion_point(namespace_scope)
1019} // namespace math_opt
1020} // namespace operations_research
1021namespace google {
1022namespace protobuf {
1023} // namespace protobuf
1024} // namespace google
1025// @@protoc_insertion_point(global_scope)
1026PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1027 _static_init2_ [[maybe_unused]] =
1029 ::std::false_type{});
1030#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
decltype(::std::declval< XpressInitializerProto >()._impl_._has_bits_) HasBits
Definition xpress.pb.cc:183
friend class ::google::protobuf::MessageLite
Definition xpress.pb.h:463
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition xpress.pb.cc:308
::google::protobuf::Metadata GetMetadata() const
Definition xpress.pb.cc:412
void CopyFrom(const XpressInitializerProto &from)
Definition xpress.pb.cc:397
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition xpress.pb.cc:326
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition xpress.pb.h:332
void MergeFrom(const XpressInitializerProto &from)
Definition xpress.pb.h:378
friend void swap(XpressInitializerProto &a, XpressInitializerProto &b)
Definition xpress.pb.h:355
decltype(::std::declval< XpressParametersProto_Parameter >()._impl_._has_bits_) HasBits
Definition xpress.pb.cc:420
void CopyFrom(const XpressParametersProto_Parameter &from)
Definition xpress.pb.cc:715
void MergeFrom(const XpressParametersProto_Parameter &from)
Definition xpress.pb.h:165
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition xpress.pb.cc:598
friend void swap(XpressParametersProto_Parameter &a, XpressParametersProto_Parameter &b)
Definition xpress.pb.h:142
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition xpress.pb.cc:572
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition xpress.pb.h:119
::google::protobuf::Metadata GetMetadata() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition xpress.pb.cc:914
void CopyFrom(const XpressParametersProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition xpress.pb.cc:893
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition xpress.pb.h:524
void MergeFrom(const XpressParametersProto &from)
Definition xpress.pb.h:570
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XpressParametersProto_ParameterDefaultTypeInternal _XpressParametersProto_Parameter_default_instance_
Definition xpress.pb.cc:58
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull XpressInitializerProto_class_data_
Definition xpress.pb.cc:265
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull XpressParametersProto_class_data_
Definition xpress.pb.cc:848
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull XpressParametersProto_Parameter_class_data_
Definition xpress.pb.cc:519
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XpressParametersProtoDefaultTypeInternal _XpressParametersProto_default_instance_
Definition xpress.pb.cc:108
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XpressInitializerProtoDefaultTypeInternal _XpressInitializerProto_default_instance_
Definition xpress.pb.cc:83
OR-Tools root namespace.
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fsolvers_2fxpress_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fxpress_2eproto
Definition xpress.pb.cc:160
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fsolvers_2fxpress_2eproto
Definition xpress.pb.cc:114
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fmath_5fopt_2fsolvers_2fxpress_2eproto
Definition xpress.pb.cc:112
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fxpress_2eproto_once
Definition xpress.pb.cc:159