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"
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
26namespace _fl = ::google::protobuf::internal::field_layout;
30inline constexpr XpressParametersProto_Parameter::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
34 &::google::protobuf::internal::fixed_address_empty_string,
35 ::_pbi::ConstantInitialized()),
37 &::google::protobuf::internal::fixed_address_empty_string,
38 ::_pbi::ConstantInitialized()) {}
42#if defined(PROTOBUF_CUSTOM_VTABLE)
45 : ::google::protobuf::Message(),
47 _impl_(::_pbi::ConstantInitialized()) {
57PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
60inline constexpr XpressInitializerProto::Impl_::Impl_(
61 ::_pbi::ConstantInitialized) noexcept
63 extract_names_{
false} {}
67#if defined(PROTOBUF_CUSTOM_VTABLE)
70 : ::google::protobuf::Message(),
72 _impl_(::_pbi::ConstantInitialized()) {
82PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
85inline constexpr XpressParametersProto::Impl_::Impl_(
86 ::_pbi::ConstantInitialized) noexcept
92#if defined(PROTOBUF_CUSTOM_VTABLE)
95 : ::google::protobuf::Message(),
97 _impl_(::_pbi::ConstantInitialized()) {
107PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
111static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
113static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
137static const ::_pbi::MigrationSchema
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"
164 descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fxpress_2eproto,
165 "ortools/math_opt/solvers/xpress.proto",
183 decltype(::std::declval<XpressInitializerProto>()._impl_._has_bits_);
189#if defined(PROTOBUF_CUSTOM_VTABLE)
192 : ::google::protobuf::Message(arena) {
199#if defined(PROTOBUF_CUSTOM_VTABLE)
202 : ::google::protobuf::Message(arena),
205 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
206 from._internal_metadata_);
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} {}
213inline void XpressInitializerProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
214 new (&
_impl_) Impl_(internal_visibility(), arena);
215 _impl_.extract_names_ = {};
221inline void XpressInitializerProto::SharedDtor(
MessageLite& self) {
223 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
224 this_.CheckHasBitConsistency();
226 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
227 ABSL_DCHECK(this_.GetArena() ==
nullptr);
231inline void* PROTOBUF_NONNULL XpressInitializerProto::PlacementNew_(
232 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
233 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
236constexpr auto XpressInitializerProto::InternalNewImpl_() {
241 return ::google::protobuf::internal::ClassDataFull{
242 ::google::protobuf::internal::ClassData{
247 &XpressInitializerProto::MergeImpl,
248 ::google::protobuf::Message::GetNewImpl<XpressInitializerProto>(),
249#if defined(PROTOBUF_CUSTOM_VTABLE)
250 &XpressInitializerProto::SharedDtor,
257 &XpressInitializerProto::kDescriptorMethods,
263PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
267PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
268XpressInitializerProto::GetClassData()
const {
273PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
274const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
275XpressInitializerProto::_table_ = {
280 offsetof(
decltype(_table_), field_lookup_table),
282 offsetof(
decltype(_table_), field_entries),
285 offsetof(
decltype(_table_), field_names),
288 ::_pbi::TcParser::GenericFallback,
289 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
290 ::_pbi::TcParser::GetTable<::operations_research::math_opt::XpressInitializerProto>(),
309 ::google::protobuf::internal::TSanWrite(&
_impl_);
310 ::uint32_t cached_has_bits = 0;
312 (void) cached_has_bits;
314 _impl_.extract_names_ =
false;
315 _impl_._has_bits_.Clear();
316 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
319#if defined(PROTOBUF_CUSTOM_VTABLE)
321 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
322 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
326 ::uint8_t* PROTOBUF_NONNULL target,
327 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
330 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
331 this_.CheckHasBitConsistency();
334 ::uint32_t cached_has_bits = 0;
335 (void)cached_has_bits;
337 cached_has_bits = this_.
_impl_._has_bits_[0];
339 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
340 target = stream->EnsureSpace(target);
341 target = ::_pbi::WireFormatLite::WriteBoolToArray(
342 1, this_._internal_extract_names(), target);
345 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
347 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
348 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
354#if defined(PROTOBUF_CUSTOM_VTABLE)
362 ::size_t total_size = 0;
364 ::uint32_t cached_has_bits = 0;
366 (void)cached_has_bits;
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_);
374void XpressInitializerProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
375 const ::google::protobuf::MessageLite& from_msg) {
379 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
380 from.CheckHasBitConsistency();
383 ABSL_DCHECK_NE(&from, _this);
384 ::uint32_t cached_has_bits = 0;
385 (void)cached_has_bits;
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_;
391 _this->_impl_._has_bits_[0] |= cached_has_bits;
392 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
393 from._internal_metadata_);
398 if (&from ==
this)
return;
404void XpressInitializerProto::InternalSwap(
XpressInitializerProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
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_);
412 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
419 decltype(::std::declval<XpressParametersProto_Parameter>()._impl_._has_bits_);
425#if defined(PROTOBUF_CUSTOM_VTABLE)
428 : ::google::protobuf::Message(arena) {
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_},
439 name_(arena, from.name_),
440 value_(arena, from.value_) {}
443 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
445#if defined(PROTOBUF_CUSTOM_VTABLE)
448 : ::google::protobuf::Message(arena) {
452 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
453 from._internal_metadata_);
454 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
458PROTOBUF_NDEBUG_INLINE XpressParametersProto_Parameter::Impl_::Impl_(
459 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
460 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
465inline void XpressParametersProto_Parameter::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
466 new (&
_impl_) Impl_(internal_visibility(), arena);
472inline void XpressParametersProto_Parameter::SharedDtor(
MessageLite& self) {
474 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
475 this_.CheckHasBitConsistency();
477 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
478 ABSL_DCHECK(this_.GetArena() ==
nullptr);
479 this_.
_impl_.name_.Destroy();
480 this_.
_impl_.value_.Destroy();
484inline void* PROTOBUF_NONNULL XpressParametersProto_Parameter::PlacementNew_(
485 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
486 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
489constexpr auto XpressParametersProto_Parameter::InternalNewImpl_() {
494 return ::google::protobuf::internal::ClassDataFull{
495 ::google::protobuf::internal::ClassData{
500 &XpressParametersProto_Parameter::MergeImpl,
501 ::google::protobuf::Message::GetNewImpl<XpressParametersProto_Parameter>(),
502#if defined(PROTOBUF_CUSTOM_VTABLE)
503 &XpressParametersProto_Parameter::SharedDtor,
510 &XpressParametersProto_Parameter::kDescriptorMethods,
516PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
520PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
521XpressParametersProto_Parameter::GetClassData()
const {
526PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
527const ::_pbi::TcParseTable<1, 2, 0, 78, 2>
528XpressParametersProto_Parameter::_table_ = {
533 offsetof(
decltype(_table_), field_lookup_table),
535 offsetof(
decltype(_table_), field_entries),
538 offsetof(
decltype(_table_), field_names),
541 ::_pbi::TcParser::GenericFallback,
542 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
543 ::_pbi::TcParser::GetTable<::operations_research::math_opt::XpressParametersProto_Parameter>(),
547 {::_pbi::TcParser::FastUS1,
551 {::_pbi::TcParser::FastUS1,
565 "operations_research.math_opt.XpressParametersProto.Parameter"
572 ::google::protobuf::internal::TSanWrite(&
_impl_);
573 ::uint32_t cached_has_bits = 0;
575 (void) cached_has_bits;
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();
582 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
583 _impl_.value_.ClearNonDefaultToEmpty();
586 _impl_._has_bits_.Clear();
587 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
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) {
597 ::uint8_t* PROTOBUF_NONNULL target,
598 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
601 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
602 this_.CheckHasBitConsistency();
605 ::uint32_t cached_has_bits = 0;
606 (void)cached_has_bits;
608 cached_has_bits = this_.
_impl_._has_bits_[0];
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);
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);
629 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
631 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
632 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
638#if defined(PROTOBUF_CUSTOM_VTABLE)
646 ::size_t total_size = 0;
648 ::uint32_t cached_has_bits = 0;
650 (void)cached_has_bits;
652 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
653 cached_has_bits = this_.
_impl_._has_bits_[0];
654 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
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());
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());
670 return this_.MaybeComputeUnknownFieldsSize(total_size,
671 &this_.
_impl_._cached_size_);
674void XpressParametersProto_Parameter::MergeImpl(::google::protobuf::MessageLite& to_msg,
675 const ::google::protobuf::MessageLite& from_msg) {
679 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
680 from.CheckHasBitConsistency();
683 ABSL_DCHECK_NE(&from, _this);
684 ::uint32_t cached_has_bits = 0;
685 (void)cached_has_bits;
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());
693 if (_this->_impl_.name_.IsDefault()) {
694 _this->_internal_set_name(
"");
698 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
699 if (!from._internal_value().empty()) {
700 _this->_internal_set_value(from._internal_value());
702 if (_this->_impl_.value_.IsDefault()) {
703 _this->_internal_set_value(
"");
708 _this->_impl_._has_bits_[0] |= cached_has_bits;
709 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
710 from._internal_metadata_);
715 if (&from ==
this)
return;
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);
732 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
739 decltype(::std::declval<XpressParametersProto>()._impl_._has_bits_);
745#if defined(PROTOBUF_CUSTOM_VTABLE)
748 : ::google::protobuf::Message(arena) {
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_},
759 parameters_{visibility, arena, from.parameters_} {}
762 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
764#if defined(PROTOBUF_CUSTOM_VTABLE)
767 : ::google::protobuf::Message(arena) {
771 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
772 from._internal_metadata_);
773 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
777PROTOBUF_NDEBUG_INLINE XpressParametersProto::Impl_::Impl_(
778 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
779 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
781 parameters_{visibility, arena} {}
783inline void XpressParametersProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
784 new (&
_impl_) Impl_(internal_visibility(), arena);
790inline void XpressParametersProto::SharedDtor(
MessageLite& self) {
792 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
793 this_.CheckHasBitConsistency();
795 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
796 ABSL_DCHECK(this_.GetArena() ==
nullptr);
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);
805constexpr auto XpressParametersProto::InternalNewImpl_() {
806 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
807 PROTOBUF_FIELD_OFFSET(XpressParametersProto,
_impl_.parameters_) +
809 InternalGetArenaOffset(
810 ::google::protobuf::Message::internal_visibility()),
812 if (arena_bits.has_value()) {
813 return ::google::protobuf::internal::MessageCreator::ZeroInit(
814 sizeof(XpressParametersProto), alignof(XpressParametersProto), *arena_bits);
816 return ::google::protobuf::internal::MessageCreator(&XpressParametersProto::PlacementNew_,
817 sizeof(XpressParametersProto),
818 alignof(XpressParametersProto));
822 return ::google::protobuf::internal::ClassDataFull{
823 ::google::protobuf::internal::ClassData{
828 &XpressParametersProto::MergeImpl,
829 ::google::protobuf::Message::GetNewImpl<XpressParametersProto>(),
830#if defined(PROTOBUF_CUSTOM_VTABLE)
831 &XpressParametersProto::SharedDtor,
838 &XpressParametersProto::kDescriptorMethods,
844PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
848PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
849XpressParametersProto::GetClassData()
const {
854PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
855const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
856XpressParametersProto::_table_ = {
858 PROTOBUF_FIELD_OFFSET(XpressParametersProto,
_impl_._has_bits_),
861 offsetof(
decltype(_table_), field_lookup_table),
863 offsetof(
decltype(_table_), field_entries),
866 offsetof(
decltype(_table_), aux_entries),
869 ::_pbi::TcParser::GenericFallback,
870 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
871 ::_pbi::TcParser::GetTable<::operations_research::math_opt::XpressParametersProto>(),
875 {::_pbi::TcParser::FastMtR1,
877 PROTOBUF_FIELD_OFFSET(XpressParametersProto,
_impl_.parameters_)}},
882 {PROTOBUF_FIELD_OFFSET(XpressParametersProto,
_impl_.parameters_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
885 {::_pbi::TcParser::GetTable<::operations_research::math_opt::XpressParametersProto_Parameter>()},
892 ::google::protobuf::internal::TSanWrite(&
_impl_);
893 ::uint32_t cached_has_bits = 0;
895 (void) cached_has_bits;
897 cached_has_bits =
_impl_._has_bits_[0];
898 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
899 _impl_.parameters_.Clear();
901 _impl_._has_bits_.Clear();
902 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
905#if defined(PROTOBUF_CUSTOM_VTABLE)
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);
912 ::uint8_t* PROTOBUF_NONNULL target,
913 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
916 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
917 this_.CheckHasBitConsistency();
920 ::uint32_t cached_has_bits = 0;
921 (void)cached_has_bits;
923 cached_has_bits = this_.
_impl_._has_bits_[0];
925 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
926 for (
unsigned i = 0, n =
static_cast<unsigned>(
927 this_._internal_parameters_size());
929 const auto& repfield = this_._internal_parameters().Get(i);
931 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
932 1, repfield, repfield.GetCachedSize(),
937 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
939 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
940 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
946#if defined(PROTOBUF_CUSTOM_VTABLE)
948 const XpressParametersProto& this_ =
static_cast<const XpressParametersProto&
>(base);
951 const XpressParametersProto& this_ = *
this;
954 ::size_t total_size = 0;
956 ::uint32_t cached_has_bits = 0;
958 (void)cached_has_bits;
960 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
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);
971 return this_.MaybeComputeUnknownFieldsSize(total_size,
972 &this_._impl_._cached_size_);
975void XpressParametersProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
976 const ::google::protobuf::MessageLite& from_msg) {
978 static_cast<XpressParametersProto*
>(&to_msg);
979 auto& from =
static_cast<const XpressParametersProto&
>(from_msg);
980 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
981 from.CheckHasBitConsistency();
985 ABSL_DCHECK_NE(&from, _this);
986 ::uint32_t cached_has_bits = 0;
987 (void)cached_has_bits;
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());
995 _this->_impl_._has_bits_[0] |= cached_has_bits;
996 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
997 from._internal_metadata_);
1002 if (&from ==
this)
return;
1008void XpressParametersProto::InternalSwap(
XpressParametersProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
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_);
1016 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1026PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
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[]
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< XpressInitializerProto >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const XpressInitializerProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalGenerateClassData_()
~XpressInitializerProto() PROTOBUF_FINAL
void MergeFrom(const XpressInitializerProto &from)
friend void swap(XpressInitializerProto &a, XpressInitializerProto &b)
::size_t ByteSizeLong() const final
static constexpr ::int32_t kHasBitsOffset
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< XpressParametersProto_Parameter >()._impl_._has_bits_) HasBits
void CopyFrom(const XpressParametersProto_Parameter &from)
friend class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
::size_t ByteSizeLong() const final
void MergeFrom(const XpressParametersProto_Parameter &from)
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(XpressParametersProto_Parameter &a, XpressParametersProto_Parameter &b)
~XpressParametersProto_Parameter() PROTOBUF_FINAL
XpressParametersProto_Parameter()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend class ::google::protobuf::Arena
::google::protobuf::Metadata GetMetadata() const
~XpressParametersProto() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const XpressParametersProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void MergeFrom(const XpressParametersProto &from)
::size_t ByteSizeLong() const final
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_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull XpressInitializerProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull XpressParametersProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull XpressParametersProto_Parameter_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XpressParametersProtoDefaultTypeInternal _XpressParametersProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XpressInitializerProtoDefaultTypeInternal _XpressInitializerProto_default_instance_
PROTOBUF_CONSTEXPR XpressInitializerProtoDefaultTypeInternal()
XpressInitializerProto _instance
~XpressInitializerProtoDefaultTypeInternal()
XpressParametersProto _instance
~XpressParametersProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR XpressParametersProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR XpressParametersProto_ParameterDefaultTypeInternal()
~XpressParametersProto_ParameterDefaultTypeInternal()
XpressParametersProto_Parameter _instance
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
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fsolvers_2fxpress_2eproto
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fmath_5fopt_2fsolvers_2fxpress_2eproto
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fxpress_2eproto_once