6#ifndef ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto_2epb_2eh
7#define ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/unknown_field_set.h"
35#include "google/protobuf/port_def.inc"
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto OR_PROTO_DLL
90#if defined(PROTOBUF_CUSTOM_VTABLE)
97 template <
typename =
void>
108 if (
this == &from)
return *
this;
109 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
117 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
118 ABSL_ATTRIBUTE_LIFETIME_BOUND {
119 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
121 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
122 ABSL_ATTRIBUTE_LIFETIME_BOUND {
123 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
126 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
127 return GetDescriptor();
129 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
130 return default_instance().GetMetadata().descriptor;
132 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
133 return default_instance().GetMetadata().reflection;
139 static constexpr int kIndexInFileMessages = 0;
142 if (other ==
this)
return;
143 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
146 ::google::protobuf::internal::GenericSwap(
this, other);
149 void UnsafeArenaSwap(MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL other) {
150 if (other ==
this)
return;
151 ABSL_DCHECK(GetArena() == other->GetArena());
158 return ::google::protobuf::Message::DefaultConstruct<MultipleDimensionsBinPackingShape>(arena);
160 using ::google::protobuf::Message::CopyFrom;
162 using ::google::protobuf::Message::MergeFrom;
166 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
167 const ::google::protobuf::MessageLite& from_msg);
173 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
174 #if defined(PROTOBUF_CUSTOM_VTABLE)
176 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
177 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
178 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
179 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
182 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
183 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
184 ::uint8_t* PROTOBUF_NONNULL target,
185 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
186 return _InternalSerialize(*
this, target, stream);
189 ::size_t ByteSizeLong() const final;
190 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
191 ::uint8_t* PROTOBUF_NONNULL target,
192 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
194 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
197 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
201 template <
typename T>
203 static ::absl::string_view FullMessageName() {
return "operations_research.packing.MultipleDimensionsBinPackingShape"; }
210 *
this = ::std::move(from);
212 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
213 static
void* PROTOBUF_NONNULL PlacementNew_(
214 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
215 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
216 static constexpr auto InternalNewImpl_();
219 static constexpr auto InternalGenerateClassData_();
221 ::
google::protobuf::Metadata GetMetadata() const;
226 kDimensionsFieldNumber = 1,
231 int _internal_dimensions_size()
const;
238 const ::google::protobuf::RepeatedField<::int64_t>&
dimensions()
const;
242 const ::google::protobuf::RepeatedField<::int64_t>& _internal_dimensions()
const;
243 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_dimensions();
249 friend class ::google::protobuf::internal::TcParser;
250 static const ::google::protobuf::internal::TcParseTable<0, 1,
255 friend class ::google::protobuf::MessageLite;
256 friend class ::google::protobuf::Arena;
257 template <
typename T>
258 friend class ::google::protobuf::Arena::InternalHelper;
259 using InternalArenaConstructable_ = void;
260 using DestructorSkippable_ = void;
262 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
263 inline explicit Impl_(
264 ::google::protobuf::internal::InternalVisibility visibility,
265 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
266 inline explicit Impl_(
267 ::google::protobuf::internal::InternalVisibility visibility,
268 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
270 ::google::protobuf::internal::HasBits<1> _has_bits_;
271 ::google::protobuf::internal::CachedSize _cached_size_;
272 ::google::protobuf::RepeatedField<::int64_t> dimensions_;
273 ::google::protobuf::internal::CachedSize _dimensions_cached_byte_size_;
274 PROTOBUF_TSAN_DECLARE_MEMBER
276 union { Impl_ _impl_; };
277 friend struct ::TableStruct_ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto;
289#if defined(PROTOBUF_CUSTOM_VTABLE)
296 template <
typename =
void>
307 if (
this == &from)
return *
this;
308 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
316 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
317 ABSL_ATTRIBUTE_LIFETIME_BOUND {
318 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
320 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
321 ABSL_ATTRIBUTE_LIFETIME_BOUND {
322 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
325 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
326 return GetDescriptor();
328 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
331 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
338 static constexpr int kIndexInFileMessages = 1;
340 inline void Swap(MultipleDimensionsBinPackingItem* PROTOBUF_NONNULL other) {
341 if (other ==
this)
return;
342 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
345 ::google::protobuf::internal::GenericSwap(
this, other);
348 void UnsafeArenaSwap(MultipleDimensionsBinPackingItem* PROTOBUF_NONNULL other) {
349 if (other ==
this)
return;
350 ABSL_DCHECK(GetArena() == other->GetArena());
357 return ::google::protobuf::Message::DefaultConstruct<MultipleDimensionsBinPackingItem>(arena);
359 using ::google::protobuf::Message::CopyFrom;
361 using ::google::protobuf::Message::MergeFrom;
365 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
366 const ::google::protobuf::MessageLite& from_msg);
372 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
373 #if defined(PROTOBUF_CUSTOM_VTABLE)
375 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
377 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
378 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
382 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
383 ::uint8_t* PROTOBUF_NONNULL target,
384 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
385 return _InternalSerialize(*
this, target, stream);
388 ::size_t ByteSizeLong() const final;
389 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
390 ::uint8_t* PROTOBUF_NONNULL target,
391 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
393 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
396 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
400 template <
typename T>
402 static ::absl::string_view FullMessageName() {
return "operations_research.packing.MultipleDimensionsBinPackingItem"; }
409 *
this = ::std::move(from);
411 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
412 static
void* PROTOBUF_NONNULL PlacementNew_(
413 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
414 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
415 static constexpr auto InternalNewImpl_();
418 static constexpr auto InternalGenerateClassData_();
420 ::
google::protobuf::Metadata GetMetadata() const;
425 kShapesFieldNumber = 1,
426 kValueFieldNumber = 2,
431 int _internal_shapes_size()
const;
436 ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>* PROTOBUF_NONNULL
mutable_shapes();
439 const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>& _internal_shapes()
const;
440 ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>* PROTOBUF_NONNULL _internal_mutable_shapes();
442 const ::operations_research::packing::MultipleDimensionsBinPackingShape&
shapes(
int index)
const;
444 const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>&
shapes()
const;
447 ::int64_t
value()
const;
451 ::int64_t _internal_value()
const;
452 void _internal_set_value(::int64_t
value);
458 friend class ::google::protobuf::internal::TcParser;
459 static const ::google::protobuf::internal::TcParseTable<1, 2,
464 friend class ::google::protobuf::MessageLite;
465 friend class ::google::protobuf::Arena;
466 template <
typename T>
467 friend class ::google::protobuf::Arena::InternalHelper;
468 using InternalArenaConstructable_ = void;
469 using DestructorSkippable_ = void;
471 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
472 inline explicit Impl_(
473 ::google::protobuf::internal::InternalVisibility visibility,
474 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
475 inline explicit Impl_(
476 ::google::protobuf::internal::InternalVisibility visibility,
477 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
479 ::google::protobuf::internal::HasBits<1> _has_bits_;
480 ::google::protobuf::internal::CachedSize _cached_size_;
481 ::google::protobuf::RepeatedPtrField< ::operations_research::packing::MultipleDimensionsBinPackingShape > shapes_;
483 PROTOBUF_TSAN_DECLARE_MEMBER
485 union { Impl_ _impl_; };
486 friend struct ::TableStruct_ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto;
498#if defined(PROTOBUF_CUSTOM_VTABLE)
505 template <
typename =
void>
509 inline MultipleDimensionsBinPackingProblem(MultipleDimensionsBinPackingProblem&& from) noexcept
516 if (
this == &from)
return *
this;
517 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
525 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
526 ABSL_ATTRIBUTE_LIFETIME_BOUND {
527 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
530 ABSL_ATTRIBUTE_LIFETIME_BOUND {
531 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
534 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
537 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
540 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
550 if (other ==
this)
return;
551 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
554 ::google::protobuf::internal::GenericSwap(
this, other);
557 void UnsafeArenaSwap(MultipleDimensionsBinPackingProblem* PROTOBUF_NONNULL other) {
558 if (other ==
this)
return;
559 ABSL_DCHECK(GetArena() == other->GetArena());
566 return ::google::protobuf::Message::DefaultConstruct<MultipleDimensionsBinPackingProblem>(arena);
568 using ::google::protobuf::Message::CopyFrom;
570 using ::google::protobuf::Message::MergeFrom;
574 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
575 const ::google::protobuf::MessageLite& from_msg);
581 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
582 #if defined(PROTOBUF_CUSTOM_VTABLE)
584 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
586 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
587 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
591 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
592 ::uint8_t* PROTOBUF_NONNULL target,
593 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
594 return _InternalSerialize(*
this, target, stream);
597 ::size_t ByteSizeLong() const final;
598 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
599 ::uint8_t* PROTOBUF_NONNULL target,
600 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
602 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
605 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
609 template <
typename T>
611 static ::absl::string_view FullMessageName() {
return "operations_research.packing.MultipleDimensionsBinPackingProblem"; }
618 *
this = ::std::move(from);
620 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
621 static
void* PROTOBUF_NONNULL PlacementNew_(
622 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
623 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
624 static constexpr auto InternalNewImpl_();
627 static constexpr auto InternalGenerateClassData_();
629 ::
google::protobuf::Metadata GetMetadata() const;
634 kItemsFieldNumber = 2,
635 kBoxShapeFieldNumber = 1,
640 int _internal_items_size()
const;
645 ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>* PROTOBUF_NONNULL
mutable_items();
648 const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>& _internal_items()
const;
649 ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>* PROTOBUF_NONNULL _internal_mutable_items();
651 const ::operations_research::packing::MultipleDimensionsBinPackingItem&
items(
int index)
const;
653 const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>&
items()
const;
657 const ::operations_research::packing::MultipleDimensionsBinPackingShape&
box_shape()
const;
665 const ::operations_research::packing::MultipleDimensionsBinPackingShape& _internal_box_shape()
const;
672 friend class ::google::protobuf::internal::TcParser;
673 static const ::google::protobuf::internal::TcParseTable<1, 2,
678 friend class ::google::protobuf::MessageLite;
679 friend class ::google::protobuf::Arena;
680 template <
typename T>
681 friend class ::google::protobuf::Arena::InternalHelper;
682 using InternalArenaConstructable_ = void;
683 using DestructorSkippable_ = void;
685 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
686 inline explicit Impl_(
687 ::google::protobuf::internal::InternalVisibility visibility,
688 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
689 inline explicit Impl_(
690 ::google::protobuf::internal::InternalVisibility visibility,
691 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
693 ::google::protobuf::internal::HasBits<1> _has_bits_;
694 ::google::protobuf::internal::CachedSize _cached_size_;
695 ::google::protobuf::RepeatedPtrField< ::operations_research::packing::MultipleDimensionsBinPackingItem > items_;
697 PROTOBUF_TSAN_DECLARE_MEMBER
699 union { Impl_ _impl_; };
700 friend struct ::TableStruct_ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto;
714#pragma GCC diagnostic push
715#pragma GCC diagnostic ignored "-Wstrict-aliasing"
722inline int MultipleDimensionsBinPackingShape::_internal_dimensions_size()
const {
723 return _internal_dimensions().size();
726 return _internal_dimensions_size();
729 ::google::protobuf::internal::TSanWrite(&
_impl_);
730 _impl_.dimensions_.Clear();
731 ClearHasBitForRepeated(
_impl_._has_bits_[0],
736 return _internal_dimensions().Get(index);
739 _internal_mutable_dimensions()->Set(index, value);
743 ::google::protobuf::internal::TSanWrite(&
_impl_);
744 _internal_mutable_dimensions()->Add(value);
745 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
749 ABSL_ATTRIBUTE_LIFETIME_BOUND {
751 return _internal_dimensions();
754 ABSL_ATTRIBUTE_LIFETIME_BOUND {
755 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
757 ::google::protobuf::internal::TSanWrite(&
_impl_);
758 return _internal_mutable_dimensions();
760inline const ::google::protobuf::RepeatedField<::int64_t>&
761MultipleDimensionsBinPackingShape::_internal_dimensions()
const {
762 ::google::protobuf::internal::TSanRead(&
_impl_);
763 return _impl_.dimensions_;
765inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
766MultipleDimensionsBinPackingShape::_internal_mutable_dimensions() {
767 ::google::protobuf::internal::TSanRead(&
_impl_);
768 return &
_impl_.dimensions_;
776inline int MultipleDimensionsBinPackingItem::_internal_shapes_size()
const {
777 return _internal_shapes().size();
780 return _internal_shapes_size();
783 ::google::protobuf::internal::TSanWrite(&
_impl_);
785 ClearHasBitForRepeated(
_impl_._has_bits_[0],
789 ABSL_ATTRIBUTE_LIFETIME_BOUND {
791 return _internal_mutable_shapes()->Mutable(index);
794 ABSL_ATTRIBUTE_LIFETIME_BOUND {
795 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
797 ::google::protobuf::internal::TSanWrite(&
_impl_);
798 return _internal_mutable_shapes();
801 ABSL_ATTRIBUTE_LIFETIME_BOUND {
803 return _internal_shapes().Get(index);
806 ABSL_ATTRIBUTE_LIFETIME_BOUND {
807 ::google::protobuf::internal::TSanWrite(&
_impl_);
809 _internal_mutable_shapes()->InternalAddWithArena(
810 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
811 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
816 ABSL_ATTRIBUTE_LIFETIME_BOUND {
818 return _internal_shapes();
820inline const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>&
821MultipleDimensionsBinPackingItem::_internal_shapes()
const {
822 ::google::protobuf::internal::TSanRead(&
_impl_);
825inline ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>* PROTOBUF_NONNULL
826MultipleDimensionsBinPackingItem::_internal_mutable_shapes() {
827 ::google::protobuf::internal::TSanRead(&
_impl_);
833 ::google::protobuf::internal::TSanWrite(&
_impl_);
834 _impl_.value_ = ::int64_t{0};
835 ClearHasBit(
_impl_._has_bits_[0],
840 return _internal_value();
843 _internal_set_value(
value);
844 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
847inline ::int64_t MultipleDimensionsBinPackingItem::_internal_value()
const {
848 ::google::protobuf::internal::TSanRead(&
_impl_);
851inline void MultipleDimensionsBinPackingItem::_internal_set_value(::int64_t value) {
852 ::google::protobuf::internal::TSanWrite(&
_impl_);
862 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000002U);
863 PROTOBUF_ASSUME(!value ||
_impl_.box_shape_ !=
nullptr);
867 ::google::protobuf::internal::TSanWrite(&
_impl_);
869 ClearHasBit(
_impl_._has_bits_[0],
872inline const ::operations_research::packing::MultipleDimensionsBinPackingShape& MultipleDimensionsBinPackingProblem::_internal_box_shape()
const {
873 ::google::protobuf::internal::TSanRead(&
_impl_);
874 const ::operations_research::packing::MultipleDimensionsBinPackingShape* p =
_impl_.box_shape_;
879 return _internal_box_shape();
883 ::google::protobuf::internal::TSanWrite(&
_impl_);
884 if (GetArena() ==
nullptr) {
885 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.box_shape_);
888 if (value !=
nullptr) {
889 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
891 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
896 ::google::protobuf::internal::TSanWrite(&
_impl_);
898 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
900 _impl_.box_shape_ =
nullptr;
901 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
902 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
903 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
904 if (GetArena() ==
nullptr) {
908 if (GetArena() !=
nullptr) {
909 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
915 ::google::protobuf::internal::TSanWrite(&
_impl_);
918 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
919 ::operations_research::packing::MultipleDimensionsBinPackingShape* temp =
_impl_.box_shape_;
920 _impl_.box_shape_ =
nullptr;
923inline ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL MultipleDimensionsBinPackingProblem::_internal_mutable_box_shape() {
924 ::google::protobuf::internal::TSanWrite(&
_impl_);
925 if (
_impl_.box_shape_ ==
nullptr) {
926 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::packing::MultipleDimensionsBinPackingShape>(GetArena());
932 ABSL_ATTRIBUTE_LIFETIME_BOUND {
933 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
939 ::google::protobuf::Arena* message_arena = GetArena();
940 ::google::protobuf::internal::TSanWrite(&
_impl_);
941 if (message_arena ==
nullptr) {
942 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.box_shape_);
945 if (value !=
nullptr) {
946 ::google::protobuf::Arena* submessage_arena = value->GetArena();
947 if (message_arena != submessage_arena) {
948 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
950 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
952 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
960inline int MultipleDimensionsBinPackingProblem::_internal_items_size()
const {
961 return _internal_items().size();
964 return _internal_items_size();
967 ::google::protobuf::internal::TSanWrite(&
_impl_);
969 ClearHasBitForRepeated(
_impl_._has_bits_[0],
973 ABSL_ATTRIBUTE_LIFETIME_BOUND {
975 return _internal_mutable_items()->Mutable(index);
978 ABSL_ATTRIBUTE_LIFETIME_BOUND {
979 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
981 ::google::protobuf::internal::TSanWrite(&
_impl_);
982 return _internal_mutable_items();
985 ABSL_ATTRIBUTE_LIFETIME_BOUND {
987 return _internal_items().Get(index);
990 ABSL_ATTRIBUTE_LIFETIME_BOUND {
991 ::google::protobuf::internal::TSanWrite(&
_impl_);
993 _internal_mutable_items()->InternalAddWithArena(
994 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
995 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
1000 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1002 return _internal_items();
1004inline const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>&
1005MultipleDimensionsBinPackingProblem::_internal_items()
const {
1006 ::google::protobuf::internal::TSanRead(&
_impl_);
1009inline ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>* PROTOBUF_NONNULL
1010MultipleDimensionsBinPackingProblem::_internal_mutable_items() {
1011 ::google::protobuf::internal::TSanRead(&
_impl_);
1016#pragma GCC diagnostic pop
1026#include "google/protobuf/port_undef.inc"
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape > *PROTOBUF_NONNULL mutable_shapes()
void Swap(MultipleDimensionsBinPackingItem *PROTOBUF_NONNULL other)
void set_value(::int64_t value)
bool IsInitialized() const
MultipleDimensionsBinPackingItem & operator=(const MultipleDimensionsBinPackingItem &from)
const ::operations_research::packing::MultipleDimensionsBinPackingShape & shapes(int index) const
void MergeFrom(const MultipleDimensionsBinPackingItem &from)
::size_t ByteSizeLong() const final
::operations_research::packing::MultipleDimensionsBinPackingShape *PROTOBUF_NONNULL add_shapes()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::operations_research::packing::MultipleDimensionsBinPackingShape *PROTOBUF_NONNULL mutable_shapes(int index)
PROTOBUF_CONSTEXPR MultipleDimensionsBinPackingItem(::google::protobuf::internal::ConstantInitialized)
void CopyFrom(const MultipleDimensionsBinPackingItem &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape > & shapes() const
MultipleDimensionsBinPackingItem()
static const MultipleDimensionsBinPackingItem & default_instance()
::operations_research::packing::MultipleDimensionsBinPackingItem *PROTOBUF_NONNULL add_items()
friend class ::google::protobuf::MessageLite
const ::operations_research::packing::MultipleDimensionsBinPackingShape & box_shape() const
void set_allocated_box_shape(::operations_research::packing::MultipleDimensionsBinPackingShape *PROTOBUF_NULLABLE value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::operations_research::packing::MultipleDimensionsBinPackingShape *PROTOBUF_NULLABLE unsafe_arena_release_box_shape()
void Swap(MultipleDimensionsBinPackingProblem *PROTOBUF_NONNULL other)
::operations_research::packing::MultipleDimensionsBinPackingShape *PROTOBUF_NONNULL mutable_box_shape()
void MergeFrom(const MultipleDimensionsBinPackingProblem &from)
PROTOBUF_CONSTEXPR MultipleDimensionsBinPackingProblem(::google::protobuf::internal::ConstantInitialized)
bool has_box_shape() const
static const MultipleDimensionsBinPackingProblem & default_instance()
MultipleDimensionsBinPackingProblem & operator=(const MultipleDimensionsBinPackingProblem &from)
::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem > *PROTOBUF_NONNULL mutable_items()
::operations_research::packing::MultipleDimensionsBinPackingShape *PROTOBUF_NULLABLE release_box_shape()
const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem > & items() const
void unsafe_arena_set_allocated_box_shape(::operations_research::packing::MultipleDimensionsBinPackingShape *PROTOBUF_NULLABLE value)
friend void swap(MultipleDimensionsBinPackingProblem &a, MultipleDimensionsBinPackingProblem &b)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr int kIndexInFileMessages
void CopyFrom(const MultipleDimensionsBinPackingProblem &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
bool IsInitialized() const
const ::operations_research::packing::MultipleDimensionsBinPackingItem & items(int index) const
::operations_research::packing::MultipleDimensionsBinPackingItem *PROTOBUF_NONNULL mutable_items(int index)
MultipleDimensionsBinPackingProblem()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend class ::google::protobuf::MessageLite
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_dimensions()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::int64_t dimensions(int index) const
MultipleDimensionsBinPackingShape & operator=(const MultipleDimensionsBinPackingShape &from)
void CopyFrom(const MultipleDimensionsBinPackingShape &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::RepeatedField<::int64_t > & dimensions() const
int dimensions_size() const
void Swap(MultipleDimensionsBinPackingShape *PROTOBUF_NONNULL other)
MultipleDimensionsBinPackingShape(const MultipleDimensionsBinPackingShape &from)
void add_dimensions(::int64_t value)
bool IsInitialized() const
MultipleDimensionsBinPackingShape()
void set_dimensions(int index, ::int64_t value)
PROTOBUF_CONSTEXPR MultipleDimensionsBinPackingShape(::google::protobuf::internal::ConstantInitialized)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto
::absl::string_view GetAnyMessageName()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MultipleDimensionsBinPackingShape_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MultipleDimensionsBinPackingProblem_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MultipleDimensionsBinPackingItemDefaultTypeInternal _MultipleDimensionsBinPackingItem_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MultipleDimensionsBinPackingShapeDefaultTypeInternal _MultipleDimensionsBinPackingShape_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MultipleDimensionsBinPackingItem_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MultipleDimensionsBinPackingProblemDefaultTypeInternal _MultipleDimensionsBinPackingProblem_default_instance_