Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
multiple_dimensions_bin_packing.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/packing/multiple_dimensions_bin_packing.proto
4// Protobuf C++ Version: 6.31.1
5
6#ifndef ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto_2epb_2eh
7#define ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto_2epb_2eh
8
9#include <limits>
10#include <string>
11#include <type_traits>
12#include <utility>
13
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
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"
19#endif
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" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/unknown_field_set.h"
32// @@protoc_insertion_point(includes)
33
34// Must be included last.
35#include "google/protobuf/port_def.inc"
36
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto OR_PROTO_DLL
38
39namespace google {
40namespace protobuf {
41namespace internal {
42template <typename T>
43::absl::string_view GetAnyMessageName();
44} // namespace internal
45} // namespace protobuf
46} // namespace google
47
48// Internal implementation detail -- do not use these members.
52extern "C" {
53OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto;
54} // extern "C"
55namespace operations_research {
56namespace packing {
60OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull MultipleDimensionsBinPackingItem_class_data_;
64OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull MultipleDimensionsBinPackingProblem_class_data_;
68OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull MultipleDimensionsBinPackingShape_class_data_;
69} // namespace packing
70} // namespace operations_research
71namespace google {
72namespace protobuf {
73} // namespace protobuf
74} // namespace google
75
76namespace operations_research {
77namespace packing {
78
79// ===================================================================
80
81
82// -------------------------------------------------------------------
83
84class OR_PROTO_DLL MultipleDimensionsBinPackingShape final : public ::google::protobuf::Message
85/* @@protoc_insertion_point(class_definition:operations_research.packing.MultipleDimensionsBinPackingShape) */ {
86 public:
90#if defined(PROTOBUF_CUSTOM_VTABLE)
91 void operator delete(MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
92 SharedDtor(*msg);
93 ::google::protobuf::internal::SizedDelete(msg, sizeof(MultipleDimensionsBinPackingShape));
94 }
95#endif
96
97 template <typename = void>
98 explicit PROTOBUF_CONSTEXPR MultipleDimensionsBinPackingShape(::google::protobuf::internal::ConstantInitialized);
99
102 : MultipleDimensionsBinPackingShape(nullptr, ::std::move(from)) {}
105 return *this;
106 }
108 if (this == &from) return *this;
109 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
110 InternalSwap(&from);
111 } else {
112 CopyFrom(from);
113 }
114 return *this;
115 }
116
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);
120 }
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>();
124 }
125
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;
135 static const MultipleDimensionsBinPackingShape& default_instance() {
136 return *reinterpret_cast<const MultipleDimensionsBinPackingShape*>(
138 }
139 static constexpr int kIndexInFileMessages = 0;
141 inline void Swap(MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL other) {
142 if (other == this) return;
143 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
144 InternalSwap(other);
145 } else {
146 ::google::protobuf::internal::GenericSwap(this, other);
147 }
148 }
149 void UnsafeArenaSwap(MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL other) {
150 if (other == this) return;
151 ABSL_DCHECK(GetArena() == other->GetArena());
152 InternalSwap(other);
153 }
154
155 // implements Message ----------------------------------------------
156
157 MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
158 return ::google::protobuf::Message::DefaultConstruct<MultipleDimensionsBinPackingShape>(arena);
160 using ::google::protobuf::Message::CopyFrom;
161 void CopyFrom(const MultipleDimensionsBinPackingShape& from);
162 using ::google::protobuf::Message::MergeFrom;
163 void MergeFrom(const MultipleDimensionsBinPackingShape& from) { MultipleDimensionsBinPackingShape::MergeImpl(*this, from); }
164
165 private:
166 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
167 const ::google::protobuf::MessageLite& from_msg);
168
169 public:
170 bool IsInitialized() const {
171 return true;
173 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
174 #if defined(PROTOBUF_CUSTOM_VTABLE)
175 private:
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);
180
181 public:
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);
187 }
188 #else // PROTOBUF_CUSTOM_VTABLE
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;
193 #endif // PROTOBUF_CUSTOM_VTABLE
194 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
195
196 private:
197 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
198 static void SharedDtor(MessageLite& self);
199 void InternalSwap(MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL other);
200 private:
201 template <typename T>
202 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
203 static ::absl::string_view FullMessageName() { return "operations_research.packing.MultipleDimensionsBinPackingShape"; }
204
205 protected:
206 explicit MultipleDimensionsBinPackingShape(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
207 MultipleDimensionsBinPackingShape(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MultipleDimensionsBinPackingShape& from);
209 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MultipleDimensionsBinPackingShape&& from) noexcept
211 *this = ::std::move(from);
212 }
213 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
214 static void* PROTOBUF_NONNULL PlacementNew_(
215 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
216 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
217 static constexpr auto InternalNewImpl_();
218
219 public:
220 static constexpr auto InternalGenerateClassData_();
221
222 ::google::protobuf::Metadata GetMetadata() const;
223 // nested types ----------------------------------------------------
224
225 // accessors -------------------------------------------------------
226 enum : int {
227 kDimensionsFieldNumber = 1,
228 };
229 // repeated int64 dimensions = 1;
230 int dimensions_size() const;
231 private:
232 int _internal_dimensions_size() const;
233
234 public:
235 void clear_dimensions() ;
236 ::int64_t dimensions(int index) const;
237 void set_dimensions(int index, ::int64_t value);
238 void add_dimensions(::int64_t value);
239 const ::google::protobuf::RepeatedField<::int64_t>& dimensions() const;
240 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_dimensions();
241
242 private:
243 const ::google::protobuf::RepeatedField<::int64_t>& _internal_dimensions() const;
244 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_dimensions();
245
246 public:
247 // @@protoc_insertion_point(class_scope:operations_research.packing.MultipleDimensionsBinPackingShape)
248 private:
249 class _Internal;
250 friend class ::google::protobuf::internal::TcParser;
251 static const ::google::protobuf::internal::TcParseTable<0, 1,
252 0, 0,
253 2>
254 _table_;
255
256 friend class ::google::protobuf::MessageLite;
257 friend class ::google::protobuf::Arena;
258 template <typename T>
259 friend class ::google::protobuf::Arena::InternalHelper;
260 using InternalArenaConstructable_ = void;
261 using DestructorSkippable_ = void;
262 struct Impl_ {
263 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
264 inline explicit Impl_(
265 ::google::protobuf::internal::InternalVisibility visibility,
266 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
267 inline explicit Impl_(
268 ::google::protobuf::internal::InternalVisibility visibility,
269 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
270 const MultipleDimensionsBinPackingShape& from_msg);
271 ::google::protobuf::RepeatedField<::int64_t> dimensions_;
272 ::google::protobuf::internal::CachedSize _dimensions_cached_byte_size_;
273 ::google::protobuf::internal::CachedSize _cached_size_;
274 PROTOBUF_TSAN_DECLARE_MEMBER
275 };
276 union { Impl_ _impl_; };
277 friend struct ::TableStruct_ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto;
280OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull MultipleDimensionsBinPackingShape_class_data_;
281// -------------------------------------------------------------------
282
283class OR_PROTO_DLL MultipleDimensionsBinPackingItem final : public ::google::protobuf::Message
284/* @@protoc_insertion_point(class_definition:operations_research.packing.MultipleDimensionsBinPackingItem) */ {
285 public:
287 ~MultipleDimensionsBinPackingItem() PROTOBUF_FINAL;
288
289#if defined(PROTOBUF_CUSTOM_VTABLE)
290 void operator delete(MultipleDimensionsBinPackingItem* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
291 SharedDtor(*msg);
292 ::google::protobuf::internal::SizedDelete(msg, sizeof(MultipleDimensionsBinPackingItem));
293 }
294#endif
295
296 template <typename = void>
297 explicit PROTOBUF_CONSTEXPR MultipleDimensionsBinPackingItem(::google::protobuf::internal::ConstantInitialized);
298
301 : MultipleDimensionsBinPackingItem(nullptr, ::std::move(from)) {}
303 CopyFrom(from);
304 return *this;
306 inline MultipleDimensionsBinPackingItem& operator=(MultipleDimensionsBinPackingItem&& from) noexcept {
307 if (this == &from) return *this;
308 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
309 InternalSwap(&from);
310 } else {
311 CopyFrom(from);
312 }
313 return *this;
314 }
315
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>();
324
325 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
326 return GetDescriptor();
327 }
328 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
329 return default_instance().GetMetadata().descriptor;
330 }
331 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
332 return default_instance().GetMetadata().reflection;
333 }
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())) {
343 InternalSwap(other);
344 } else {
345 ::google::protobuf::internal::GenericSwap(this, other);
346 }
347 }
348 void UnsafeArenaSwap(MultipleDimensionsBinPackingItem* PROTOBUF_NONNULL other) {
349 if (other == this) return;
350 ABSL_DCHECK(GetArena() == other->GetArena());
351 InternalSwap(other);
352 }
353
354 // implements Message ----------------------------------------------
355
356 MultipleDimensionsBinPackingItem* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
357 return ::google::protobuf::Message::DefaultConstruct<MultipleDimensionsBinPackingItem>(arena);
358 }
359 using ::google::protobuf::Message::CopyFrom;
361 using ::google::protobuf::Message::MergeFrom;
362 void MergeFrom(const MultipleDimensionsBinPackingItem& from) { MultipleDimensionsBinPackingItem::MergeImpl(*this, from); }
363
364 private:
365 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
366 const ::google::protobuf::MessageLite& from_msg);
367
368 public:
369 bool IsInitialized() const {
370 return true;
371 }
372 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
373 #if defined(PROTOBUF_CUSTOM_VTABLE)
374 private:
375 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
376 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
377 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
378 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
379
380 public:
381 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
386 }
387 #else // PROTOBUF_CUSTOM_VTABLE
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;
392 #endif // PROTOBUF_CUSTOM_VTABLE
393 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
394
395 private:
396 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
397 static void SharedDtor(MessageLite& self);
398 void InternalSwap(MultipleDimensionsBinPackingItem* PROTOBUF_NONNULL other);
399 private:
400 template <typename T>
401 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
402 static ::absl::string_view FullMessageName() { return "operations_research.packing.MultipleDimensionsBinPackingItem"; }
403
404 protected:
405 explicit MultipleDimensionsBinPackingItem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
406 MultipleDimensionsBinPackingItem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MultipleDimensionsBinPackingItem& from);
408 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MultipleDimensionsBinPackingItem&& from) noexcept
410 *this = ::std::move(from);
411 }
412 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
413 static void* PROTOBUF_NONNULL PlacementNew_(
414 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
415 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
416 static constexpr auto InternalNewImpl_();
417
418 public:
419 static constexpr auto InternalGenerateClassData_();
420
421 ::google::protobuf::Metadata GetMetadata() const;
422 // nested types ----------------------------------------------------
423
424 // accessors -------------------------------------------------------
425 enum : int {
426 kShapesFieldNumber = 1,
427 kValueFieldNumber = 2,
428 };
429 // repeated .operations_research.packing.MultipleDimensionsBinPackingShape shapes = 1;
430 int shapes_size() const;
431 private:
432 int _internal_shapes_size() const;
433
434 public:
435 void clear_shapes() ;
437 ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>* PROTOBUF_NONNULL mutable_shapes();
438
439 private:
440 const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>& _internal_shapes() const;
441 ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>* PROTOBUF_NONNULL _internal_mutable_shapes();
442 public:
443 const ::operations_research::packing::MultipleDimensionsBinPackingShape& shapes(int index) const;
445 const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>& shapes() const;
446 // int64 value = 2;
447 void clear_value() ;
448 ::int64_t value() const;
449 void set_value(::int64_t value);
450
451 private:
452 ::int64_t _internal_value() const;
453 void _internal_set_value(::int64_t value);
454
455 public:
456 // @@protoc_insertion_point(class_scope:operations_research.packing.MultipleDimensionsBinPackingItem)
457 private:
458 class _Internal;
459 friend class ::google::protobuf::internal::TcParser;
460 static const ::google::protobuf::internal::TcParseTable<1, 2,
461 1, 0,
462 2>
463 _table_;
464
465 friend class ::google::protobuf::MessageLite;
466 friend class ::google::protobuf::Arena;
467 template <typename T>
468 friend class ::google::protobuf::Arena::InternalHelper;
469 using InternalArenaConstructable_ = void;
470 using DestructorSkippable_ = void;
471 struct Impl_ {
472 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
473 inline explicit Impl_(
474 ::google::protobuf::internal::InternalVisibility visibility,
475 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
476 inline explicit Impl_(
477 ::google::protobuf::internal::InternalVisibility visibility,
478 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
479 const MultipleDimensionsBinPackingItem& from_msg);
480 ::google::protobuf::internal::HasBits<1> _has_bits_;
481 ::google::protobuf::internal::CachedSize _cached_size_;
482 ::google::protobuf::RepeatedPtrField< ::operations_research::packing::MultipleDimensionsBinPackingShape > shapes_;
483 ::int64_t value_;
484 PROTOBUF_TSAN_DECLARE_MEMBER
485 };
486 union { Impl_ _impl_; };
487 friend struct ::TableStruct_ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto;
488};
490OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull MultipleDimensionsBinPackingItem_class_data_;
491// -------------------------------------------------------------------
492
493class OR_PROTO_DLL MultipleDimensionsBinPackingProblem final : public ::google::protobuf::Message
494/* @@protoc_insertion_point(class_definition:operations_research.packing.MultipleDimensionsBinPackingProblem) */ {
495 public:
498
499#if defined(PROTOBUF_CUSTOM_VTABLE)
500 void operator delete(MultipleDimensionsBinPackingProblem* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
501 SharedDtor(*msg);
502 ::google::protobuf::internal::SizedDelete(msg, sizeof(MultipleDimensionsBinPackingProblem));
503 }
504#endif
505
506 template <typename = void>
507 explicit PROTOBUF_CONSTEXPR MultipleDimensionsBinPackingProblem(::google::protobuf::internal::ConstantInitialized);
508
510 inline MultipleDimensionsBinPackingProblem(MultipleDimensionsBinPackingProblem&& from) noexcept
511 : MultipleDimensionsBinPackingProblem(nullptr, ::std::move(from)) {}
513 CopyFrom(from);
514 return *this;
515 }
517 if (this == &from) return *this;
518 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
519 InternalSwap(&from);
520 } else {
521 CopyFrom(from);
522 }
523 return *this;
524 }
525
526 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
527 ABSL_ATTRIBUTE_LIFETIME_BOUND {
528 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
529 }
530 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
531 ABSL_ATTRIBUTE_LIFETIME_BOUND {
532 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
533 }
535 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
536 return GetDescriptor();
537 }
538 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
539 return default_instance().GetMetadata().descriptor;
540 }
541 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
542 return default_instance().GetMetadata().reflection;
543 }
544 static const MultipleDimensionsBinPackingProblem& default_instance() {
548 static constexpr int kIndexInFileMessages = 2;
550 inline void Swap(MultipleDimensionsBinPackingProblem* PROTOBUF_NONNULL other) {
551 if (other == this) return;
552 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
553 InternalSwap(other);
554 } else {
555 ::google::protobuf::internal::GenericSwap(this, other);
556 }
557 }
558 void UnsafeArenaSwap(MultipleDimensionsBinPackingProblem* PROTOBUF_NONNULL other) {
559 if (other == this) return;
560 ABSL_DCHECK(GetArena() == other->GetArena());
561 InternalSwap(other);
563
564 // implements Message ----------------------------------------------
565
566 MultipleDimensionsBinPackingProblem* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
567 return ::google::protobuf::Message::DefaultConstruct<MultipleDimensionsBinPackingProblem>(arena);
568 }
569 using ::google::protobuf::Message::CopyFrom;
571 using ::google::protobuf::Message::MergeFrom;
572 void MergeFrom(const MultipleDimensionsBinPackingProblem& from) { MultipleDimensionsBinPackingProblem::MergeImpl(*this, from); }
573
574 private:
575 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
576 const ::google::protobuf::MessageLite& from_msg);
577
578 public:
579 bool IsInitialized() const {
580 return true;
581 }
582 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
583 #if defined(PROTOBUF_CUSTOM_VTABLE)
584 private:
585 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
586 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
587 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
588 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
589
590 public:
591 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
592 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
593 ::uint8_t* PROTOBUF_NONNULL target,
594 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
595 return _InternalSerialize(*this, target, stream);
596 }
597 #else // PROTOBUF_CUSTOM_VTABLE
598 ::size_t ByteSizeLong() const final;
599 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
600 ::uint8_t* PROTOBUF_NONNULL target,
601 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
602 #endif // PROTOBUF_CUSTOM_VTABLE
603 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
604
605 private:
606 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
607 static void SharedDtor(MessageLite& self);
608 void InternalSwap(MultipleDimensionsBinPackingProblem* PROTOBUF_NONNULL other);
609 private:
610 template <typename T>
611 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
612 static ::absl::string_view FullMessageName() { return "operations_research.packing.MultipleDimensionsBinPackingProblem"; }
613
614 protected:
615 explicit MultipleDimensionsBinPackingProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
616 MultipleDimensionsBinPackingProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MultipleDimensionsBinPackingProblem& from);
618 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MultipleDimensionsBinPackingProblem&& from) noexcept
620 *this = ::std::move(from);
622 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
623 static void* PROTOBUF_NONNULL PlacementNew_(
624 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
625 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
626 static constexpr auto InternalNewImpl_();
627
628 public:
629 static constexpr auto InternalGenerateClassData_();
630
631 ::google::protobuf::Metadata GetMetadata() const;
632 // nested types ----------------------------------------------------
633
634 // accessors -------------------------------------------------------
635 enum : int {
636 kItemsFieldNumber = 2,
637 kBoxShapeFieldNumber = 1,
638 };
639 // repeated .operations_research.packing.MultipleDimensionsBinPackingItem items = 2;
640 int items_size() const;
641 private:
642 int _internal_items_size() const;
643
644 public:
645 void clear_items() ;
647 ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>* PROTOBUF_NONNULL mutable_items();
648
649 private:
650 const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>& _internal_items() const;
651 ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>* PROTOBUF_NONNULL _internal_mutable_items();
652 public:
653 const ::operations_research::packing::MultipleDimensionsBinPackingItem& items(int index) const;
655 const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>& items() const;
656 // .operations_research.packing.MultipleDimensionsBinPackingShape box_shape = 1;
657 bool has_box_shape() const;
658 void clear_box_shape() ;
659 const ::operations_research::packing::MultipleDimensionsBinPackingShape& box_shape() const;
665
666 private:
667 const ::operations_research::packing::MultipleDimensionsBinPackingShape& _internal_box_shape() const;
668 ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL _internal_mutable_box_shape();
669
670 public:
671 // @@protoc_insertion_point(class_scope:operations_research.packing.MultipleDimensionsBinPackingProblem)
672 private:
673 class _Internal;
674 friend class ::google::protobuf::internal::TcParser;
675 static const ::google::protobuf::internal::TcParseTable<1, 2,
676 2, 0,
677 2>
678 _table_;
679
680 friend class ::google::protobuf::MessageLite;
681 friend class ::google::protobuf::Arena;
682 template <typename T>
683 friend class ::google::protobuf::Arena::InternalHelper;
684 using InternalArenaConstructable_ = void;
685 using DestructorSkippable_ = void;
686 struct Impl_ {
687 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
688 inline explicit Impl_(
689 ::google::protobuf::internal::InternalVisibility visibility,
690 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
691 inline explicit Impl_(
692 ::google::protobuf::internal::InternalVisibility visibility,
693 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
695 ::google::protobuf::internal::HasBits<1> _has_bits_;
696 ::google::protobuf::internal::CachedSize _cached_size_;
697 ::google::protobuf::RepeatedPtrField< ::operations_research::packing::MultipleDimensionsBinPackingItem > items_;
699 PROTOBUF_TSAN_DECLARE_MEMBER
700 };
701 union { Impl_ _impl_; };
702 friend struct ::TableStruct_ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto;
703};
704
705OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull MultipleDimensionsBinPackingProblem_class_data_;
707// ===================================================================
708
709
710
711
712// ===================================================================
713
714
715#ifdef __GNUC__
716#pragma GCC diagnostic push
717#pragma GCC diagnostic ignored "-Wstrict-aliasing"
718#endif // __GNUC__
719// -------------------------------------------------------------------
720
721// MultipleDimensionsBinPackingShape
722
723// repeated int64 dimensions = 1;
724inline int MultipleDimensionsBinPackingShape::_internal_dimensions_size() const {
725 return _internal_dimensions().size();
726}
728 return _internal_dimensions_size();
729}
731 ::google::protobuf::internal::TSanWrite(&_impl_);
732 _impl_.dimensions_.Clear();
733}
734inline ::int64_t MultipleDimensionsBinPackingShape::dimensions(int index) const {
735 // @@protoc_insertion_point(field_get:operations_research.packing.MultipleDimensionsBinPackingShape.dimensions)
736 return _internal_dimensions().Get(index);
738inline void MultipleDimensionsBinPackingShape::set_dimensions(int index, ::int64_t value) {
739 _internal_mutable_dimensions()->Set(index, value);
740 // @@protoc_insertion_point(field_set:operations_research.packing.MultipleDimensionsBinPackingShape.dimensions)
742inline void MultipleDimensionsBinPackingShape::add_dimensions(::int64_t value) {
743 ::google::protobuf::internal::TSanWrite(&_impl_);
744 _internal_mutable_dimensions()->Add(value);
745 // @@protoc_insertion_point(field_add:operations_research.packing.MultipleDimensionsBinPackingShape.dimensions)
746}
747inline const ::google::protobuf::RepeatedField<::int64_t>& MultipleDimensionsBinPackingShape::dimensions() const
748 ABSL_ATTRIBUTE_LIFETIME_BOUND {
749 // @@protoc_insertion_point(field_list:operations_research.packing.MultipleDimensionsBinPackingShape.dimensions)
750 return _internal_dimensions();
751}
752inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL MultipleDimensionsBinPackingShape::mutable_dimensions()
753 ABSL_ATTRIBUTE_LIFETIME_BOUND {
754 // @@protoc_insertion_point(field_mutable_list:operations_research.packing.MultipleDimensionsBinPackingShape.dimensions)
755 ::google::protobuf::internal::TSanWrite(&_impl_);
756 return _internal_mutable_dimensions();
757}
758inline const ::google::protobuf::RepeatedField<::int64_t>&
759MultipleDimensionsBinPackingShape::_internal_dimensions() const {
760 ::google::protobuf::internal::TSanRead(&_impl_);
761 return _impl_.dimensions_;
762}
763inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
764MultipleDimensionsBinPackingShape::_internal_mutable_dimensions() {
765 ::google::protobuf::internal::TSanRead(&_impl_);
766 return &_impl_.dimensions_;
767}
768
769// -------------------------------------------------------------------
770
771// MultipleDimensionsBinPackingItem
772
773// repeated .operations_research.packing.MultipleDimensionsBinPackingShape shapes = 1;
774inline int MultipleDimensionsBinPackingItem::_internal_shapes_size() const {
775 return _internal_shapes().size();
776}
778 return _internal_shapes_size();
779}
781 ::google::protobuf::internal::TSanWrite(&_impl_);
782 _impl_.shapes_.Clear();
783}
784inline ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL MultipleDimensionsBinPackingItem::mutable_shapes(int index)
785 ABSL_ATTRIBUTE_LIFETIME_BOUND {
786 // @@protoc_insertion_point(field_mutable:operations_research.packing.MultipleDimensionsBinPackingItem.shapes)
787 return _internal_mutable_shapes()->Mutable(index);
789inline ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>* PROTOBUF_NONNULL MultipleDimensionsBinPackingItem::mutable_shapes()
790 ABSL_ATTRIBUTE_LIFETIME_BOUND {
791 // @@protoc_insertion_point(field_mutable_list:operations_research.packing.MultipleDimensionsBinPackingItem.shapes)
792 ::google::protobuf::internal::TSanWrite(&_impl_);
793 return _internal_mutable_shapes();
794}
795inline const ::operations_research::packing::MultipleDimensionsBinPackingShape& MultipleDimensionsBinPackingItem::shapes(int index) const
796 ABSL_ATTRIBUTE_LIFETIME_BOUND {
797 // @@protoc_insertion_point(field_get:operations_research.packing.MultipleDimensionsBinPackingItem.shapes)
798 return _internal_shapes().Get(index);
799}
800inline ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL MultipleDimensionsBinPackingItem::add_shapes()
801 ABSL_ATTRIBUTE_LIFETIME_BOUND {
802 ::google::protobuf::internal::TSanWrite(&_impl_);
804 // @@protoc_insertion_point(field_add:operations_research.packing.MultipleDimensionsBinPackingItem.shapes)
805 return _add;
806}
807inline const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>& MultipleDimensionsBinPackingItem::shapes() const
808 ABSL_ATTRIBUTE_LIFETIME_BOUND {
809 // @@protoc_insertion_point(field_list:operations_research.packing.MultipleDimensionsBinPackingItem.shapes)
810 return _internal_shapes();
811}
812inline const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>&
813MultipleDimensionsBinPackingItem::_internal_shapes() const {
814 ::google::protobuf::internal::TSanRead(&_impl_);
815 return _impl_.shapes_;
816}
817inline ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>* PROTOBUF_NONNULL
818MultipleDimensionsBinPackingItem::_internal_mutable_shapes() {
819 ::google::protobuf::internal::TSanRead(&_impl_);
820 return &_impl_.shapes_;
821}
822
823// int64 value = 2;
825 ::google::protobuf::internal::TSanWrite(&_impl_);
826 _impl_.value_ = ::int64_t{0};
827 _impl_._has_bits_[0] &= ~0x00000001u;
828}
829inline ::int64_t MultipleDimensionsBinPackingItem::value() const {
830 // @@protoc_insertion_point(field_get:operations_research.packing.MultipleDimensionsBinPackingItem.value)
831 return _internal_value();
833inline void MultipleDimensionsBinPackingItem::set_value(::int64_t value) {
834 _internal_set_value(value);
835 _impl_._has_bits_[0] |= 0x00000001u;
836 // @@protoc_insertion_point(field_set:operations_research.packing.MultipleDimensionsBinPackingItem.value)
838inline ::int64_t MultipleDimensionsBinPackingItem::_internal_value() const {
839 ::google::protobuf::internal::TSanRead(&_impl_);
840 return _impl_.value_;
842inline void MultipleDimensionsBinPackingItem::_internal_set_value(::int64_t value) {
843 ::google::protobuf::internal::TSanWrite(&_impl_);
844 _impl_.value_ = value;
845}
846
847// -------------------------------------------------------------------
848
849// MultipleDimensionsBinPackingProblem
850
851// .operations_research.packing.MultipleDimensionsBinPackingShape box_shape = 1;
853 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
854 PROTOBUF_ASSUME(!value || _impl_.box_shape_ != nullptr);
855 return value;
856}
858 ::google::protobuf::internal::TSanWrite(&_impl_);
859 if (_impl_.box_shape_ != nullptr) _impl_.box_shape_->Clear();
860 _impl_._has_bits_[0] &= ~0x00000001u;
862inline const ::operations_research::packing::MultipleDimensionsBinPackingShape& MultipleDimensionsBinPackingProblem::_internal_box_shape() const {
863 ::google::protobuf::internal::TSanRead(&_impl_);
864 const ::operations_research::packing::MultipleDimensionsBinPackingShape* p = _impl_.box_shape_;
867inline const ::operations_research::packing::MultipleDimensionsBinPackingShape& MultipleDimensionsBinPackingProblem::box_shape() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
868 // @@protoc_insertion_point(field_get:operations_research.packing.MultipleDimensionsBinPackingProblem.box_shape)
869 return _internal_box_shape();
870}
873 ::google::protobuf::internal::TSanWrite(&_impl_);
874 if (GetArena() == nullptr) {
875 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.box_shape_);
877 _impl_.box_shape_ = reinterpret_cast<::operations_research::packing::MultipleDimensionsBinPackingShape*>(value);
878 if (value != nullptr) {
879 _impl_._has_bits_[0] |= 0x00000001u;
880 } else {
881 _impl_._has_bits_[0] &= ~0x00000001u;
882 }
883 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.packing.MultipleDimensionsBinPackingProblem.box_shape)
884}
885inline ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NULLABLE MultipleDimensionsBinPackingProblem::release_box_shape() {
886 ::google::protobuf::internal::TSanWrite(&_impl_);
887
888 _impl_._has_bits_[0] &= ~0x00000001u;
890 _impl_.box_shape_ = nullptr;
891 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
892 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
893 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
894 if (GetArena() == nullptr) {
895 delete old;
896 }
897 } else {
898 if (GetArena() != nullptr) {
899 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
900 }
901 }
902 return released;
903}
904inline ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NULLABLE MultipleDimensionsBinPackingProblem::unsafe_arena_release_box_shape() {
905 ::google::protobuf::internal::TSanWrite(&_impl_);
906 // @@protoc_insertion_point(field_release:operations_research.packing.MultipleDimensionsBinPackingProblem.box_shape)
907
908 _impl_._has_bits_[0] &= ~0x00000001u;
909 ::operations_research::packing::MultipleDimensionsBinPackingShape* temp = _impl_.box_shape_;
910 _impl_.box_shape_ = nullptr;
911 return temp;
912}
913inline ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL MultipleDimensionsBinPackingProblem::_internal_mutable_box_shape() {
914 ::google::protobuf::internal::TSanWrite(&_impl_);
915 if (_impl_.box_shape_ == nullptr) {
916 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::packing::MultipleDimensionsBinPackingShape>(GetArena());
918 }
919 return _impl_.box_shape_;
920}
921inline ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL MultipleDimensionsBinPackingProblem::mutable_box_shape()
922 ABSL_ATTRIBUTE_LIFETIME_BOUND {
923 _impl_._has_bits_[0] |= 0x00000001u;
924 ::operations_research::packing::MultipleDimensionsBinPackingShape* _msg = _internal_mutable_box_shape();
925 // @@protoc_insertion_point(field_mutable:operations_research.packing.MultipleDimensionsBinPackingProblem.box_shape)
926 return _msg;
927}
929 ::google::protobuf::Arena* message_arena = GetArena();
930 ::google::protobuf::internal::TSanWrite(&_impl_);
931 if (message_arena == nullptr) {
932 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.box_shape_);
933 }
934
935 if (value != nullptr) {
936 ::google::protobuf::Arena* submessage_arena = value->GetArena();
937 if (message_arena != submessage_arena) {
938 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
939 }
940 _impl_._has_bits_[0] |= 0x00000001u;
941 } else {
942 _impl_._has_bits_[0] &= ~0x00000001u;
943 }
944
945 _impl_.box_shape_ = reinterpret_cast<::operations_research::packing::MultipleDimensionsBinPackingShape*>(value);
946 // @@protoc_insertion_point(field_set_allocated:operations_research.packing.MultipleDimensionsBinPackingProblem.box_shape)
947}
948
949// repeated .operations_research.packing.MultipleDimensionsBinPackingItem items = 2;
950inline int MultipleDimensionsBinPackingProblem::_internal_items_size() const {
951 return _internal_items().size();
952}
954 return _internal_items_size();
955}
957 ::google::protobuf::internal::TSanWrite(&_impl_);
958 _impl_.items_.Clear();
959}
960inline ::operations_research::packing::MultipleDimensionsBinPackingItem* PROTOBUF_NONNULL MultipleDimensionsBinPackingProblem::mutable_items(int index)
961 ABSL_ATTRIBUTE_LIFETIME_BOUND {
962 // @@protoc_insertion_point(field_mutable:operations_research.packing.MultipleDimensionsBinPackingProblem.items)
963 return _internal_mutable_items()->Mutable(index);
964}
965inline ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>* PROTOBUF_NONNULL MultipleDimensionsBinPackingProblem::mutable_items()
966 ABSL_ATTRIBUTE_LIFETIME_BOUND {
967 // @@protoc_insertion_point(field_mutable_list:operations_research.packing.MultipleDimensionsBinPackingProblem.items)
968 ::google::protobuf::internal::TSanWrite(&_impl_);
969 return _internal_mutable_items();
970}
971inline const ::operations_research::packing::MultipleDimensionsBinPackingItem& MultipleDimensionsBinPackingProblem::items(int index) const
972 ABSL_ATTRIBUTE_LIFETIME_BOUND {
973 // @@protoc_insertion_point(field_get:operations_research.packing.MultipleDimensionsBinPackingProblem.items)
974 return _internal_items().Get(index);
975}
976inline ::operations_research::packing::MultipleDimensionsBinPackingItem* PROTOBUF_NONNULL MultipleDimensionsBinPackingProblem::add_items()
977 ABSL_ATTRIBUTE_LIFETIME_BOUND {
978 ::google::protobuf::internal::TSanWrite(&_impl_);
979 ::operations_research::packing::MultipleDimensionsBinPackingItem* _add = _internal_mutable_items()->Add();
980 // @@protoc_insertion_point(field_add:operations_research.packing.MultipleDimensionsBinPackingProblem.items)
981 return _add;
982}
983inline const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>& MultipleDimensionsBinPackingProblem::items() const
984 ABSL_ATTRIBUTE_LIFETIME_BOUND {
985 // @@protoc_insertion_point(field_list:operations_research.packing.MultipleDimensionsBinPackingProblem.items)
986 return _internal_items();
987}
988inline const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>&
989MultipleDimensionsBinPackingProblem::_internal_items() const {
990 ::google::protobuf::internal::TSanRead(&_impl_);
991 return _impl_.items_;
993inline ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>* PROTOBUF_NONNULL
994MultipleDimensionsBinPackingProblem::_internal_mutable_items() {
995 ::google::protobuf::internal::TSanRead(&_impl_);
996 return &_impl_.items_;
997}
998
999#ifdef __GNUC__
1000#pragma GCC diagnostic pop
1001#endif // __GNUC__
1002
1003// @@protoc_insertion_point(namespace_scope)
1004} // namespace packing
1005} // namespace operations_research
1006
1007
1008// @@protoc_insertion_point(global_scope)
1009
1010#include "google/protobuf/port_undef.inc"
1011
1012#endif // ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto_2epb_2eh
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
int shapes_size() const
repeated .operations_research.packing.MultipleDimensionsBinPackingShape shapes = 1;
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)
MultipleDimensionsBinPackingItem & operator=(const MultipleDimensionsBinPackingItem &from)
const ::operations_research::packing::MultipleDimensionsBinPackingShape & shapes(int index) const
::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)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape > & shapes() const
::operations_research::packing::MultipleDimensionsBinPackingItem *PROTOBUF_NONNULL add_items()
const ::operations_research::packing::MultipleDimensionsBinPackingShape & box_shape() const
int items_size() const
repeated .operations_research.packing.MultipleDimensionsBinPackingItem items = 2;
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()
PROTOBUF_CONSTEXPR MultipleDimensionsBinPackingProblem(::google::protobuf::internal::ConstantInitialized)
bool has_box_shape() const
.operations_research.packing.MultipleDimensionsBinPackingShape box_shape = 1;
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
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::operations_research::packing::MultipleDimensionsBinPackingItem & items(int index) const
::operations_research::packing::MultipleDimensionsBinPackingItem *PROTOBUF_NONNULL mutable_items(int index)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_dimensions()
MultipleDimensionsBinPackingShape(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, MultipleDimensionsBinPackingShape &&from) noexcept
MultipleDimensionsBinPackingShape & operator=(const MultipleDimensionsBinPackingShape &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::RepeatedField<::int64_t > & dimensions() const
void Swap(MultipleDimensionsBinPackingShape *PROTOBUF_NONNULL other)
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_
In SWIG mode, we don't want anything besides these top-level includes.