Google OR-Tools v9.15
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.33.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 != 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"
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 explicit MultipleDimensionsBinPackingShape(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
206 MultipleDimensionsBinPackingShape(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MultipleDimensionsBinPackingShape& from);
208 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MultipleDimensionsBinPackingShape&& from) noexcept
210 *this = ::std::move(from);
211 }
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_();
217
218 public:
219 static constexpr auto InternalGenerateClassData_();
220
221 ::google::protobuf::Metadata GetMetadata() const;
222 // nested types ----------------------------------------------------
223
224 // accessors -------------------------------------------------------
225 enum : int {
226 kDimensionsFieldNumber = 1,
227 };
228 // repeated int64 dimensions = 1;
229 int dimensions_size() const;
230 private:
231 int _internal_dimensions_size() const;
232
233 public:
234 void clear_dimensions() ;
235 ::int64_t dimensions(int index) const;
236 void set_dimensions(int index, ::int64_t value);
237 void add_dimensions(::int64_t value);
238 const ::google::protobuf::RepeatedField<::int64_t>& dimensions() const;
239 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_dimensions();
240
241 private:
242 const ::google::protobuf::RepeatedField<::int64_t>& _internal_dimensions() const;
243 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_dimensions();
244
245 public:
246 // @@protoc_insertion_point(class_scope:operations_research.packing.MultipleDimensionsBinPackingShape)
247 private:
248 class _Internal;
249 friend class ::google::protobuf::internal::TcParser;
250 static const ::google::protobuf::internal::TcParseTable<0, 1,
251 0, 0,
252 2>
253 _table_;
254
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;
261 struct Impl_ {
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,
269 const MultipleDimensionsBinPackingShape& from_msg);
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
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 explicit MultipleDimensionsBinPackingItem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
405 MultipleDimensionsBinPackingItem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MultipleDimensionsBinPackingItem& from);
407 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MultipleDimensionsBinPackingItem&& from) noexcept
409 *this = ::std::move(from);
410 }
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_();
416
417 public:
418 static constexpr auto InternalGenerateClassData_();
419
420 ::google::protobuf::Metadata GetMetadata() const;
421 // nested types ----------------------------------------------------
422
423 // accessors -------------------------------------------------------
424 enum : int {
425 kShapesFieldNumber = 1,
426 kValueFieldNumber = 2,
427 };
428 // repeated .operations_research.packing.MultipleDimensionsBinPackingShape shapes = 1;
429 int shapes_size() const;
430 private:
431 int _internal_shapes_size() const;
432
433 public:
434 void clear_shapes() ;
436 ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>* PROTOBUF_NONNULL mutable_shapes();
437
438 private:
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();
441 public:
442 const ::operations_research::packing::MultipleDimensionsBinPackingShape& shapes(int index) const;
444 const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>& shapes() const;
445 // int64 value = 2;
446 void clear_value() ;
447 ::int64_t value() const;
448 void set_value(::int64_t value);
449
450 private:
451 ::int64_t _internal_value() const;
452 void _internal_set_value(::int64_t value);
453
454 public:
455 // @@protoc_insertion_point(class_scope:operations_research.packing.MultipleDimensionsBinPackingItem)
456 private:
457 class _Internal;
458 friend class ::google::protobuf::internal::TcParser;
459 static const ::google::protobuf::internal::TcParseTable<1, 2,
460 1, 0,
461 2>
462 _table_;
463
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;
470 struct Impl_ {
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,
478 const MultipleDimensionsBinPackingItem& from_msg);
479 ::google::protobuf::internal::HasBits<1> _has_bits_;
480 ::google::protobuf::internal::CachedSize _cached_size_;
481 ::google::protobuf::RepeatedPtrField< ::operations_research::packing::MultipleDimensionsBinPackingShape > shapes_;
482 ::int64_t value_;
483 PROTOBUF_TSAN_DECLARE_MEMBER
484 };
485 union { Impl_ _impl_; };
486 friend struct ::TableStruct_ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto;
487};
489OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull MultipleDimensionsBinPackingItem_class_data_;
490// -------------------------------------------------------------------
491
492class OR_PROTO_DLL MultipleDimensionsBinPackingProblem final : public ::google::protobuf::Message
493/* @@protoc_insertion_point(class_definition:operations_research.packing.MultipleDimensionsBinPackingProblem) */ {
494 public:
497
498#if defined(PROTOBUF_CUSTOM_VTABLE)
499 void operator delete(MultipleDimensionsBinPackingProblem* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
500 SharedDtor(*msg);
501 ::google::protobuf::internal::SizedDelete(msg, sizeof(MultipleDimensionsBinPackingProblem));
502 }
503#endif
504
505 template <typename = void>
506 explicit PROTOBUF_CONSTEXPR MultipleDimensionsBinPackingProblem(::google::protobuf::internal::ConstantInitialized);
507
509 inline MultipleDimensionsBinPackingProblem(MultipleDimensionsBinPackingProblem&& from) noexcept
510 : MultipleDimensionsBinPackingProblem(nullptr, ::std::move(from)) {}
512 CopyFrom(from);
513 return *this;
514 }
516 if (this == &from) return *this;
517 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
518 InternalSwap(&from);
519 } else {
520 CopyFrom(from);
521 }
522 return *this;
523 }
524
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);
528 }
529 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
530 ABSL_ATTRIBUTE_LIFETIME_BOUND {
531 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
532 }
534 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
535 return GetDescriptor();
536 }
537 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
538 return default_instance().GetMetadata().descriptor;
539 }
540 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
541 return default_instance().GetMetadata().reflection;
542 }
543 static const MultipleDimensionsBinPackingProblem& default_instance() {
547 static constexpr int kIndexInFileMessages = 2;
549 inline void Swap(MultipleDimensionsBinPackingProblem* PROTOBUF_NONNULL other) {
550 if (other == this) return;
551 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
552 InternalSwap(other);
553 } else {
554 ::google::protobuf::internal::GenericSwap(this, other);
555 }
556 }
557 void UnsafeArenaSwap(MultipleDimensionsBinPackingProblem* PROTOBUF_NONNULL other) {
558 if (other == this) return;
559 ABSL_DCHECK(GetArena() == other->GetArena());
560 InternalSwap(other);
562
563 // implements Message ----------------------------------------------
564
565 MultipleDimensionsBinPackingProblem* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
566 return ::google::protobuf::Message::DefaultConstruct<MultipleDimensionsBinPackingProblem>(arena);
567 }
568 using ::google::protobuf::Message::CopyFrom;
570 using ::google::protobuf::Message::MergeFrom;
571 void MergeFrom(const MultipleDimensionsBinPackingProblem& from) { MultipleDimensionsBinPackingProblem::MergeImpl(*this, from); }
572
573 private:
574 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
575 const ::google::protobuf::MessageLite& from_msg);
576
577 public:
578 bool IsInitialized() const {
579 return true;
580 }
581 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
582 #if defined(PROTOBUF_CUSTOM_VTABLE)
583 private:
584 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
585 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
586 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
587 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
588
589 public:
590 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
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);
595 }
596 #else // PROTOBUF_CUSTOM_VTABLE
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;
601 #endif // PROTOBUF_CUSTOM_VTABLE
602 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
603
604 private:
605 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
606 static void SharedDtor(MessageLite& self);
607 void InternalSwap(MultipleDimensionsBinPackingProblem* PROTOBUF_NONNULL other);
608 private:
609 template <typename T>
610 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
611 static ::absl::string_view FullMessageName() { return "operations_research.packing.MultipleDimensionsBinPackingProblem"; }
612
613 explicit MultipleDimensionsBinPackingProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
614 MultipleDimensionsBinPackingProblem(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MultipleDimensionsBinPackingProblem& from);
616 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MultipleDimensionsBinPackingProblem&& from) noexcept
618 *this = ::std::move(from);
619 }
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_();
625
626 public:
627 static constexpr auto InternalGenerateClassData_();
628
629 ::google::protobuf::Metadata GetMetadata() const;
630 // nested types ----------------------------------------------------
631
632 // accessors -------------------------------------------------------
633 enum : int {
634 kItemsFieldNumber = 2,
635 kBoxShapeFieldNumber = 1,
636 };
637 // repeated .operations_research.packing.MultipleDimensionsBinPackingItem items = 2;
638 int items_size() const;
639 private:
640 int _internal_items_size() const;
641
642 public:
643 void clear_items() ;
645 ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>* PROTOBUF_NONNULL mutable_items();
646
647 private:
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();
650 public:
651 const ::operations_research::packing::MultipleDimensionsBinPackingItem& items(int index) const;
653 const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>& items() const;
654 // .operations_research.packing.MultipleDimensionsBinPackingShape box_shape = 1;
655 bool has_box_shape() const;
656 void clear_box_shape() ;
657 const ::operations_research::packing::MultipleDimensionsBinPackingShape& box_shape() const;
663
664 private:
665 const ::operations_research::packing::MultipleDimensionsBinPackingShape& _internal_box_shape() const;
666 ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL _internal_mutable_box_shape();
667
668 public:
669 // @@protoc_insertion_point(class_scope:operations_research.packing.MultipleDimensionsBinPackingProblem)
670 private:
671 class _Internal;
672 friend class ::google::protobuf::internal::TcParser;
673 static const ::google::protobuf::internal::TcParseTable<1, 2,
674 2, 0,
675 2>
676 _table_;
677
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;
684 struct Impl_ {
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
698 };
699 union { Impl_ _impl_; };
700 friend struct ::TableStruct_ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto;
701};
702
703OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull MultipleDimensionsBinPackingProblem_class_data_;
705// ===================================================================
706
707
708
709
710// ===================================================================
711
712
713#ifdef __GNUC__
714#pragma GCC diagnostic push
715#pragma GCC diagnostic ignored "-Wstrict-aliasing"
716#endif // __GNUC__
717// -------------------------------------------------------------------
718
719// MultipleDimensionsBinPackingShape
720
721// repeated int64 dimensions = 1;
722inline int MultipleDimensionsBinPackingShape::_internal_dimensions_size() const {
723 return _internal_dimensions().size();
724}
726 return _internal_dimensions_size();
727}
729 ::google::protobuf::internal::TSanWrite(&_impl_);
730 _impl_.dimensions_.Clear();
731 ClearHasBitForRepeated(_impl_._has_bits_[0],
732 0x00000001U);
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);
737}
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 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
746 // @@protoc_insertion_point(field_add:operations_research.packing.MultipleDimensionsBinPackingShape.dimensions)
747}
748inline const ::google::protobuf::RepeatedField<::int64_t>& MultipleDimensionsBinPackingShape::dimensions() const
749 ABSL_ATTRIBUTE_LIFETIME_BOUND {
750 // @@protoc_insertion_point(field_list:operations_research.packing.MultipleDimensionsBinPackingShape.dimensions)
751 return _internal_dimensions();
752}
753inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL MultipleDimensionsBinPackingShape::mutable_dimensions()
754 ABSL_ATTRIBUTE_LIFETIME_BOUND {
755 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
756 // @@protoc_insertion_point(field_mutable_list:operations_research.packing.MultipleDimensionsBinPackingShape.dimensions)
757 ::google::protobuf::internal::TSanWrite(&_impl_);
758 return _internal_mutable_dimensions();
759}
760inline const ::google::protobuf::RepeatedField<::int64_t>&
761MultipleDimensionsBinPackingShape::_internal_dimensions() const {
762 ::google::protobuf::internal::TSanRead(&_impl_);
763 return _impl_.dimensions_;
764}
765inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
766MultipleDimensionsBinPackingShape::_internal_mutable_dimensions() {
767 ::google::protobuf::internal::TSanRead(&_impl_);
768 return &_impl_.dimensions_;
769}
770
771// -------------------------------------------------------------------
772
773// MultipleDimensionsBinPackingItem
774
775// repeated .operations_research.packing.MultipleDimensionsBinPackingShape shapes = 1;
776inline int MultipleDimensionsBinPackingItem::_internal_shapes_size() const {
777 return _internal_shapes().size();
778}
780 return _internal_shapes_size();
781}
783 ::google::protobuf::internal::TSanWrite(&_impl_);
784 _impl_.shapes_.Clear();
785 ClearHasBitForRepeated(_impl_._has_bits_[0],
786 0x00000001U);
788inline ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL MultipleDimensionsBinPackingItem::mutable_shapes(int index)
789 ABSL_ATTRIBUTE_LIFETIME_BOUND {
790 // @@protoc_insertion_point(field_mutable:operations_research.packing.MultipleDimensionsBinPackingItem.shapes)
791 return _internal_mutable_shapes()->Mutable(index);
792}
793inline ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>* PROTOBUF_NONNULL MultipleDimensionsBinPackingItem::mutable_shapes()
794 ABSL_ATTRIBUTE_LIFETIME_BOUND {
795 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
796 // @@protoc_insertion_point(field_mutable_list:operations_research.packing.MultipleDimensionsBinPackingItem.shapes)
797 ::google::protobuf::internal::TSanWrite(&_impl_);
798 return _internal_mutable_shapes();
799}
800inline const ::operations_research::packing::MultipleDimensionsBinPackingShape& MultipleDimensionsBinPackingItem::shapes(int index) const
801 ABSL_ATTRIBUTE_LIFETIME_BOUND {
802 // @@protoc_insertion_point(field_get:operations_research.packing.MultipleDimensionsBinPackingItem.shapes)
803 return _internal_shapes().Get(index);
804}
805inline ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL MultipleDimensionsBinPackingItem::add_shapes()
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);
812 // @@protoc_insertion_point(field_add:operations_research.packing.MultipleDimensionsBinPackingItem.shapes)
813 return _add;
814}
815inline const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>& MultipleDimensionsBinPackingItem::shapes() const
816 ABSL_ATTRIBUTE_LIFETIME_BOUND {
817 // @@protoc_insertion_point(field_list:operations_research.packing.MultipleDimensionsBinPackingItem.shapes)
818 return _internal_shapes();
819}
820inline const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>&
821MultipleDimensionsBinPackingItem::_internal_shapes() const {
822 ::google::protobuf::internal::TSanRead(&_impl_);
823 return _impl_.shapes_;
824}
825inline ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingShape>* PROTOBUF_NONNULL
826MultipleDimensionsBinPackingItem::_internal_mutable_shapes() {
827 ::google::protobuf::internal::TSanRead(&_impl_);
828 return &_impl_.shapes_;
829}
830
831// int64 value = 2;
833 ::google::protobuf::internal::TSanWrite(&_impl_);
834 _impl_.value_ = ::int64_t{0};
835 ClearHasBit(_impl_._has_bits_[0],
836 0x00000002U);
837}
838inline ::int64_t MultipleDimensionsBinPackingItem::value() const {
839 // @@protoc_insertion_point(field_get:operations_research.packing.MultipleDimensionsBinPackingItem.value)
840 return _internal_value();
841}
842inline void MultipleDimensionsBinPackingItem::set_value(::int64_t value) {
843 _internal_set_value(value);
844 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
845 // @@protoc_insertion_point(field_set:operations_research.packing.MultipleDimensionsBinPackingItem.value)
847inline ::int64_t MultipleDimensionsBinPackingItem::_internal_value() const {
848 ::google::protobuf::internal::TSanRead(&_impl_);
849 return _impl_.value_;
851inline void MultipleDimensionsBinPackingItem::_internal_set_value(::int64_t value) {
852 ::google::protobuf::internal::TSanWrite(&_impl_);
853 _impl_.value_ = value;
854}
855
856// -------------------------------------------------------------------
857
858// MultipleDimensionsBinPackingProblem
859
860// .operations_research.packing.MultipleDimensionsBinPackingShape box_shape = 1;
862 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
863 PROTOBUF_ASSUME(!value || _impl_.box_shape_ != nullptr);
864 return value;
865}
867 ::google::protobuf::internal::TSanWrite(&_impl_);
868 if (_impl_.box_shape_ != nullptr) _impl_.box_shape_->Clear();
869 ClearHasBit(_impl_._has_bits_[0],
870 0x00000002U);
871}
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_;
876}
877inline const ::operations_research::packing::MultipleDimensionsBinPackingShape& MultipleDimensionsBinPackingProblem::box_shape() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
878 // @@protoc_insertion_point(field_get:operations_research.packing.MultipleDimensionsBinPackingProblem.box_shape)
879 return _internal_box_shape();
880}
883 ::google::protobuf::internal::TSanWrite(&_impl_);
884 if (GetArena() == nullptr) {
885 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.box_shape_);
887 _impl_.box_shape_ = reinterpret_cast<::operations_research::packing::MultipleDimensionsBinPackingShape*>(value);
888 if (value != nullptr) {
889 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
890 } else {
891 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
892 }
893 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.packing.MultipleDimensionsBinPackingProblem.box_shape)
894}
895inline ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NULLABLE MultipleDimensionsBinPackingProblem::release_box_shape() {
896 ::google::protobuf::internal::TSanWrite(&_impl_);
897
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) {
905 delete old;
906 }
907 } else {
908 if (GetArena() != nullptr) {
909 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
910 }
911 }
912 return released;
913}
914inline ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NULLABLE MultipleDimensionsBinPackingProblem::unsafe_arena_release_box_shape() {
915 ::google::protobuf::internal::TSanWrite(&_impl_);
916 // @@protoc_insertion_point(field_release:operations_research.packing.MultipleDimensionsBinPackingProblem.box_shape)
917
918 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
919 ::operations_research::packing::MultipleDimensionsBinPackingShape* temp = _impl_.box_shape_;
920 _impl_.box_shape_ = nullptr;
921 return temp;
922}
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());
928 }
929 return _impl_.box_shape_;
930}
931inline ::operations_research::packing::MultipleDimensionsBinPackingShape* PROTOBUF_NONNULL MultipleDimensionsBinPackingProblem::mutable_box_shape()
932 ABSL_ATTRIBUTE_LIFETIME_BOUND {
933 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
934 ::operations_research::packing::MultipleDimensionsBinPackingShape* _msg = _internal_mutable_box_shape();
935 // @@protoc_insertion_point(field_mutable:operations_research.packing.MultipleDimensionsBinPackingProblem.box_shape)
936 return _msg;
937}
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_);
943 }
944
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);
949 }
950 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
951 } else {
952 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
953 }
954
955 _impl_.box_shape_ = reinterpret_cast<::operations_research::packing::MultipleDimensionsBinPackingShape*>(value);
956 // @@protoc_insertion_point(field_set_allocated:operations_research.packing.MultipleDimensionsBinPackingProblem.box_shape)
957}
958
959// repeated .operations_research.packing.MultipleDimensionsBinPackingItem items = 2;
960inline int MultipleDimensionsBinPackingProblem::_internal_items_size() const {
961 return _internal_items().size();
962}
964 return _internal_items_size();
965}
967 ::google::protobuf::internal::TSanWrite(&_impl_);
968 _impl_.items_.Clear();
969 ClearHasBitForRepeated(_impl_._has_bits_[0],
970 0x00000001U);
971}
972inline ::operations_research::packing::MultipleDimensionsBinPackingItem* PROTOBUF_NONNULL MultipleDimensionsBinPackingProblem::mutable_items(int index)
973 ABSL_ATTRIBUTE_LIFETIME_BOUND {
974 // @@protoc_insertion_point(field_mutable:operations_research.packing.MultipleDimensionsBinPackingProblem.items)
975 return _internal_mutable_items()->Mutable(index);
976}
977inline ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>* PROTOBUF_NONNULL MultipleDimensionsBinPackingProblem::mutable_items()
978 ABSL_ATTRIBUTE_LIFETIME_BOUND {
979 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
980 // @@protoc_insertion_point(field_mutable_list:operations_research.packing.MultipleDimensionsBinPackingProblem.items)
981 ::google::protobuf::internal::TSanWrite(&_impl_);
982 return _internal_mutable_items();
983}
984inline const ::operations_research::packing::MultipleDimensionsBinPackingItem& MultipleDimensionsBinPackingProblem::items(int index) const
985 ABSL_ATTRIBUTE_LIFETIME_BOUND {
986 // @@protoc_insertion_point(field_get:operations_research.packing.MultipleDimensionsBinPackingProblem.items)
987 return _internal_items().Get(index);
988}
989inline ::operations_research::packing::MultipleDimensionsBinPackingItem* PROTOBUF_NONNULL MultipleDimensionsBinPackingProblem::add_items()
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);
996 // @@protoc_insertion_point(field_add:operations_research.packing.MultipleDimensionsBinPackingProblem.items)
997 return _add;
999inline const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>& MultipleDimensionsBinPackingProblem::items() const
1000 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1001 // @@protoc_insertion_point(field_list:operations_research.packing.MultipleDimensionsBinPackingProblem.items)
1002 return _internal_items();
1003}
1004inline const ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>&
1005MultipleDimensionsBinPackingProblem::_internal_items() const {
1006 ::google::protobuf::internal::TSanRead(&_impl_);
1007 return _impl_.items_;
1009inline ::google::protobuf::RepeatedPtrField<::operations_research::packing::MultipleDimensionsBinPackingItem>* PROTOBUF_NONNULL
1010MultipleDimensionsBinPackingProblem::_internal_mutable_items() {
1011 ::google::protobuf::internal::TSanRead(&_impl_);
1012 return &_impl_.items_;
1013}
1014
1015#ifdef __GNUC__
1016#pragma GCC diagnostic pop
1017#endif // __GNUC__
1018
1019// @@protoc_insertion_point(namespace_scope)
1020} // namespace packing
1021} // namespace operations_research
1022
1023
1024// @@protoc_insertion_point(global_scope)
1025
1026#include "google/protobuf/port_undef.inc"
1027
1028#endif // ortools_2fpacking_2fmultiple_5fdimensions_5fbin_5fpacking_2eproto_2epb_2eh
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)
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
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)
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 & 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_
OR-Tools root namespace.