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;
31inline constexpr VectorBinPackingOneBinInSolution::Impl_::Impl_(
32 ::_pbi::ConstantInitialized) noexcept
35 _item_indices_cached_byte_size_{0},
37 _item_copies_cached_byte_size_{0} {}
41#if defined(PROTOBUF_CUSTOM_VTABLE)
44 : ::google::protobuf::Message(),
46 _impl_(::_pbi::ConstantInitialized()) {
56PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
59inline constexpr Item::Impl_::Impl_(
60 ::_pbi::ConstantInitialized) noexcept
63 _resource_usage_cached_byte_size_{0},
65 &::google::protobuf::internal::fixed_address_empty_string,
66 ::_pbi::ConstantInitialized()),
68 max_number_of_copies_per_bin_{0},
69 penalty_per_missing_copy_{0},
70 num_optional_copies_{0} {}
73PROTOBUF_CONSTEXPR
Item::Item(::_pbi::ConstantInitialized)
74#if defined(PROTOBUF_CUSTOM_VTABLE)
77 : ::google::protobuf::Message(),
79 _impl_(::_pbi::ConstantInitialized()) {
89PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
92inline constexpr VectorBinPackingSolution::Impl_::Impl_(
93 ::_pbi::ConstantInitialized) noexcept
97 &::google::protobuf::internal::fixed_address_empty_string,
98 ::_pbi::ConstantInitialized()),
100 solve_time_in_seconds_{0},
101 arc_flow_time_in_seconds_{0},
106#if defined(PROTOBUF_CUSTOM_VTABLE)
109 : ::google::protobuf::Message(),
111 _impl_(::_pbi::ConstantInitialized()) {
121PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
124inline constexpr VectorBinPackingProblem::Impl_::Impl_(
125 ::_pbi::ConstantInitialized) noexcept
127 resource_capacity_{},
128 _resource_capacity_cached_byte_size_{0},
132 &::google::protobuf::internal::fixed_address_empty_string,
133 ::_pbi::ConstantInitialized()),
139#if defined(PROTOBUF_CUSTOM_VTABLE)
142 : ::google::protobuf::Message(),
144 _impl_(::_pbi::ConstantInitialized()) {
154PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
159static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
161static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
220static const ::_pbi::MigrationSchema
235 "\n(ortools/packing/vector_bin_packing.pro"
236 "to\022\037operations_research.packing.vbp\"\245\001\n\004"
237 "Item\022\014\n\004name\030\001 \001(\t\022\026\n\016resource_usage\030\002 \003"
238 "(\003\022\022\n\nnum_copies\030\003 \001(\005\022\033\n\023num_optional_c"
239 "opies\030\005 \001(\005\022$\n\034max_number_of_copies_per_"
240 "bin\030\004 \001(\005\022 \n\030penalty_per_missing_copy\030\006 "
241 "\001(\001\"\314\001\n\027VectorBinPackingProblem\022\014\n\004name\030"
242 "\001 \001(\t\022\031\n\021resource_capacity\030\002 \003(\003\022\025\n\rreso"
243 "urce_name\030\003 \003(\t\0223\n\004item\030\004 \003(\0132%.operatio"
244 "ns_research.packing.vbp.Item\022\020\n\010max_bins"
245 "\030\005 \001(\005\022\031\n\014cost_per_bin\030\006 \001(\001H\000\210\001\001B\017\n\r_co"
246 "st_per_bin\"M\n VectorBinPackingOneBinInSo"
247 "lution\022\024\n\014item_indices\030\001 \003(\005\022\023\n\013item_cop"
248 "ies\030\002 \003(\005\"\250\002\n\030VectorBinPackingSolution\022\023"
249 "\n\013solver_info\030\001 \001(\t\022O\n\004bins\030\002 \003(\0132A.oper"
250 "ations_research.packing.vbp.VectorBinPac"
251 "kingOneBinInSolution\022L\n\006status\030\003 \001(\0162<.o"
252 "perations_research.packing.vbp.VectorBin"
253 "PackingSolveStatus\022\027\n\017objective_value\030\004 "
254 "\001(\001\022\035\n\025solve_time_in_seconds\030\005 \001(\001\022 \n\030ar"
255 "c_flow_time_in_seconds\030\006 \001(\001*y\n\033VectorBi"
256 "nPackingSolveStatus\022/\n+VECTOR_BIN_PACKIN"
257 "G_SOLVE_STATUS_UNSPECIFIED\020\000\022\013\n\007OPTIMAL\020"
258 "\001\022\014\n\010FEASIBLE\020\002\022\016\n\nINFEASIBLE\020\003B\?\n\036com.g"
259 "oogle.ortools.packing.vbpP\001\252\002\032Google.OrT"
260 "ools.Packing.Vbpb\006proto3"
267 descriptor_table_protodef_ortools_2fpacking_2fvector_5fbin_5fpacking_2eproto,
268 "ortools/packing/vector_bin_packing.proto",
290class Item::_Internal {
293 decltype(::std::declval<Item>()._impl_._has_bits_);
298Item::Item(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
299#if defined(PROTOBUF_CUSTOM_VTABLE)
302 : ::google::protobuf::Message(arena) {
307PROTOBUF_NDEBUG_INLINE Item::Impl_::Impl_(
308 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
309 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
310 [[maybe_unused]] const ::operations_research::packing::vbp::Item& from_msg)
311 : _has_bits_{from._has_bits_},
313 resource_usage_{visibility, arena, from.resource_usage_},
314 _resource_usage_cached_byte_size_{0},
315 name_(arena, from.name_) {}
318 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
320#if defined(PROTOBUF_CUSTOM_VTABLE)
323 : ::google::protobuf::Message(arena) {
325 Item*
const _this =
this;
327 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
328 from._internal_metadata_);
329 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
330 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
331 offsetof(Impl_, num_copies_),
332 reinterpret_cast<const char*
>(&from._impl_) +
333 offsetof(Impl_, num_copies_),
334 offsetof(Impl_, num_optional_copies_) -
335 offsetof(Impl_, num_copies_) +
336 sizeof(Impl_::num_optional_copies_));
340PROTOBUF_NDEBUG_INLINE Item::Impl_::Impl_(
341 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
342 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
344 resource_usage_{visibility, arena},
345 _resource_usage_cached_byte_size_{0},
348inline void Item::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
349 new (&
_impl_) Impl_(internal_visibility(), arena);
350 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
351 offsetof(Impl_, num_copies_),
353 offsetof(Impl_, num_optional_copies_) -
354 offsetof(Impl_, num_copies_) +
355 sizeof(Impl_::num_optional_copies_));
362 Item& this_ =
static_cast<Item&
>(self);
363 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
364 this_.CheckHasBitConsistency();
366 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
367 ABSL_DCHECK(this_.GetArena() ==
nullptr);
368 this_.
_impl_.name_.Destroy();
372inline void* PROTOBUF_NONNULL Item::PlacementNew_(
373 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
374 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
375 return ::new (mem)
Item(arena);
377constexpr auto Item::InternalNewImpl_() {
378 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
379 PROTOBUF_FIELD_OFFSET(
Item,
_impl_.resource_usage_) +
381 InternalGetArenaOffset(
382 ::
google::protobuf::Message::internal_visibility()),
384 if (arena_bits.has_value()) {
385 return ::google::protobuf::internal::MessageCreator::CopyInit(
386 sizeof(Item), alignof(Item), *arena_bits);
388 return ::google::protobuf::internal::MessageCreator(&Item::PlacementNew_,
394 return ::google::protobuf::internal::ClassDataFull{
395 ::google::protobuf::internal::ClassData{
401 ::google::protobuf::Message::GetNewImpl<Item>(),
402#if defined(PROTOBUF_CUSTOM_VTABLE)
407 PROTOBUF_FIELD_OFFSET(
Item,
_impl_._cached_size_),
410 &Item::kDescriptorMethods,
416PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
420PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
421Item::GetClassData()
const {
423 ::google::protobuf::internal::PrefetchToLocalCache(
Item_class_data_.tc_table);
426PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
427const ::_pbi::TcParseTable<3, 6, 0, 49, 2>
430 PROTOBUF_FIELD_OFFSET(
Item,
_impl_._has_bits_),
433 offsetof(
decltype(_table_), field_lookup_table),
435 offsetof(
decltype(_table_), field_entries),
438 offsetof(
decltype(_table_), field_names),
441 ::_pbi::TcParser::GenericFallback,
442 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
443 ::_pbi::TcParser::GetTable<::operations_research::packing::vbp::Item>(),
446 {::_pbi::TcParser::MiniParse, {}},
448 {::_pbi::TcParser::FastUS1,
452 {::_pbi::TcParser::FastV64P1,
454 PROTOBUF_FIELD_OFFSET(
Item,
_impl_.resource_usage_)}},
456 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
Item,
_impl_.num_copies_), 2>(),
458 PROTOBUF_FIELD_OFFSET(
Item,
_impl_.num_copies_)}},
460 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
Item,
_impl_.max_number_of_copies_per_bin_), 3>(),
462 PROTOBUF_FIELD_OFFSET(
Item,
_impl_.max_number_of_copies_per_bin_)}},
464 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
Item,
_impl_.num_optional_copies_), 5>(),
466 PROTOBUF_FIELD_OFFSET(
Item,
_impl_.num_optional_copies_)}},
468 {::_pbi::TcParser::FastF64S1,
470 PROTOBUF_FIELD_OFFSET(
Item,
_impl_.penalty_per_missing_copy_)}},
471 {::_pbi::TcParser::MiniParse, {}},
491 "operations_research.packing.vbp.Item"
497 ::google::protobuf::internal::TSanWrite(&
_impl_);
498 ::uint32_t cached_has_bits = 0;
500 (void) cached_has_bits;
502 cached_has_bits =
_impl_._has_bits_[0];
503 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
504 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
505 _impl_.resource_usage_.Clear();
507 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
508 _impl_.name_.ClearNonDefaultToEmpty();
511 if (BatchCheckHasBit(cached_has_bits, 0x0000003cU)) {
512 ::memset(&
_impl_.num_copies_, 0,
static_cast<::
size_t>(
513 reinterpret_cast<char*
>(&
_impl_.num_optional_copies_) -
514 reinterpret_cast<char*
>(&
_impl_.num_copies_)) +
sizeof(
_impl_.num_optional_copies_));
516 _impl_._has_bits_.Clear();
517 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
520#if defined(PROTOBUF_CUSTOM_VTABLE)
522 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
523 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
524 const Item& this_ =
static_cast<const Item&
>(base);
527 ::uint8_t* PROTOBUF_NONNULL target,
528 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
529 const Item& this_ = *
this;
531 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
532 this_.CheckHasBitConsistency();
535 ::uint32_t cached_has_bits = 0;
536 (void)cached_has_bits;
538 cached_has_bits = this_.
_impl_._has_bits_[0];
540 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
541 if (!this_._internal_name().empty()) {
542 const ::std::string& _s = this_._internal_name();
543 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
544 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.packing.vbp.Item.name");
545 target = stream->WriteStringMaybeAliased(1, _s, target);
550 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
552 int byte_size = this_.
_impl_._resource_usage_cached_byte_size_.Get();
554 target = stream->WriteInt64Packed(
555 2, this_._internal_resource_usage(), byte_size, target);
561 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
562 if (this_._internal_num_copies() != 0) {
564 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
565 stream, this_._internal_num_copies(), target);
570 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
571 if (this_._internal_max_number_of_copies_per_bin() != 0) {
573 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>(
574 stream, this_._internal_max_number_of_copies_per_bin(), target);
579 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
580 if (this_._internal_num_optional_copies() != 0) {
582 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
583 stream, this_._internal_num_optional_copies(), target);
588 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
589 if (::absl::bit_cast<::uint64_t>(this_._internal_penalty_per_missing_copy()) != 0) {
590 target = stream->EnsureSpace(target);
591 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
592 6, this_._internal_penalty_per_missing_copy(), target);
596 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
598 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
599 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
605#if defined(PROTOBUF_CUSTOM_VTABLE)
613 ::size_t total_size = 0;
615 ::uint32_t cached_has_bits = 0;
617 (void)cached_has_bits;
619 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
620 cached_has_bits = this_.
_impl_._has_bits_[0];
621 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
623 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
625 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
626 this_._internal_resource_usage(), 1,
627 this_.
_impl_._resource_usage_cached_byte_size_);
630 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
631 if (!this_._internal_name().empty()) {
632 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
633 this_._internal_name());
637 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
638 if (this_._internal_num_copies() != 0) {
639 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
640 this_._internal_num_copies());
644 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
645 if (this_._internal_max_number_of_copies_per_bin() != 0) {
646 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
647 this_._internal_max_number_of_copies_per_bin());
651 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
652 if (::absl::bit_cast<::uint64_t>(this_._internal_penalty_per_missing_copy()) != 0) {
657 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
658 if (this_._internal_num_optional_copies() != 0) {
659 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
660 this_._internal_num_optional_copies());
664 return this_.MaybeComputeUnknownFieldsSize(total_size,
665 &this_.
_impl_._cached_size_);
668void Item::MergeImpl(::google::protobuf::MessageLite& to_msg,
669 const ::google::protobuf::MessageLite& from_msg) {
671 static_cast<Item*
>(&to_msg);
672 auto& from =
static_cast<const Item&
>(from_msg);
673 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
674 from.CheckHasBitConsistency();
677 ABSL_DCHECK_NE(&from, _this);
678 ::uint32_t cached_has_bits = 0;
679 (void)cached_has_bits;
681 cached_has_bits = from._impl_._has_bits_[0];
682 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
683 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
684 _this->_internal_mutable_resource_usage()->MergeFrom(from._internal_resource_usage());
686 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
687 if (!from._internal_name().empty()) {
688 _this->_internal_set_name(from._internal_name());
690 if (_this->_impl_.name_.IsDefault()) {
691 _this->_internal_set_name(
"");
695 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
696 if (from._internal_num_copies() != 0) {
697 _this->_impl_.num_copies_ = from._impl_.num_copies_;
700 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
701 if (from._internal_max_number_of_copies_per_bin() != 0) {
702 _this->_impl_.max_number_of_copies_per_bin_ = from._impl_.max_number_of_copies_per_bin_;
705 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
706 if (::absl::bit_cast<::uint64_t>(from._internal_penalty_per_missing_copy()) != 0) {
707 _this->_impl_.penalty_per_missing_copy_ = from._impl_.penalty_per_missing_copy_;
710 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
711 if (from._internal_num_optional_copies() != 0) {
712 _this->_impl_.num_optional_copies_ = from._impl_.num_optional_copies_;
716 _this->_impl_._has_bits_[0] |= cached_has_bits;
717 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
718 from._internal_metadata_);
723 if (&from ==
this)
return;
729void Item::InternalSwap(
Item* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
731 auto* arena = GetArena();
732 ABSL_DCHECK_EQ(arena, other->GetArena());
733 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
734 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
735 _impl_.resource_usage_.InternalSwap(&other->_impl_.resource_usage_);
736 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
737 ::google::protobuf::internal::memswap<
738 PROTOBUF_FIELD_OFFSET(
Item,
_impl_.num_optional_copies_)
740 - PROTOBUF_FIELD_OFFSET(
Item,
_impl_.num_copies_)>(
741 reinterpret_cast<char*
>(&
_impl_.num_copies_),
742 reinterpret_cast<char*
>(&other->_impl_.num_copies_));
746 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
753 decltype(::std::declval<VectorBinPackingProblem>()._impl_._has_bits_);
759#if defined(PROTOBUF_CUSTOM_VTABLE)
762 : ::google::protobuf::Message(arena) {
767PROTOBUF_NDEBUG_INLINE VectorBinPackingProblem::Impl_::Impl_(
768 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
769 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
770 [[maybe_unused]] const ::operations_research::packing::vbp::VectorBinPackingProblem& from_msg)
771 : _has_bits_{from._has_bits_},
773 resource_capacity_{visibility, arena, from.resource_capacity_},
774 _resource_capacity_cached_byte_size_{0},
775 resource_name_{visibility, arena, from.resource_name_},
776 item_{visibility, arena, from.item_},
777 name_(arena, from.name_) {}
780 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
782#if defined(PROTOBUF_CUSTOM_VTABLE)
785 : ::google::protobuf::Message(arena) {
789 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
790 from._internal_metadata_);
791 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
792 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
793 offsetof(Impl_, cost_per_bin_),
794 reinterpret_cast<const char*
>(&from._impl_) +
795 offsetof(Impl_, cost_per_bin_),
796 offsetof(Impl_, max_bins_) -
797 offsetof(Impl_, cost_per_bin_) +
798 sizeof(Impl_::max_bins_));
802PROTOBUF_NDEBUG_INLINE VectorBinPackingProblem::Impl_::Impl_(
803 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
804 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
806 resource_capacity_{visibility, arena},
807 _resource_capacity_cached_byte_size_{0},
808 resource_name_{visibility, arena},
809 item_{visibility, arena},
812inline void VectorBinPackingProblem::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
813 new (&
_impl_) Impl_(internal_visibility(), arena);
814 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
815 offsetof(Impl_, cost_per_bin_),
817 offsetof(Impl_, max_bins_) -
818 offsetof(Impl_, cost_per_bin_) +
819 sizeof(Impl_::max_bins_));
825inline void VectorBinPackingProblem::SharedDtor(
MessageLite& self) {
827 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
828 this_.CheckHasBitConsistency();
830 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
831 ABSL_DCHECK(this_.GetArena() ==
nullptr);
832 this_.
_impl_.name_.Destroy();
836inline void* PROTOBUF_NONNULL VectorBinPackingProblem::PlacementNew_(
837 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
838 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
841constexpr auto VectorBinPackingProblem::InternalNewImpl_() {
842 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
845 InternalGetArenaOffset(
846 ::
google::protobuf::Message::internal_visibility()),
849 InternalGetArenaOffset(
850 ::
google::protobuf::Message::internal_visibility()),
853 InternalGetArenaOffset(
854 ::
google::protobuf::Message::internal_visibility()),
856 if (arena_bits.has_value()) {
857 return ::google::protobuf::internal::MessageCreator::CopyInit(
858 sizeof(VectorBinPackingProblem), alignof(VectorBinPackingProblem), *arena_bits);
860 return ::google::protobuf::internal::MessageCreator(&VectorBinPackingProblem::PlacementNew_,
861 sizeof(VectorBinPackingProblem),
862 alignof(VectorBinPackingProblem));
866 return ::google::protobuf::internal::ClassDataFull{
867 ::google::protobuf::internal::ClassData{
872 &VectorBinPackingProblem::MergeImpl,
873 ::google::protobuf::Message::GetNewImpl<VectorBinPackingProblem>(),
874#if defined(PROTOBUF_CUSTOM_VTABLE)
875 &VectorBinPackingProblem::SharedDtor,
882 &VectorBinPackingProblem::kDescriptorMethods,
888PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
892PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
893VectorBinPackingProblem::GetClassData()
const {
898PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
899const ::_pbi::TcParseTable<3, 6, 1, 81, 2>
900VectorBinPackingProblem::_table_ = {
905 offsetof(
decltype(_table_), field_lookup_table),
907 offsetof(
decltype(_table_), field_entries),
910 offsetof(
decltype(_table_), aux_entries),
913 ::_pbi::TcParser::GenericFallback,
914 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
915 ::_pbi::TcParser::GetTable<::operations_research::packing::vbp::VectorBinPackingProblem>(),
918 {::_pbi::TcParser::MiniParse, {}},
920 {::_pbi::TcParser::FastUS1,
924 {::_pbi::TcParser::FastV64P1,
928 {::_pbi::TcParser::FastUR1,
932 {::_pbi::TcParser::FastMtR1,
940 {::_pbi::TcParser::FastF64S1,
943 {::_pbi::TcParser::MiniParse, {}},
961 {::_pbi::TcParser::GetTable<::operations_research::packing::vbp::Item>()},
965 "operations_research.packing.vbp.VectorBinPackingProblem"
972 ::google::protobuf::internal::TSanWrite(&
_impl_);
973 ::uint32_t cached_has_bits = 0;
975 (void) cached_has_bits;
977 cached_has_bits =
_impl_._has_bits_[0];
978 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
979 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
980 _impl_.resource_capacity_.Clear();
982 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
983 _impl_.resource_name_.Clear();
985 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
988 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
989 _impl_.name_.ClearNonDefaultToEmpty();
992 if (BatchCheckHasBit(cached_has_bits, 0x00000030U)) {
993 ::memset(&
_impl_.cost_per_bin_, 0,
static_cast<::
size_t>(
994 reinterpret_cast<char*
>(&
_impl_.max_bins_) -
995 reinterpret_cast<char*
>(&
_impl_.cost_per_bin_)) +
sizeof(
_impl_.max_bins_));
997 _impl_._has_bits_.Clear();
998 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1001#if defined(PROTOBUF_CUSTOM_VTABLE)
1003 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1004 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1008 ::uint8_t* PROTOBUF_NONNULL target,
1009 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1012 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1013 this_.CheckHasBitConsistency();
1016 ::uint32_t cached_has_bits = 0;
1017 (void)cached_has_bits;
1019 cached_has_bits = this_.
_impl_._has_bits_[0];
1021 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1022 if (!this_._internal_name().empty()) {
1023 const ::std::string& _s = this_._internal_name();
1024 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1025 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.packing.vbp.VectorBinPackingProblem.name");
1026 target = stream->WriteStringMaybeAliased(1, _s, target);
1031 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1033 int byte_size = this_.
_impl_._resource_capacity_cached_byte_size_.Get();
1034 if (byte_size > 0) {
1035 target = stream->WriteInt64Packed(
1036 2, this_._internal_resource_capacity(), byte_size, target);
1042 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1043 for (
int i = 0, n = this_._internal_resource_name_size(); i < n; ++i) {
1044 const auto& s = this_._internal_resource_name().Get(i);
1045 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1046 s.data(),
static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.packing.vbp.VectorBinPackingProblem.resource_name");
1047 target = stream->WriteString(3, s, target);
1052 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1053 for (
unsigned i = 0, n =
static_cast<unsigned>(
1054 this_._internal_item_size());
1056 const auto& repfield = this_._internal_item().Get(i);
1058 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1059 4, repfield, repfield.GetCachedSize(),
1065 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1066 if (this_._internal_max_bins() != 0) {
1068 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
1069 stream, this_._internal_max_bins(), target);
1074 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1075 target = stream->EnsureSpace(target);
1076 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1077 6, this_._internal_cost_per_bin(), target);
1080 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1082 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1083 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1089#if defined(PROTOBUF_CUSTOM_VTABLE)
1097 ::size_t total_size = 0;
1099 ::uint32_t cached_has_bits = 0;
1101 (void)cached_has_bits;
1103 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1104 cached_has_bits = this_.
_impl_._has_bits_[0];
1105 total_size +=
static_cast<bool>(0x00000010U & cached_has_bits) * 9;
1106 if (BatchCheckHasBit(cached_has_bits, 0x0000002fU)) {
1108 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1110 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1111 this_._internal_resource_capacity(), 1,
1112 this_.
_impl_._resource_capacity_cached_byte_size_);
1115 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1117 1 * ::google::protobuf::internal::FromIntSize(this_._internal_resource_name().size());
1118 for (
int i = 0, n = this_._internal_resource_name().size(); i < n; ++i) {
1119 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
1120 this_._internal_resource_name().Get(i));
1124 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1125 total_size += 1UL * this_._internal_item_size();
1126 for (
const auto& msg : this_._internal_item()) {
1127 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1131 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1132 if (!this_._internal_name().empty()) {
1133 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1134 this_._internal_name());
1138 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1139 if (this_._internal_max_bins() != 0) {
1140 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1141 this_._internal_max_bins());
1145 return this_.MaybeComputeUnknownFieldsSize(total_size,
1146 &this_.
_impl_._cached_size_);
1149void VectorBinPackingProblem::MergeImpl(::google::protobuf::MessageLite& to_msg,
1150 const ::google::protobuf::MessageLite& from_msg) {
1154 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1155 from.CheckHasBitConsistency();
1159 ABSL_DCHECK_NE(&from, _this);
1160 ::uint32_t cached_has_bits = 0;
1161 (void)cached_has_bits;
1163 cached_has_bits = from._impl_._has_bits_[0];
1164 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
1165 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1166 _this->_internal_mutable_resource_capacity()->MergeFrom(from._internal_resource_capacity());
1168 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1169 _this->_internal_mutable_resource_name()->InternalMergeFromWithArena(
1170 ::google::protobuf::MessageLite::internal_visibility(), arena,
1171 from._internal_resource_name());
1173 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
1174 _this->_internal_mutable_item()->InternalMergeFromWithArena(
1175 ::google::protobuf::MessageLite::internal_visibility(), arena,
1176 from._internal_item());
1178 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1179 if (!from._internal_name().empty()) {
1180 _this->_internal_set_name(from._internal_name());
1182 if (_this->_impl_.name_.IsDefault()) {
1183 _this->_internal_set_name(
"");
1187 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1188 _this->_impl_.cost_per_bin_ = from._impl_.cost_per_bin_;
1190 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1191 if (from._internal_max_bins() != 0) {
1192 _this->_impl_.max_bins_ = from._impl_.max_bins_;
1196 _this->_impl_._has_bits_[0] |= cached_has_bits;
1197 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1198 from._internal_metadata_);
1203 if (&from ==
this)
return;
1209void VectorBinPackingProblem::InternalSwap(
VectorBinPackingProblem* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1211 auto* arena = GetArena();
1212 ABSL_DCHECK_EQ(arena, other->GetArena());
1213 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1214 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1215 _impl_.resource_capacity_.InternalSwap(&other->_impl_.resource_capacity_);
1216 _impl_.resource_name_.InternalSwap(&other->_impl_.resource_name_);
1217 _impl_.item_.InternalSwap(&other->_impl_.item_);
1218 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
1219 ::google::protobuf::internal::memswap<
1223 reinterpret_cast<char*
>(&
_impl_.cost_per_bin_),
1224 reinterpret_cast<char*
>(&other->_impl_.cost_per_bin_));
1228 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1235 decltype(::std::declval<VectorBinPackingOneBinInSolution>()._impl_._has_bits_);
1241#if defined(PROTOBUF_CUSTOM_VTABLE)
1244 : ::google::protobuf::Message(arena) {
1249PROTOBUF_NDEBUG_INLINE VectorBinPackingOneBinInSolution::Impl_::Impl_(
1250 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1251 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1252 [[maybe_unused]] const ::operations_research::packing::vbp::VectorBinPackingOneBinInSolution& from_msg)
1253 : _has_bits_{from._has_bits_},
1255 item_indices_{visibility, arena, from.item_indices_},
1256 _item_indices_cached_byte_size_{0},
1257 item_copies_{visibility, arena, from.item_copies_},
1258 _item_copies_cached_byte_size_{0} {}
1261 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1263#if defined(PROTOBUF_CUSTOM_VTABLE)
1266 : ::google::protobuf::Message(arena) {
1270 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1271 from._internal_metadata_);
1272 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1276PROTOBUF_NDEBUG_INLINE VectorBinPackingOneBinInSolution::Impl_::Impl_(
1277 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1278 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1280 item_indices_{visibility, arena},
1281 _item_indices_cached_byte_size_{0},
1282 item_copies_{visibility, arena},
1283 _item_copies_cached_byte_size_{0} {}
1285inline void VectorBinPackingOneBinInSolution::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1286 new (&
_impl_) Impl_(internal_visibility(), arena);
1292inline void VectorBinPackingOneBinInSolution::SharedDtor(
MessageLite& self) {
1294 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1295 this_.CheckHasBitConsistency();
1297 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1298 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1302inline void* PROTOBUF_NONNULL VectorBinPackingOneBinInSolution::PlacementNew_(
1303 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1304 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1305 return ::new (mem) VectorBinPackingOneBinInSolution(arena);
1307constexpr auto VectorBinPackingOneBinInSolution::InternalNewImpl_() {
1308 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1309 PROTOBUF_FIELD_OFFSET(VectorBinPackingOneBinInSolution,
_impl_.item_indices_) +
1311 InternalGetArenaOffset(
1312 ::
google::protobuf::Message::internal_visibility()),
1313 PROTOBUF_FIELD_OFFSET(VectorBinPackingOneBinInSolution,
_impl_.item_copies_) +
1314 decltype(VectorBinPackingOneBinInSolution::
_impl_.item_copies_)::
1315 InternalGetArenaOffset(
1316 ::
google::protobuf::Message::internal_visibility()),
1318 if (arena_bits.has_value()) {
1319 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1320 sizeof(VectorBinPackingOneBinInSolution), alignof(VectorBinPackingOneBinInSolution), *arena_bits);
1322 return ::google::protobuf::internal::MessageCreator(&VectorBinPackingOneBinInSolution::PlacementNew_,
1323 sizeof(VectorBinPackingOneBinInSolution),
1324 alignof(VectorBinPackingOneBinInSolution));
1328 return ::google::protobuf::internal::ClassDataFull{
1329 ::google::protobuf::internal::ClassData{
1334 &VectorBinPackingOneBinInSolution::MergeImpl,
1335 ::google::protobuf::Message::GetNewImpl<VectorBinPackingOneBinInSolution>(),
1336#if defined(PROTOBUF_CUSTOM_VTABLE)
1337 &VectorBinPackingOneBinInSolution::SharedDtor,
1344 &VectorBinPackingOneBinInSolution::kDescriptorMethods,
1350PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1354PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1355VectorBinPackingOneBinInSolution::GetClassData()
const {
1360PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1361const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
1362VectorBinPackingOneBinInSolution::_table_ = {
1364 PROTOBUF_FIELD_OFFSET(VectorBinPackingOneBinInSolution,
_impl_._has_bits_),
1367 offsetof(
decltype(_table_), field_lookup_table),
1369 offsetof(
decltype(_table_), field_entries),
1372 offsetof(
decltype(_table_), field_names),
1375 ::_pbi::TcParser::GenericFallback,
1376 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1377 ::_pbi::TcParser::GetTable<::operations_research::packing::vbp::VectorBinPackingOneBinInSolution>(),
1381 {::_pbi::TcParser::FastV32P1,
1383 PROTOBUF_FIELD_OFFSET(VectorBinPackingOneBinInSolution,
_impl_.item_copies_)}},
1385 {::_pbi::TcParser::FastV32P1,
1387 PROTOBUF_FIELD_OFFSET(VectorBinPackingOneBinInSolution,
_impl_.item_indices_)}},
1392 {PROTOBUF_FIELD_OFFSET(VectorBinPackingOneBinInSolution,
_impl_.item_indices_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
1394 {PROTOBUF_FIELD_OFFSET(VectorBinPackingOneBinInSolution,
_impl_.item_copies_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
1402 ::google::protobuf::internal::TSanWrite(&
_impl_);
1403 ::uint32_t cached_has_bits = 0;
1405 (void) cached_has_bits;
1407 cached_has_bits =
_impl_._has_bits_[0];
1408 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1409 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1410 _impl_.item_indices_.Clear();
1412 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1413 _impl_.item_copies_.Clear();
1416 _impl_._has_bits_.Clear();
1417 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1420#if defined(PROTOBUF_CUSTOM_VTABLE)
1422 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1423 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1424 const VectorBinPackingOneBinInSolution& this_ =
static_cast<const VectorBinPackingOneBinInSolution&
>(
base);
1427 ::uint8_t* PROTOBUF_NONNULL target,
1428 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1431 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1432 this_.CheckHasBitConsistency();
1435 ::uint32_t cached_has_bits = 0;
1436 (void)cached_has_bits;
1438 cached_has_bits = this_.
_impl_._has_bits_[0];
1440 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1442 int byte_size = this_.
_impl_._item_indices_cached_byte_size_.Get();
1443 if (byte_size > 0) {
1444 target = stream->WriteInt32Packed(
1445 1, this_._internal_item_indices(), byte_size, target);
1451 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1453 int byte_size = this_.
_impl_._item_copies_cached_byte_size_.Get();
1454 if (byte_size > 0) {
1455 target = stream->WriteInt32Packed(
1456 2, this_._internal_item_copies(), byte_size, target);
1461 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1463 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1464 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1470#if defined(PROTOBUF_CUSTOM_VTABLE)
1472 const VectorBinPackingOneBinInSolution& this_ =
static_cast<const VectorBinPackingOneBinInSolution&
>(base);
1475 const VectorBinPackingOneBinInSolution& this_ = *
this;
1478 ::size_t total_size = 0;
1480 ::uint32_t cached_has_bits = 0;
1482 (void)cached_has_bits;
1484 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1485 cached_has_bits = this_._impl_._has_bits_[0];
1486 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1488 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1490 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1491 this_._internal_item_indices(), 1,
1492 this_._impl_._item_indices_cached_byte_size_);
1495 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1497 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1498 this_._internal_item_copies(), 1,
1499 this_._impl_._item_copies_cached_byte_size_);
1502 return this_.MaybeComputeUnknownFieldsSize(total_size,
1503 &this_._impl_._cached_size_);
1506void VectorBinPackingOneBinInSolution::MergeImpl(::google::protobuf::MessageLite& to_msg,
1507 const ::google::protobuf::MessageLite& from_msg) {
1509 static_cast<VectorBinPackingOneBinInSolution*
>(&to_msg);
1510 auto& from =
static_cast<const VectorBinPackingOneBinInSolution&
>(from_msg);
1511 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1512 from.CheckHasBitConsistency();
1515 ABSL_DCHECK_NE(&from, _this);
1516 ::uint32_t cached_has_bits = 0;
1517 (void)cached_has_bits;
1519 cached_has_bits = from._impl_._has_bits_[0];
1520 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1521 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1522 _this->_internal_mutable_item_indices()->MergeFrom(from._internal_item_indices());
1524 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
1525 _this->_internal_mutable_item_copies()->MergeFrom(from._internal_item_copies());
1528 _this->_impl_._has_bits_[0] |= cached_has_bits;
1529 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1530 from._internal_metadata_);
1535 if (&from ==
this)
return;
1543 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1544 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1545 _impl_.item_indices_.InternalSwap(&other->_impl_.item_indices_);
1546 _impl_.item_copies_.InternalSwap(&other->_impl_.item_copies_);
1550 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1557 decltype(::std::declval<VectorBinPackingSolution>()._impl_._has_bits_);
1563#if defined(PROTOBUF_CUSTOM_VTABLE)
1566 : ::google::protobuf::Message(arena) {
1571PROTOBUF_NDEBUG_INLINE VectorBinPackingSolution::Impl_::Impl_(
1572 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1573 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1574 [[maybe_unused]] const ::operations_research::packing::vbp::VectorBinPackingSolution& from_msg)
1575 : _has_bits_{from._has_bits_},
1577 bins_{visibility, arena, from.bins_},
1578 solver_info_(arena, from.solver_info_) {}
1581 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1583#if defined(PROTOBUF_CUSTOM_VTABLE)
1586 : ::google::protobuf::Message(arena) {
1590 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1591 from._internal_metadata_);
1592 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1593 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
1594 offsetof(Impl_, objective_value_),
1595 reinterpret_cast<const char*
>(&from._impl_) +
1596 offsetof(Impl_, objective_value_),
1597 offsetof(Impl_, status_) -
1598 offsetof(Impl_, objective_value_) +
1599 sizeof(Impl_::status_));
1603PROTOBUF_NDEBUG_INLINE VectorBinPackingSolution::Impl_::Impl_(
1604 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1605 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1607 bins_{visibility, arena},
1608 solver_info_(arena) {}
1610inline void VectorBinPackingSolution::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1611 new (&
_impl_) Impl_(internal_visibility(), arena);
1612 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
1613 offsetof(Impl_, objective_value_),
1615 offsetof(Impl_, status_) -
1616 offsetof(Impl_, objective_value_) +
1617 sizeof(Impl_::status_));
1625 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1626 this_.CheckHasBitConsistency();
1628 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1629 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1630 this_.
_impl_.solver_info_.Destroy();
1634inline void* PROTOBUF_NONNULL VectorBinPackingSolution::PlacementNew_(
1635 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1636 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1639constexpr auto VectorBinPackingSolution::InternalNewImpl_() {
1640 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1641 PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_.bins_) +
1643 InternalGetArenaOffset(
1646 if (arena_bits.has_value()) {
1647 return ::google::protobuf::internal::MessageCreator::CopyInit(
1648 sizeof(VectorBinPackingSolution), alignof(VectorBinPackingSolution), *arena_bits);
1650 return ::google::protobuf::internal::MessageCreator(&VectorBinPackingSolution::PlacementNew_,
1651 sizeof(VectorBinPackingSolution),
1652 alignof(VectorBinPackingSolution));
1656 return ::google::protobuf::internal::ClassDataFull{
1657 ::google::protobuf::internal::ClassData{
1662 &VectorBinPackingSolution::MergeImpl,
1663 ::google::protobuf::Message::GetNewImpl<VectorBinPackingSolution>(),
1664#if defined(PROTOBUF_CUSTOM_VTABLE)
1665 &VectorBinPackingSolution::SharedDtor,
1672 &VectorBinPackingSolution::kDescriptorMethods,
1678PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1682PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1683VectorBinPackingSolution::GetClassData()
const {
1688PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1689const ::_pbi::TcParseTable<3, 6, 1, 76, 2>
1690VectorBinPackingSolution::_table_ = {
1692 PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_._has_bits_),
1695 offsetof(
decltype(_table_), field_lookup_table),
1697 offsetof(
decltype(_table_), field_entries),
1700 offsetof(
decltype(_table_), aux_entries),
1703 ::_pbi::TcParser::GenericFallback,
1704 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1705 ::_pbi::TcParser::GetTable<::operations_research::packing::vbp::VectorBinPackingSolution>(),
1708 {::_pbi::TcParser::MiniParse, {}},
1710 {::_pbi::TcParser::FastUS1,
1712 PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_.solver_info_)}},
1714 {::_pbi::TcParser::FastMtR1,
1716 PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_.bins_)}},
1718 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(VectorBinPackingSolution,
_impl_.status_), 5>(),
1720 PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_.status_)}},
1722 {::_pbi::TcParser::FastF64S1,
1724 PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_.objective_value_)}},
1726 {::_pbi::TcParser::FastF64S1,
1728 PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_.solve_time_in_seconds_)}},
1730 {::_pbi::TcParser::FastF64S1,
1732 PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_.arc_flow_time_in_seconds_)}},
1733 {::_pbi::TcParser::MiniParse, {}},
1738 {PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_.solver_info_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1740 {PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_.bins_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1744 {PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_.objective_value_),
_Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1746 {PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_.solve_time_in_seconds_),
_Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1748 {PROTOBUF_FIELD_OFFSET(VectorBinPackingSolution,
_impl_.arc_flow_time_in_seconds_),
_Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1751 {::_pbi::TcParser::GetTable<::operations_research::packing::vbp::VectorBinPackingOneBinInSolution>()},
1754 "\70\13\0\0\0\0\0\0"
1755 "operations_research.packing.vbp.VectorBinPackingSolution"
1761 ::google::protobuf::internal::TSanWrite(&
_impl_);
1762 ::uint32_t cached_has_bits = 0;
1764 (void) cached_has_bits;
1766 cached_has_bits =
_impl_._has_bits_[0];
1767 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1768 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1771 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1772 _impl_.solver_info_.ClearNonDefaultToEmpty();
1775 if (BatchCheckHasBit(cached_has_bits, 0x0000003cU)) {
1776 ::memset(&
_impl_.objective_value_, 0,
static_cast<::
size_t>(
1777 reinterpret_cast<char*
>(&
_impl_.status_) -
1778 reinterpret_cast<char*
>(&
_impl_.objective_value_)) +
sizeof(
_impl_.status_));
1780 _impl_._has_bits_.Clear();
1781 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1784#if defined(PROTOBUF_CUSTOM_VTABLE)
1786 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1787 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1788 const VectorBinPackingSolution& this_ =
static_cast<const VectorBinPackingSolution&
>(
base);
1791 ::uint8_t* PROTOBUF_NONNULL target,
1792 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1793 const VectorBinPackingSolution& this_ = *
this;
1795 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1796 this_.CheckHasBitConsistency();
1799 ::uint32_t cached_has_bits = 0;
1800 (void)cached_has_bits;
1802 cached_has_bits = this_._impl_._has_bits_[0];
1804 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1805 if (!this_._internal_solver_info().empty()) {
1806 const ::std::string& _s = this_._internal_solver_info();
1807 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1808 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.packing.vbp.VectorBinPackingSolution.solver_info");
1809 target = stream->WriteStringMaybeAliased(1, _s, target);
1814 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1815 for (
unsigned i = 0, n =
static_cast<unsigned>(
1816 this_._internal_bins_size());
1818 const auto& repfield = this_._internal_bins().Get(i);
1820 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1821 2, repfield, repfield.GetCachedSize(),
1827 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1828 if (this_._internal_status() != 0) {
1829 target = stream->EnsureSpace(target);
1830 target = ::_pbi::WireFormatLite::WriteEnumToArray(
1831 3, this_._internal_status(), target);
1836 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1837 if (::absl::bit_cast<::uint64_t>(this_._internal_objective_value()) != 0) {
1838 target = stream->EnsureSpace(target);
1839 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1840 4, this_._internal_objective_value(), target);
1845 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1846 if (::absl::bit_cast<::uint64_t>(this_._internal_solve_time_in_seconds()) != 0) {
1847 target = stream->EnsureSpace(target);
1848 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1849 5, this_._internal_solve_time_in_seconds(), target);
1854 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1855 if (::absl::bit_cast<::uint64_t>(this_._internal_arc_flow_time_in_seconds()) != 0) {
1856 target = stream->EnsureSpace(target);
1857 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1858 6, this_._internal_arc_flow_time_in_seconds(), target);
1862 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1864 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1865 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1871#if defined(PROTOBUF_CUSTOM_VTABLE)
1873 const VectorBinPackingSolution& this_ =
static_cast<const VectorBinPackingSolution&
>(base);
1876 const VectorBinPackingSolution& this_ = *
this;
1879 ::size_t total_size = 0;
1881 ::uint32_t cached_has_bits = 0;
1883 (void)cached_has_bits;
1885 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1886 cached_has_bits = this_._impl_._has_bits_[0];
1887 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
1889 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1890 total_size += 1UL * this_._internal_bins_size();
1891 for (
const auto& msg : this_._internal_bins()) {
1892 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1896 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1897 if (!this_._internal_solver_info().empty()) {
1898 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1899 this_._internal_solver_info());
1903 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1904 if (::absl::bit_cast<::uint64_t>(this_._internal_objective_value()) != 0) {
1909 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1910 if (::absl::bit_cast<::uint64_t>(this_._internal_solve_time_in_seconds()) != 0) {
1915 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1916 if (::absl::bit_cast<::uint64_t>(this_._internal_arc_flow_time_in_seconds()) != 0) {
1921 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1922 if (this_._internal_status() != 0) {
1924 ::_pbi::WireFormatLite::EnumSize(this_._internal_status());
1928 return this_.MaybeComputeUnknownFieldsSize(total_size,
1929 &this_._impl_._cached_size_);
1932void VectorBinPackingSolution::MergeImpl(::google::protobuf::MessageLite& to_msg,
1933 const ::google::protobuf::MessageLite& from_msg) {
1935 static_cast<VectorBinPackingSolution*
>(&to_msg);
1936 auto& from =
static_cast<const VectorBinPackingSolution&
>(from_msg);
1937 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1938 from.CheckHasBitConsistency();
1942 ABSL_DCHECK_NE(&from, _this);
1943 ::uint32_t cached_has_bits = 0;
1944 (void)cached_has_bits;
1946 cached_has_bits = from._impl_._has_bits_[0];
1947 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
1948 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1949 _this->_internal_mutable_bins()->InternalMergeFromWithArena(
1950 ::google::protobuf::MessageLite::internal_visibility(), arena,
1951 from._internal_bins());
1953 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1954 if (!from._internal_solver_info().empty()) {
1955 _this->_internal_set_solver_info(from._internal_solver_info());
1957 if (_this->_impl_.solver_info_.IsDefault()) {
1958 _this->_internal_set_solver_info(
"");
1962 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1963 if (::absl::bit_cast<::uint64_t>(from._internal_objective_value()) != 0) {
1964 _this->_impl_.objective_value_ = from._impl_.objective_value_;
1967 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1968 if (::absl::bit_cast<::uint64_t>(from._internal_solve_time_in_seconds()) != 0) {
1969 _this->_impl_.solve_time_in_seconds_ = from._impl_.solve_time_in_seconds_;
1972 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1973 if (::absl::bit_cast<::uint64_t>(from._internal_arc_flow_time_in_seconds()) != 0) {
1974 _this->_impl_.arc_flow_time_in_seconds_ = from._impl_.arc_flow_time_in_seconds_;
1977 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1978 if (from._internal_status() != 0) {
1979 _this->_impl_.status_ = from._impl_.status_;
1983 _this->_impl_._has_bits_[0] |= cached_has_bits;
1984 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1985 from._internal_metadata_);
1990 if (&from ==
this)
return;
1998 auto* arena = GetArena();
1999 ABSL_DCHECK_EQ(arena, other->GetArena());
2000 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2001 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2002 _impl_.bins_.InternalSwap(&other->_impl_.bins_);
2003 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.solver_info_, &other->_impl_.solver_info_, arena);
2004 ::google::protobuf::internal::memswap<
2008 reinterpret_cast<char*
>(&
_impl_.objective_value_),
2009 reinterpret_cast<char*
>(&other->_impl_.objective_value_));
2013 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2024PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
2027 ::std::false_type{});
2028#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< Item >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
void MergeFrom(const Item &from)
::size_t ByteSizeLong() const final
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void CopyFrom(const Item &from)
static constexpr auto InternalGenerateClassData_()
friend void swap(Item &a, Item &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr ::int32_t kHasBitsOffset
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void CopyFrom(const VectorBinPackingOneBinInSolution &from)
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
VectorBinPackingOneBinInSolution()
~VectorBinPackingOneBinInSolution() PROTOBUF_FINAL
void MergeFrom(const VectorBinPackingOneBinInSolution &from)
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
decltype(::std::declval< VectorBinPackingProblem >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
::size_t ByteSizeLong() const final
friend class ::google::protobuf::MessageLite
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalGenerateClassData_()
VectorBinPackingProblem()
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const VectorBinPackingProblem &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void CopyFrom(const VectorBinPackingProblem &from)
friend void swap(VectorBinPackingProblem &a, VectorBinPackingProblem &b)
~VectorBinPackingProblem() PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
~VectorBinPackingSolution() PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const VectorBinPackingSolution &from)
::size_t ByteSizeLong() const final
void MergeFrom(const VectorBinPackingSolution &from)
VectorBinPackingSolution()
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL VectorBinPackingSolveStatus_descriptor()
PROTOBUF_CONSTINIT const uint32_t VectorBinPackingSolveStatus_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull VectorBinPackingSolution_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull Item_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull VectorBinPackingProblem_class_data_
VectorBinPackingSolveStatus
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VectorBinPackingSolutionDefaultTypeInternal _VectorBinPackingSolution_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull VectorBinPackingOneBinInSolution_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ItemDefaultTypeInternal _Item_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VectorBinPackingOneBinInSolutionDefaultTypeInternal _VectorBinPackingOneBinInSolution_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VectorBinPackingProblemDefaultTypeInternal _VectorBinPackingProblem_default_instance_
~ItemDefaultTypeInternal()
PROTOBUF_CONSTEXPR ItemDefaultTypeInternal()
VectorBinPackingOneBinInSolution _instance
PROTOBUF_CONSTEXPR VectorBinPackingOneBinInSolutionDefaultTypeInternal()
~VectorBinPackingOneBinInSolutionDefaultTypeInternal()
PROTOBUF_CONSTEXPR VectorBinPackingProblemDefaultTypeInternal()
~VectorBinPackingProblemDefaultTypeInternal()
VectorBinPackingProblem _instance
PROTOBUF_CONSTEXPR VectorBinPackingSolutionDefaultTypeInternal()
~VectorBinPackingSolutionDefaultTypeInternal()
VectorBinPackingSolution _instance
static const ::_pb::EnumDescriptor *PROTOBUF_NONNULL file_level_enum_descriptors_ortools_2fpacking_2fvector_5fbin_5fpacking_2eproto[1]
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fpacking_2fvector_5fbin_5fpacking_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fpacking_2fvector_5fbin_5fpacking_2eproto
::absl::once_flag descriptor_table_ortools_2fpacking_2fvector_5fbin_5fpacking_2eproto_once
const ::uint32_t TableStruct_ortools_2fpacking_2fvector_5fbin_5fpacking_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)