Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
set_cover.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/set_cover/set_cover.proto
4// Protobuf C++ Version: 6.31.1
5
6#ifndef ortools_2fset_5fcover_2fset_5fcover_2eproto_2epb_2eh
7#define ortools_2fset_5fcover_2fset_5fcover_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/generated_enum_reflection.h"
32#include "google/protobuf/unknown_field_set.h"
34// @@protoc_insertion_point(includes)
35
36// Must be included last.
37#include "google/protobuf/port_def.inc"
38
39#define PROTOBUF_INTERNAL_EXPORT_ortools_2fset_5fcover_2fset_5fcover_2eproto OR_PROTO_DLL
40
41namespace google {
42namespace protobuf {
43namespace internal {
44template <typename T>
45::absl::string_view GetAnyMessageName();
46} // namespace internal
47} // namespace protobuf
48} // namespace google
49
50// Internal implementation detail -- do not use these members.
52 static const ::uint32_t offsets[];
53};
54extern "C" {
55OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fset_5fcover_2fset_5fcover_2eproto;
56} // extern "C"
57namespace operations_research {
59OR_PROTO_DLL extern const uint32_t SetCoverSolutionResponse_Status_internal_data_[];
60class SetCoverProto;
63OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SetCoverProto_class_data_;
67OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SetCoverProto_Subset_class_data_;
71OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SetCoverSolutionResponse_class_data_;
72} // namespace operations_research
73namespace google {
74namespace protobuf {
75template <>
76internal::EnumTraitsT<::operations_research::SetCoverSolutionResponse_Status_internal_data_>
77 internal::EnumTraitsImpl::value<::operations_research::SetCoverSolutionResponse_Status>;
78} // namespace protobuf
79} // namespace google
80
81namespace operations_research {
93
94OR_PROTO_DLL extern const uint32_t SetCoverSolutionResponse_Status_internal_data_[];
96 static_cast<SetCoverSolutionResponse_Status>(0);
98 static_cast<SetCoverSolutionResponse_Status>(4);
100 return 0 <= value && value <= 4;
101}
103OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SetCoverSolutionResponse_Status_descriptor();
104template <typename T>
105const ::std::string& SetCoverSolutionResponse_Status_Name(T value) {
106 static_assert(::std::is_same<T, SetCoverSolutionResponse_Status>::value ||
107 ::std::is_integral<T>::value,
108 "Incorrect type passed to Status_Name().");
110}
111template <>
113 return ::google::protobuf::internal::NameOfDenseEnum<SetCoverSolutionResponse_Status_descriptor, 0, 4>(
114 static_cast<int>(value));
115}
117 ::absl::string_view name, SetCoverSolutionResponse_Status* PROTOBUF_NONNULL value) {
118 return ::google::protobuf::internal::ParseNamedEnum<SetCoverSolutionResponse_Status>(SetCoverSolutionResponse_Status_descriptor(), name,
119 value);
120}
121
122// ===================================================================
123
124
125// -------------------------------------------------------------------
126
127class OR_PROTO_DLL SetCoverProto_Subset final : public ::google::protobuf::Message
128/* @@protoc_insertion_point(class_definition:operations_research.SetCoverProto.Subset) */ {
129 public:
130 inline SetCoverProto_Subset() : SetCoverProto_Subset(nullptr) {}
131 ~SetCoverProto_Subset() PROTOBUF_FINAL;
133#if defined(PROTOBUF_CUSTOM_VTABLE)
134 void operator delete(SetCoverProto_Subset* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
135 SharedDtor(*msg);
136 ::google::protobuf::internal::SizedDelete(msg, sizeof(SetCoverProto_Subset));
137 }
138#endif
139
140 template <typename = void>
141 explicit PROTOBUF_CONSTEXPR SetCoverProto_Subset(::google::protobuf::internal::ConstantInitialized);
142
143 inline SetCoverProto_Subset(const SetCoverProto_Subset& from) : SetCoverProto_Subset(nullptr, from) {}
144 inline SetCoverProto_Subset(SetCoverProto_Subset&& from) noexcept
145 : SetCoverProto_Subset(nullptr, ::std::move(from)) {}
148 return *this;
149 }
150 inline SetCoverProto_Subset& operator=(SetCoverProto_Subset&& from) noexcept {
151 if (this == &from) return *this;
152 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
153 InternalSwap(&from);
154 } else {
155 CopyFrom(from);
156 }
157 return *this;
158 }
159
160 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
161 ABSL_ATTRIBUTE_LIFETIME_BOUND {
162 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
163 }
164 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
165 ABSL_ATTRIBUTE_LIFETIME_BOUND {
166 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
167 }
168
169 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
170 return GetDescriptor();
172 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
173 return default_instance().GetMetadata().descriptor;
175 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
176 return default_instance().GetMetadata().reflection;
178 static const SetCoverProto_Subset& default_instance() {
179 return *reinterpret_cast<const SetCoverProto_Subset*>(
181 }
182 static constexpr int kIndexInFileMessages = 0;
183 friend void swap(SetCoverProto_Subset& a, SetCoverProto_Subset& b) { a.Swap(&b); }
184 inline void Swap(SetCoverProto_Subset* PROTOBUF_NONNULL other) {
185 if (other == this) return;
186 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
187 InternalSwap(other);
188 } else {
189 ::google::protobuf::internal::GenericSwap(this, other);
190 }
191 }
192 void UnsafeArenaSwap(SetCoverProto_Subset* PROTOBUF_NONNULL other) {
193 if (other == this) return;
194 ABSL_DCHECK(GetArena() == other->GetArena());
195 InternalSwap(other);
196 }
197
198 // implements Message ----------------------------------------------
199
200 SetCoverProto_Subset* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
201 return ::google::protobuf::Message::DefaultConstruct<SetCoverProto_Subset>(arena);
203 using ::google::protobuf::Message::CopyFrom;
204 void CopyFrom(const SetCoverProto_Subset& from);
205 using ::google::protobuf::Message::MergeFrom;
206 void MergeFrom(const SetCoverProto_Subset& from) { SetCoverProto_Subset::MergeImpl(*this, from); }
207
208 private:
209 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
210 const ::google::protobuf::MessageLite& from_msg);
211
212 public:
213 bool IsInitialized() const {
214 return true;
216 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
217 #if defined(PROTOBUF_CUSTOM_VTABLE)
218 private:
219 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
220 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
221 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
222 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
223
224 public:
225 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
226 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
227 ::uint8_t* PROTOBUF_NONNULL target,
228 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
229 return _InternalSerialize(*this, target, stream);
230 }
231 #else // PROTOBUF_CUSTOM_VTABLE
232 ::size_t ByteSizeLong() const final;
233 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
234 ::uint8_t* PROTOBUF_NONNULL target,
235 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
236 #endif // PROTOBUF_CUSTOM_VTABLE
237 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
238
239 private:
240 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
241 static void SharedDtor(MessageLite& self);
242 void InternalSwap(SetCoverProto_Subset* PROTOBUF_NONNULL other);
243 private:
244 template <typename T>
245 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
246 static ::absl::string_view FullMessageName() { return "operations_research.SetCoverProto.Subset"; }
247
248 protected:
249 explicit SetCoverProto_Subset(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
250 SetCoverProto_Subset(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetCoverProto_Subset& from);
252 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SetCoverProto_Subset&& from) noexcept
254 *this = ::std::move(from);
255 }
256 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
257 static void* PROTOBUF_NONNULL PlacementNew_(
258 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
259 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
260 static constexpr auto InternalNewImpl_();
261
262 public:
263 static constexpr auto InternalGenerateClassData_();
264
265 ::google::protobuf::Metadata GetMetadata() const;
266 // nested types ----------------------------------------------------
267
268 // accessors -------------------------------------------------------
269 enum : int {
270 kElementFieldNumber = 2,
271 kCostFieldNumber = 1,
272 };
273 // repeated int64 element = 2 [packed = true];
274 int element_size() const;
275 private:
276 int _internal_element_size() const;
277
278 public:
279 void clear_element() ;
280 ::int64_t element(int index) const;
281 void set_element(int index, ::int64_t value);
282 void add_element(::int64_t value);
283 const ::google::protobuf::RepeatedField<::int64_t>& element() const;
284 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_element();
285
286 private:
287 const ::google::protobuf::RepeatedField<::int64_t>& _internal_element() const;
288 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_element();
289
290 public:
291 // optional double cost = 1;
292 bool has_cost() const;
293 void clear_cost() ;
294 double cost() const;
295 void set_cost(double value);
296
297 private:
298 double _internal_cost() const;
299 void _internal_set_cost(double value);
300
301 public:
302 // @@protoc_insertion_point(class_scope:operations_research.SetCoverProto.Subset)
303 private:
304 class _Internal;
305 friend class ::google::protobuf::internal::TcParser;
306 static const ::google::protobuf::internal::TcParseTable<1, 2,
307 0, 0,
308 2>
309 _table_;
310
311 friend class ::google::protobuf::MessageLite;
312 friend class ::google::protobuf::Arena;
313 template <typename T>
314 friend class ::google::protobuf::Arena::InternalHelper;
315 using InternalArenaConstructable_ = void;
316 using DestructorSkippable_ = void;
317 struct Impl_ {
318 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
319 inline explicit Impl_(
320 ::google::protobuf::internal::InternalVisibility visibility,
321 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
322 inline explicit Impl_(
323 ::google::protobuf::internal::InternalVisibility visibility,
324 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
325 const SetCoverProto_Subset& from_msg);
326 ::google::protobuf::internal::HasBits<1> _has_bits_;
327 ::google::protobuf::internal::CachedSize _cached_size_;
328 ::google::protobuf::RepeatedField<::int64_t> element_;
329 ::google::protobuf::internal::CachedSize _element_cached_byte_size_;
330 double cost_;
331 PROTOBUF_TSAN_DECLARE_MEMBER
332 };
333 union { Impl_ _impl_; };
334 friend struct ::TableStruct_ortools_2fset_5fcover_2fset_5fcover_2eproto;
337OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SetCoverProto_Subset_class_data_;
338// -------------------------------------------------------------------
339
340class OR_PROTO_DLL SetCoverSolutionResponse final : public ::google::protobuf::Message
341/* @@protoc_insertion_point(class_definition:operations_research.SetCoverSolutionResponse) */ {
342 public:
344 ~SetCoverSolutionResponse() PROTOBUF_FINAL;
345
346#if defined(PROTOBUF_CUSTOM_VTABLE)
347 void operator delete(SetCoverSolutionResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
348 SharedDtor(*msg);
349 ::google::protobuf::internal::SizedDelete(msg, sizeof(SetCoverSolutionResponse));
350 }
351#endif
352
353 template <typename = void>
354 explicit PROTOBUF_CONSTEXPR SetCoverSolutionResponse(::google::protobuf::internal::ConstantInitialized);
355
358 : SetCoverSolutionResponse(nullptr, ::std::move(from)) {}
360 CopyFrom(from);
361 return *this;
363 inline SetCoverSolutionResponse& operator=(SetCoverSolutionResponse&& from) noexcept {
364 if (this == &from) return *this;
365 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
366 InternalSwap(&from);
367 } else {
368 CopyFrom(from);
369 }
370 return *this;
371 }
372
373 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
374 ABSL_ATTRIBUTE_LIFETIME_BOUND {
375 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
377 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
378 ABSL_ATTRIBUTE_LIFETIME_BOUND {
379 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
381
382 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
383 return GetDescriptor();
384 }
385 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
386 return default_instance().GetMetadata().descriptor;
387 }
388 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
389 return default_instance().GetMetadata().reflection;
390 }
395 static constexpr int kIndexInFileMessages = 2;
396 friend void swap(SetCoverSolutionResponse& a, SetCoverSolutionResponse& b) { a.Swap(&b); }
397 inline void Swap(SetCoverSolutionResponse* PROTOBUF_NONNULL other) {
398 if (other == this) return;
399 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
400 InternalSwap(other);
401 } else {
402 ::google::protobuf::internal::GenericSwap(this, other);
403 }
404 }
405 void UnsafeArenaSwap(SetCoverSolutionResponse* PROTOBUF_NONNULL other) {
406 if (other == this) return;
407 ABSL_DCHECK(GetArena() == other->GetArena());
408 InternalSwap(other);
409 }
410
411 // implements Message ----------------------------------------------
412
413 SetCoverSolutionResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
414 return ::google::protobuf::Message::DefaultConstruct<SetCoverSolutionResponse>(arena);
415 }
416 using ::google::protobuf::Message::CopyFrom;
417 void CopyFrom(const SetCoverSolutionResponse& from);
418 using ::google::protobuf::Message::MergeFrom;
419 void MergeFrom(const SetCoverSolutionResponse& from) { SetCoverSolutionResponse::MergeImpl(*this, from); }
420
421 private:
422 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
423 const ::google::protobuf::MessageLite& from_msg);
424
425 public:
426 bool IsInitialized() const {
427 return true;
428 }
429 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
430 #if defined(PROTOBUF_CUSTOM_VTABLE)
431 private:
432 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
433 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
434 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
435 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
436
437 public:
438 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
439 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
440 ::uint8_t* PROTOBUF_NONNULL target,
441 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
442 return _InternalSerialize(*this, target, stream);
443 }
444 #else // PROTOBUF_CUSTOM_VTABLE
445 ::size_t ByteSizeLong() const final;
446 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
447 ::uint8_t* PROTOBUF_NONNULL target,
448 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
449 #endif // PROTOBUF_CUSTOM_VTABLE
450 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
451
452 private:
453 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
454 static void SharedDtor(MessageLite& self);
455 void InternalSwap(SetCoverSolutionResponse* PROTOBUF_NONNULL other);
456 private:
457 template <typename T>
458 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
459 static ::absl::string_view FullMessageName() { return "operations_research.SetCoverSolutionResponse"; }
460
461 protected:
462 explicit SetCoverSolutionResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
463 SetCoverSolutionResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetCoverSolutionResponse& from);
465 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SetCoverSolutionResponse&& from) noexcept
466 : SetCoverSolutionResponse(arena) {
467 *this = ::std::move(from);
468 }
469 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
470 static void* PROTOBUF_NONNULL PlacementNew_(
471 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
472 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
473 static constexpr auto InternalNewImpl_();
474
475 public:
476 static constexpr auto InternalGenerateClassData_();
477
478 ::google::protobuf::Metadata GetMetadata() const;
479 // nested types ----------------------------------------------------
480 using Status = SetCoverSolutionResponse_Status;
481 static constexpr Status UNDEFINED = SetCoverSolutionResponse_Status_UNDEFINED;
482 static constexpr Status OPTIMAL = SetCoverSolutionResponse_Status_OPTIMAL;
486 static inline bool Status_IsValid(int value) {
492 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Status_descriptor() {
495 template <typename T>
496 static inline const ::std::string& Status_Name(T value) {
498 }
499 static inline bool Status_Parse(
500 ::absl::string_view name, Status* PROTOBUF_NONNULL value) {
501 return SetCoverSolutionResponse_Status_Parse(name, value);
503
504 // accessors -------------------------------------------------------
505 enum : int {
506 kSubsetFieldNumber = 3,
507 kFingerprintFieldNumber = 6,
508 kModelFingerprintFieldNumber = 7,
513 };
514 // repeated int64 subset = 3 [packed = true];
515 int subset_size() const;
516 private:
517 int _internal_subset_size() const;
518
519 public:
520 void clear_subset() ;
521 ::int64_t subset(int index) const;
522 void set_subset(int index, ::int64_t value);
523 void add_subset(::int64_t value);
524 const ::google::protobuf::RepeatedField<::int64_t>& subset() const;
525 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_subset();
526
527 private:
528 const ::google::protobuf::RepeatedField<::int64_t>& _internal_subset() const;
529 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_subset();
530
531 public:
532 // optional .operations_research.Int128 fingerprint = 6;
533 bool has_fingerprint() const;
534 void clear_fingerprint() ;
535 const ::operations_research::Int128& fingerprint() const;
536 [[nodiscard]] ::operations_research::Int128* PROTOBUF_NULLABLE release_fingerprint();
538 void set_allocated_fingerprint(::operations_research::Int128* PROTOBUF_NULLABLE value);
541
542 private:
543 const ::operations_research::Int128& _internal_fingerprint() const;
544 ::operations_research::Int128* PROTOBUF_NONNULL _internal_mutable_fingerprint();
545
546 public:
547 // optional .operations_research.Int128 model_fingerprint = 7;
548 bool has_model_fingerprint() const;
550 const ::operations_research::Int128& model_fingerprint() const;
551 [[nodiscard]] ::operations_research::Int128* PROTOBUF_NULLABLE release_model_fingerprint();
556
557 private:
558 const ::operations_research::Int128& _internal_model_fingerprint() const;
559 ::operations_research::Int128* PROTOBUF_NONNULL _internal_mutable_model_fingerprint();
560
561 public:
562 // optional int64 num_subsets = 2;
563 bool has_num_subsets() const;
564 void clear_num_subsets() ;
565 ::int64_t num_subsets() const;
566 void set_num_subsets(::int64_t value);
567
568 private:
569 ::int64_t _internal_num_subsets() const;
570 void _internal_set_num_subsets(::int64_t value);
571
572 public:
573 // optional double cost = 4;
574 bool has_cost() const;
575 void clear_cost() ;
576 double cost() const;
577 void set_cost(double value);
578
579 private:
580 double _internal_cost() const;
581 void _internal_set_cost(double value);
582
583 public:
584 // optional double cost_lower_bound = 5;
585 bool has_cost_lower_bound() const;
587 double cost_lower_bound() const;
588 void set_cost_lower_bound(double value);
589
590 private:
591 double _internal_cost_lower_bound() const;
592 void _internal_set_cost_lower_bound(double value);
593
594 public:
595 // optional .operations_research.SetCoverSolutionResponse.Status status = 1;
596 bool has_status() const;
597 void clear_status() ;
600
601 private:
603 void _internal_set_status(::operations_research::SetCoverSolutionResponse_Status value);
604
605 public:
606 // @@protoc_insertion_point(class_scope:operations_research.SetCoverSolutionResponse)
607 private:
608 class _Internal;
609 friend class ::google::protobuf::internal::TcParser;
610 static const ::google::protobuf::internal::TcParseTable<3, 7,
611 2, 0,
612 2>
613 _table_;
614
615 friend class ::google::protobuf::MessageLite;
616 friend class ::google::protobuf::Arena;
617 template <typename T>
618 friend class ::google::protobuf::Arena::InternalHelper;
619 using InternalArenaConstructable_ = void;
620 using DestructorSkippable_ = void;
621 struct Impl_ {
622 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
623 inline explicit Impl_(
624 ::google::protobuf::internal::InternalVisibility visibility,
625 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
626 inline explicit Impl_(
627 ::google::protobuf::internal::InternalVisibility visibility,
628 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
629 const SetCoverSolutionResponse& from_msg);
630 ::google::protobuf::internal::HasBits<1> _has_bits_;
631 ::google::protobuf::internal::CachedSize _cached_size_;
632 ::google::protobuf::RepeatedField<::int64_t> subset_;
633 ::google::protobuf::internal::CachedSize _subset_cached_byte_size_;
634 ::operations_research::Int128* PROTOBUF_NULLABLE fingerprint_;
635 ::operations_research::Int128* PROTOBUF_NULLABLE model_fingerprint_;
636 ::int64_t num_subsets_;
637 double cost_;
638 double cost_lower_bound_;
639 int status_;
640 PROTOBUF_TSAN_DECLARE_MEMBER
641 };
642 union { Impl_ _impl_; };
643 friend struct ::TableStruct_ortools_2fset_5fcover_2fset_5fcover_2eproto;
644};
646OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SetCoverSolutionResponse_class_data_;
647// -------------------------------------------------------------------
648
649class OR_PROTO_DLL SetCoverProto final : public ::google::protobuf::Message
650/* @@protoc_insertion_point(class_definition:operations_research.SetCoverProto) */ {
651 public:
652 inline SetCoverProto() : SetCoverProto(nullptr) {}
653 ~SetCoverProto() PROTOBUF_FINAL;
654
655#if defined(PROTOBUF_CUSTOM_VTABLE)
656 void operator delete(SetCoverProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
657 SharedDtor(*msg);
658 ::google::protobuf::internal::SizedDelete(msg, sizeof(SetCoverProto));
659 }
660#endif
661
662 template <typename = void>
663 explicit PROTOBUF_CONSTEXPR SetCoverProto(::google::protobuf::internal::ConstantInitialized);
664
665 inline SetCoverProto(const SetCoverProto& from) : SetCoverProto(nullptr, from) {}
666 inline SetCoverProto(SetCoverProto&& from) noexcept
667 : SetCoverProto(nullptr, ::std::move(from)) {}
668 inline SetCoverProto& operator=(const SetCoverProto& from) {
669 CopyFrom(from);
670 return *this;
671 }
672 inline SetCoverProto& operator=(SetCoverProto&& from) noexcept {
673 if (this == &from) return *this;
674 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
675 InternalSwap(&from);
676 } else {
677 CopyFrom(from);
678 }
679 return *this;
680 }
681
682 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
683 ABSL_ATTRIBUTE_LIFETIME_BOUND {
684 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
685 }
686 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
687 ABSL_ATTRIBUTE_LIFETIME_BOUND {
688 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
689 }
691 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
692 return GetDescriptor();
693 }
694 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
695 return default_instance().GetMetadata().descriptor;
696 }
697 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
698 return default_instance().GetMetadata().reflection;
699 }
700 static const SetCoverProto& default_instance() {
701 return *reinterpret_cast<const SetCoverProto*>(
703 }
704 static constexpr int kIndexInFileMessages = 1;
705 friend void swap(SetCoverProto& a, SetCoverProto& b) { a.Swap(&b); }
706 inline void Swap(SetCoverProto* PROTOBUF_NONNULL other) {
707 if (other == this) return;
708 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
709 InternalSwap(other);
710 } else {
711 ::google::protobuf::internal::GenericSwap(this, other);
712 }
713 }
714 void UnsafeArenaSwap(SetCoverProto* PROTOBUF_NONNULL other) {
715 if (other == this) return;
716 ABSL_DCHECK(GetArena() == other->GetArena());
717 InternalSwap(other);
719
720 // implements Message ----------------------------------------------
721
722 SetCoverProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
723 return ::google::protobuf::Message::DefaultConstruct<SetCoverProto>(arena);
724 }
725 using ::google::protobuf::Message::CopyFrom;
726 void CopyFrom(const SetCoverProto& from);
727 using ::google::protobuf::Message::MergeFrom;
728 void MergeFrom(const SetCoverProto& from) { SetCoverProto::MergeImpl(*this, from); }
729
730 private:
731 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
732 const ::google::protobuf::MessageLite& from_msg);
733
734 public:
735 bool IsInitialized() const {
736 return true;
737 }
738 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
739 #if defined(PROTOBUF_CUSTOM_VTABLE)
740 private:
741 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
742 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
743 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
744 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
745
746 public:
747 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
748 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
749 ::uint8_t* PROTOBUF_NONNULL target,
750 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
751 return _InternalSerialize(*this, target, stream);
752 }
753 #else // PROTOBUF_CUSTOM_VTABLE
754 ::size_t ByteSizeLong() const final;
755 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
756 ::uint8_t* PROTOBUF_NONNULL target,
757 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
758 #endif // PROTOBUF_CUSTOM_VTABLE
759 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
760
761 private:
762 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
763 static void SharedDtor(MessageLite& self);
764 void InternalSwap(SetCoverProto* PROTOBUF_NONNULL other);
765 private:
766 template <typename T>
767 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
768 static ::absl::string_view FullMessageName() { return "operations_research.SetCoverProto"; }
769
770 protected:
771 explicit SetCoverProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
772 SetCoverProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetCoverProto& from);
774 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SetCoverProto&& from) noexcept
775 : SetCoverProto(arena) {
776 *this = ::std::move(from);
778 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
779 static void* PROTOBUF_NONNULL PlacementNew_(
780 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
781 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
782 static constexpr auto InternalNewImpl_();
783
784 public:
785 static constexpr auto InternalGenerateClassData_();
786
787 ::google::protobuf::Metadata GetMetadata() const;
788 // nested types ----------------------------------------------------
789 using Subset = SetCoverProto_Subset;
790
791 // accessors -------------------------------------------------------
792 enum : int {
796 };
797 // repeated .operations_research.SetCoverProto.Subset subset = 1;
798 int subset_size() const;
799 private:
800 int _internal_subset_size() const;
801
802 public:
803 void clear_subset() ;
805 ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>* PROTOBUF_NONNULL mutable_subset();
806
807 private:
808 const ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>& _internal_subset() const;
809 ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>* PROTOBUF_NONNULL _internal_mutable_subset();
810 public:
811 const ::operations_research::SetCoverProto_Subset& subset(int index) const;
813 const ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>& subset() const;
814 // optional string name = 2;
815 bool has_name() const;
816 void clear_name() ;
817 const ::std::string& name() const;
818 template <typename Arg_ = const ::std::string&, typename... Args_>
819 void set_name(Arg_&& arg, Args_... args);
820 ::std::string* PROTOBUF_NONNULL mutable_name();
821 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
822 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
824 private:
825 const ::std::string& _internal_name() const;
826 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
827 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
828
829 public:
830 // optional .operations_research.Int128 fingerprint = 3;
831 bool has_fingerprint() const;
832 void clear_fingerprint() ;
833 const ::operations_research::Int128& fingerprint() const;
834 [[nodiscard]] ::operations_research::Int128* PROTOBUF_NULLABLE release_fingerprint();
836 void set_allocated_fingerprint(::operations_research::Int128* PROTOBUF_NULLABLE value);
839
840 private:
841 const ::operations_research::Int128& _internal_fingerprint() const;
842 ::operations_research::Int128* PROTOBUF_NONNULL _internal_mutable_fingerprint();
843
844 public:
845 // @@protoc_insertion_point(class_scope:operations_research.SetCoverProto)
846 private:
847 class _Internal;
848 friend class ::google::protobuf::internal::TcParser;
849 static const ::google::protobuf::internal::TcParseTable<2, 3,
850 2, 46,
851 2>
852 _table_;
853
854 friend class ::google::protobuf::MessageLite;
855 friend class ::google::protobuf::Arena;
856 template <typename T>
857 friend class ::google::protobuf::Arena::InternalHelper;
858 using InternalArenaConstructable_ = void;
859 using DestructorSkippable_ = void;
860 struct Impl_ {
861 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
862 inline explicit Impl_(
863 ::google::protobuf::internal::InternalVisibility visibility,
864 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
865 inline explicit Impl_(
866 ::google::protobuf::internal::InternalVisibility visibility,
867 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
868 const SetCoverProto& from_msg);
869 ::google::protobuf::internal::HasBits<1> _has_bits_;
870 ::google::protobuf::internal::CachedSize _cached_size_;
871 ::google::protobuf::RepeatedPtrField< ::operations_research::SetCoverProto_Subset > subset_;
872 ::google::protobuf::internal::ArenaStringPtr name_;
873 ::operations_research::Int128* PROTOBUF_NULLABLE fingerprint_;
874 PROTOBUF_TSAN_DECLARE_MEMBER
875 };
876 union { Impl_ _impl_; };
877 friend struct ::TableStruct_ortools_2fset_5fcover_2fset_5fcover_2eproto;
878};
879
880OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SetCoverProto_class_data_;
882// ===================================================================
883
884
885
886
887// ===================================================================
888
889
890#ifdef __GNUC__
891#pragma GCC diagnostic push
892#pragma GCC diagnostic ignored "-Wstrict-aliasing"
893#endif // __GNUC__
894// -------------------------------------------------------------------
895
896// SetCoverProto_Subset
897
898// optional double cost = 1;
899inline bool SetCoverProto_Subset::has_cost() const {
900 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
901 return value;
902}
904 ::google::protobuf::internal::TSanWrite(&_impl_);
905 _impl_.cost_ = 0;
906 _impl_._has_bits_[0] &= ~0x00000001u;
907}
908inline double SetCoverProto_Subset::cost() const {
909 // @@protoc_insertion_point(field_get:operations_research.SetCoverProto.Subset.cost)
910 return _internal_cost();
911}
912inline void SetCoverProto_Subset::set_cost(double value) {
913 _internal_set_cost(value);
914 _impl_._has_bits_[0] |= 0x00000001u;
915 // @@protoc_insertion_point(field_set:operations_research.SetCoverProto.Subset.cost)
916}
917inline double SetCoverProto_Subset::_internal_cost() const {
918 ::google::protobuf::internal::TSanRead(&_impl_);
919 return _impl_.cost_;
920}
921inline void SetCoverProto_Subset::_internal_set_cost(double value) {
922 ::google::protobuf::internal::TSanWrite(&_impl_);
923 _impl_.cost_ = value;
924}
925
926// repeated int64 element = 2 [packed = true];
927inline int SetCoverProto_Subset::_internal_element_size() const {
928 return _internal_element().size();
929}
930inline int SetCoverProto_Subset::element_size() const {
931 return _internal_element_size();
932}
934 ::google::protobuf::internal::TSanWrite(&_impl_);
935 _impl_.element_.Clear();
936}
937inline ::int64_t SetCoverProto_Subset::element(int index) const {
938 // @@protoc_insertion_point(field_get:operations_research.SetCoverProto.Subset.element)
939 return _internal_element().Get(index);
941inline void SetCoverProto_Subset::set_element(int index, ::int64_t value) {
942 _internal_mutable_element()->Set(index, value);
943 // @@protoc_insertion_point(field_set:operations_research.SetCoverProto.Subset.element)
945inline void SetCoverProto_Subset::add_element(::int64_t value) {
946 ::google::protobuf::internal::TSanWrite(&_impl_);
947 _internal_mutable_element()->Add(value);
948 // @@protoc_insertion_point(field_add:operations_research.SetCoverProto.Subset.element)
949}
950inline const ::google::protobuf::RepeatedField<::int64_t>& SetCoverProto_Subset::element() const
951 ABSL_ATTRIBUTE_LIFETIME_BOUND {
952 // @@protoc_insertion_point(field_list:operations_research.SetCoverProto.Subset.element)
953 return _internal_element();
954}
955inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL SetCoverProto_Subset::mutable_element()
956 ABSL_ATTRIBUTE_LIFETIME_BOUND {
957 // @@protoc_insertion_point(field_mutable_list:operations_research.SetCoverProto.Subset.element)
958 ::google::protobuf::internal::TSanWrite(&_impl_);
959 return _internal_mutable_element();
960}
961inline const ::google::protobuf::RepeatedField<::int64_t>&
962SetCoverProto_Subset::_internal_element() const {
963 ::google::protobuf::internal::TSanRead(&_impl_);
964 return _impl_.element_;
965}
966inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
967SetCoverProto_Subset::_internal_mutable_element() {
968 ::google::protobuf::internal::TSanRead(&_impl_);
969 return &_impl_.element_;
970}
971
972// -------------------------------------------------------------------
973
974// SetCoverProto
975
976// repeated .operations_research.SetCoverProto.Subset subset = 1;
977inline int SetCoverProto::_internal_subset_size() const {
978 return _internal_subset().size();
979}
980inline int SetCoverProto::subset_size() const {
981 return _internal_subset_size();
982}
983inline void SetCoverProto::clear_subset() {
984 ::google::protobuf::internal::TSanWrite(&_impl_);
985 _impl_.subset_.Clear();
986}
987inline ::operations_research::SetCoverProto_Subset* PROTOBUF_NONNULL SetCoverProto::mutable_subset(int index)
988 ABSL_ATTRIBUTE_LIFETIME_BOUND {
989 // @@protoc_insertion_point(field_mutable:operations_research.SetCoverProto.subset)
990 return _internal_mutable_subset()->Mutable(index);
992inline ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>* PROTOBUF_NONNULL SetCoverProto::mutable_subset()
993 ABSL_ATTRIBUTE_LIFETIME_BOUND {
994 // @@protoc_insertion_point(field_mutable_list:operations_research.SetCoverProto.subset)
995 ::google::protobuf::internal::TSanWrite(&_impl_);
996 return _internal_mutable_subset();
997}
998inline const ::operations_research::SetCoverProto_Subset& SetCoverProto::subset(int index) const
999 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1000 // @@protoc_insertion_point(field_get:operations_research.SetCoverProto.subset)
1001 return _internal_subset().Get(index);
1002}
1003inline ::operations_research::SetCoverProto_Subset* PROTOBUF_NONNULL SetCoverProto::add_subset()
1004 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1005 ::google::protobuf::internal::TSanWrite(&_impl_);
1006 ::operations_research::SetCoverProto_Subset* _add = _internal_mutable_subset()->Add();
1007 // @@protoc_insertion_point(field_add:operations_research.SetCoverProto.subset)
1008 return _add;
1009}
1010inline const ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>& SetCoverProto::subset() const
1011 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1012 // @@protoc_insertion_point(field_list:operations_research.SetCoverProto.subset)
1013 return _internal_subset();
1014}
1015inline const ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>&
1016SetCoverProto::_internal_subset() const {
1017 ::google::protobuf::internal::TSanRead(&_impl_);
1018 return _impl_.subset_;
1019}
1020inline ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>* PROTOBUF_NONNULL
1021SetCoverProto::_internal_mutable_subset() {
1022 ::google::protobuf::internal::TSanRead(&_impl_);
1023 return &_impl_.subset_;
1024}
1025
1026// optional string name = 2;
1027inline bool SetCoverProto::has_name() const {
1028 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1029 return value;
1030}
1031inline void SetCoverProto::clear_name() {
1032 ::google::protobuf::internal::TSanWrite(&_impl_);
1033 _impl_.name_.ClearToEmpty();
1034 _impl_._has_bits_[0] &= ~0x00000001u;
1036inline const ::std::string& SetCoverProto::name() const
1037 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1038 // @@protoc_insertion_point(field_get:operations_research.SetCoverProto.name)
1039 return _internal_name();
1040}
1041template <typename Arg_, typename... Args_>
1042PROTOBUF_ALWAYS_INLINE void SetCoverProto::set_name(Arg_&& arg, Args_... args) {
1043 ::google::protobuf::internal::TSanWrite(&_impl_);
1044 _impl_._has_bits_[0] |= 0x00000001u;
1045 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1046 // @@protoc_insertion_point(field_set:operations_research.SetCoverProto.name)
1047}
1048inline ::std::string* PROTOBUF_NONNULL SetCoverProto::mutable_name()
1049 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1050 ::std::string* _s = _internal_mutable_name();
1051 // @@protoc_insertion_point(field_mutable:operations_research.SetCoverProto.name)
1052 return _s;
1053}
1054inline const ::std::string& SetCoverProto::_internal_name() const {
1055 ::google::protobuf::internal::TSanRead(&_impl_);
1056 return _impl_.name_.Get();
1057}
1058inline void SetCoverProto::_internal_set_name(const ::std::string& value) {
1059 ::google::protobuf::internal::TSanWrite(&_impl_);
1060 _impl_._has_bits_[0] |= 0x00000001u;
1061 _impl_.name_.Set(value, GetArena());
1062}
1063inline ::std::string* PROTOBUF_NONNULL SetCoverProto::_internal_mutable_name() {
1064 ::google::protobuf::internal::TSanWrite(&_impl_);
1065 _impl_._has_bits_[0] |= 0x00000001u;
1066 return _impl_.name_.Mutable( GetArena());
1067}
1068inline ::std::string* PROTOBUF_NULLABLE SetCoverProto::release_name() {
1069 ::google::protobuf::internal::TSanWrite(&_impl_);
1070 // @@protoc_insertion_point(field_release:operations_research.SetCoverProto.name)
1071 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
1072 return nullptr;
1073 }
1074 _impl_._has_bits_[0] &= ~0x00000001u;
1075 auto* released = _impl_.name_.Release();
1076 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1077 _impl_.name_.Set("", GetArena());
1078 }
1079 return released;
1080}
1081inline void SetCoverProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
1082 ::google::protobuf::internal::TSanWrite(&_impl_);
1083 if (value != nullptr) {
1084 _impl_._has_bits_[0] |= 0x00000001u;
1085 } else {
1086 _impl_._has_bits_[0] &= ~0x00000001u;
1087 }
1088 _impl_.name_.SetAllocated(value, GetArena());
1089 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
1090 _impl_.name_.Set("", GetArena());
1091 }
1092 // @@protoc_insertion_point(field_set_allocated:operations_research.SetCoverProto.name)
1093}
1094
1095// optional .operations_research.Int128 fingerprint = 3;
1096inline bool SetCoverProto::has_fingerprint() const {
1097 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1098 PROTOBUF_ASSUME(!value || _impl_.fingerprint_ != nullptr);
1099 return value;
1100}
1101inline const ::operations_research::Int128& SetCoverProto::_internal_fingerprint() const {
1102 ::google::protobuf::internal::TSanRead(&_impl_);
1103 const ::operations_research::Int128* p = _impl_.fingerprint_;
1104 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::Int128&>(::operations_research::_Int128_default_instance_);
1105}
1106inline const ::operations_research::Int128& SetCoverProto::fingerprint() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1107 // @@protoc_insertion_point(field_get:operations_research.SetCoverProto.fingerprint)
1108 return _internal_fingerprint();
1109}
1111 ::operations_research::Int128* PROTOBUF_NULLABLE value) {
1112 ::google::protobuf::internal::TSanWrite(&_impl_);
1113 if (GetArena() == nullptr) {
1114 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fingerprint_);
1115 }
1116 _impl_.fingerprint_ = reinterpret_cast<::operations_research::Int128*>(value);
1117 if (value != nullptr) {
1118 _impl_._has_bits_[0] |= 0x00000002u;
1119 } else {
1120 _impl_._has_bits_[0] &= ~0x00000002u;
1121 }
1122 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.SetCoverProto.fingerprint)
1123}
1124inline ::operations_research::Int128* PROTOBUF_NULLABLE SetCoverProto::release_fingerprint() {
1125 ::google::protobuf::internal::TSanWrite(&_impl_);
1126
1127 _impl_._has_bits_[0] &= ~0x00000002u;
1128 ::operations_research::Int128* released = _impl_.fingerprint_;
1129 _impl_.fingerprint_ = nullptr;
1130 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1131 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1132 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1133 if (GetArena() == nullptr) {
1134 delete old;
1135 }
1136 } else {
1137 if (GetArena() != nullptr) {
1138 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1139 }
1140 }
1141 return released;
1142}
1143inline ::operations_research::Int128* PROTOBUF_NULLABLE SetCoverProto::unsafe_arena_release_fingerprint() {
1144 ::google::protobuf::internal::TSanWrite(&_impl_);
1145 // @@protoc_insertion_point(field_release:operations_research.SetCoverProto.fingerprint)
1146
1147 _impl_._has_bits_[0] &= ~0x00000002u;
1148 ::operations_research::Int128* temp = _impl_.fingerprint_;
1149 _impl_.fingerprint_ = nullptr;
1150 return temp;
1152inline ::operations_research::Int128* PROTOBUF_NONNULL SetCoverProto::_internal_mutable_fingerprint() {
1153 ::google::protobuf::internal::TSanWrite(&_impl_);
1154 if (_impl_.fingerprint_ == nullptr) {
1155 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::Int128>(GetArena());
1156 _impl_.fingerprint_ = reinterpret_cast<::operations_research::Int128*>(p);
1157 }
1158 return _impl_.fingerprint_;
1159}
1160inline ::operations_research::Int128* PROTOBUF_NONNULL SetCoverProto::mutable_fingerprint()
1161 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1162 _impl_._has_bits_[0] |= 0x00000002u;
1163 ::operations_research::Int128* _msg = _internal_mutable_fingerprint();
1164 // @@protoc_insertion_point(field_mutable:operations_research.SetCoverProto.fingerprint)
1165 return _msg;
1166}
1167inline void SetCoverProto::set_allocated_fingerprint(::operations_research::Int128* PROTOBUF_NULLABLE value) {
1168 ::google::protobuf::Arena* message_arena = GetArena();
1169 ::google::protobuf::internal::TSanWrite(&_impl_);
1170 if (message_arena == nullptr) {
1171 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fingerprint_);
1172 }
1173
1174 if (value != nullptr) {
1175 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1176 if (message_arena != submessage_arena) {
1177 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1178 }
1179 _impl_._has_bits_[0] |= 0x00000002u;
1180 } else {
1181 _impl_._has_bits_[0] &= ~0x00000002u;
1182 }
1183
1184 _impl_.fingerprint_ = reinterpret_cast<::operations_research::Int128*>(value);
1185 // @@protoc_insertion_point(field_set_allocated:operations_research.SetCoverProto.fingerprint)
1186}
1187
1188// -------------------------------------------------------------------
1189
1190// SetCoverSolutionResponse
1191
1192// optional .operations_research.SetCoverSolutionResponse.Status status = 1;
1193inline bool SetCoverSolutionResponse::has_status() const {
1194 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1195 return value;
1196}
1198 ::google::protobuf::internal::TSanWrite(&_impl_);
1199 _impl_.status_ = 0;
1200 _impl_._has_bits_[0] &= ~0x00000020u;
1201}
1202inline ::operations_research::SetCoverSolutionResponse_Status SetCoverSolutionResponse::status() const {
1203 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.status)
1204 return _internal_status();
1205}
1207 _internal_set_status(value);
1208 _impl_._has_bits_[0] |= 0x00000020u;
1209 // @@protoc_insertion_point(field_set:operations_research.SetCoverSolutionResponse.status)
1210}
1211inline ::operations_research::SetCoverSolutionResponse_Status SetCoverSolutionResponse::_internal_status() const {
1212 ::google::protobuf::internal::TSanRead(&_impl_);
1213 return static_cast<::operations_research::SetCoverSolutionResponse_Status>(_impl_.status_);
1214}
1215inline void SetCoverSolutionResponse::_internal_set_status(::operations_research::SetCoverSolutionResponse_Status value) {
1216 ::google::protobuf::internal::TSanWrite(&_impl_);
1217 _impl_.status_ = value;
1218}
1219
1220// optional int64 num_subsets = 2;
1222 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1223 return value;
1224}
1226 ::google::protobuf::internal::TSanWrite(&_impl_);
1227 _impl_.num_subsets_ = ::int64_t{0};
1228 _impl_._has_bits_[0] &= ~0x00000004u;
1229}
1231 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.num_subsets)
1232 return _internal_num_subsets();
1233}
1234inline void SetCoverSolutionResponse::set_num_subsets(::int64_t value) {
1235 _internal_set_num_subsets(value);
1236 _impl_._has_bits_[0] |= 0x00000004u;
1237 // @@protoc_insertion_point(field_set:operations_research.SetCoverSolutionResponse.num_subsets)
1238}
1239inline ::int64_t SetCoverSolutionResponse::_internal_num_subsets() const {
1240 ::google::protobuf::internal::TSanRead(&_impl_);
1241 return _impl_.num_subsets_;
1242}
1243inline void SetCoverSolutionResponse::_internal_set_num_subsets(::int64_t value) {
1244 ::google::protobuf::internal::TSanWrite(&_impl_);
1245 _impl_.num_subsets_ = value;
1246}
1247
1248// repeated int64 subset = 3 [packed = true];
1249inline int SetCoverSolutionResponse::_internal_subset_size() const {
1250 return _internal_subset().size();
1251}
1252inline int SetCoverSolutionResponse::subset_size() const {
1253 return _internal_subset_size();
1254}
1256 ::google::protobuf::internal::TSanWrite(&_impl_);
1257 _impl_.subset_.Clear();
1258}
1259inline ::int64_t SetCoverSolutionResponse::subset(int index) const {
1260 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.subset)
1261 return _internal_subset().Get(index);
1262}
1263inline void SetCoverSolutionResponse::set_subset(int index, ::int64_t value) {
1264 _internal_mutable_subset()->Set(index, value);
1265 // @@protoc_insertion_point(field_set:operations_research.SetCoverSolutionResponse.subset)
1266}
1267inline void SetCoverSolutionResponse::add_subset(::int64_t value) {
1268 ::google::protobuf::internal::TSanWrite(&_impl_);
1269 _internal_mutable_subset()->Add(value);
1270 // @@protoc_insertion_point(field_add:operations_research.SetCoverSolutionResponse.subset)
1271}
1272inline const ::google::protobuf::RepeatedField<::int64_t>& SetCoverSolutionResponse::subset() const
1273 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1274 // @@protoc_insertion_point(field_list:operations_research.SetCoverSolutionResponse.subset)
1275 return _internal_subset();
1277inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL SetCoverSolutionResponse::mutable_subset()
1278 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1279 // @@protoc_insertion_point(field_mutable_list:operations_research.SetCoverSolutionResponse.subset)
1280 ::google::protobuf::internal::TSanWrite(&_impl_);
1281 return _internal_mutable_subset();
1282}
1283inline const ::google::protobuf::RepeatedField<::int64_t>&
1284SetCoverSolutionResponse::_internal_subset() const {
1285 ::google::protobuf::internal::TSanRead(&_impl_);
1286 return _impl_.subset_;
1287}
1288inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1289SetCoverSolutionResponse::_internal_mutable_subset() {
1290 ::google::protobuf::internal::TSanRead(&_impl_);
1291 return &_impl_.subset_;
1292}
1293
1294// optional double cost = 4;
1295inline bool SetCoverSolutionResponse::has_cost() const {
1296 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1297 return value;
1298}
1300 ::google::protobuf::internal::TSanWrite(&_impl_);
1301 _impl_.cost_ = 0;
1302 _impl_._has_bits_[0] &= ~0x00000008u;
1303}
1304inline double SetCoverSolutionResponse::cost() const {
1305 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.cost)
1306 return _internal_cost();
1307}
1308inline void SetCoverSolutionResponse::set_cost(double value) {
1309 _internal_set_cost(value);
1310 _impl_._has_bits_[0] |= 0x00000008u;
1311 // @@protoc_insertion_point(field_set:operations_research.SetCoverSolutionResponse.cost)
1312}
1313inline double SetCoverSolutionResponse::_internal_cost() const {
1314 ::google::protobuf::internal::TSanRead(&_impl_);
1315 return _impl_.cost_;
1316}
1317inline void SetCoverSolutionResponse::_internal_set_cost(double value) {
1318 ::google::protobuf::internal::TSanWrite(&_impl_);
1319 _impl_.cost_ = value;
1320}
1321
1322// optional double cost_lower_bound = 5;
1324 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1325 return value;
1326}
1328 ::google::protobuf::internal::TSanWrite(&_impl_);
1329 _impl_.cost_lower_bound_ = 0;
1330 _impl_._has_bits_[0] &= ~0x00000010u;
1331}
1333 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.cost_lower_bound)
1334 return _internal_cost_lower_bound();
1335}
1337 _internal_set_cost_lower_bound(value);
1338 _impl_._has_bits_[0] |= 0x00000010u;
1339 // @@protoc_insertion_point(field_set:operations_research.SetCoverSolutionResponse.cost_lower_bound)
1340}
1341inline double SetCoverSolutionResponse::_internal_cost_lower_bound() const {
1342 ::google::protobuf::internal::TSanRead(&_impl_);
1343 return _impl_.cost_lower_bound_;
1344}
1345inline void SetCoverSolutionResponse::_internal_set_cost_lower_bound(double value) {
1346 ::google::protobuf::internal::TSanWrite(&_impl_);
1347 _impl_.cost_lower_bound_ = value;
1348}
1349
1350// optional .operations_research.Int128 fingerprint = 6;
1352 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1353 PROTOBUF_ASSUME(!value || _impl_.fingerprint_ != nullptr);
1354 return value;
1355}
1356inline const ::operations_research::Int128& SetCoverSolutionResponse::_internal_fingerprint() const {
1357 ::google::protobuf::internal::TSanRead(&_impl_);
1358 const ::operations_research::Int128* p = _impl_.fingerprint_;
1359 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::Int128&>(::operations_research::_Int128_default_instance_);
1361inline const ::operations_research::Int128& SetCoverSolutionResponse::fingerprint() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1362 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.fingerprint)
1363 return _internal_fingerprint();
1364}
1366 ::operations_research::Int128* PROTOBUF_NULLABLE value) {
1367 ::google::protobuf::internal::TSanWrite(&_impl_);
1368 if (GetArena() == nullptr) {
1369 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fingerprint_);
1371 _impl_.fingerprint_ = reinterpret_cast<::operations_research::Int128*>(value);
1372 if (value != nullptr) {
1373 _impl_._has_bits_[0] |= 0x00000001u;
1374 } else {
1375 _impl_._has_bits_[0] &= ~0x00000001u;
1376 }
1377 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.SetCoverSolutionResponse.fingerprint)
1378}
1379inline ::operations_research::Int128* PROTOBUF_NULLABLE SetCoverSolutionResponse::release_fingerprint() {
1380 ::google::protobuf::internal::TSanWrite(&_impl_);
1381
1382 _impl_._has_bits_[0] &= ~0x00000001u;
1383 ::operations_research::Int128* released = _impl_.fingerprint_;
1384 _impl_.fingerprint_ = nullptr;
1385 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1386 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1387 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1388 if (GetArena() == nullptr) {
1389 delete old;
1390 }
1391 } else {
1392 if (GetArena() != nullptr) {
1393 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1394 }
1395 }
1396 return released;
1397}
1398inline ::operations_research::Int128* PROTOBUF_NULLABLE SetCoverSolutionResponse::unsafe_arena_release_fingerprint() {
1399 ::google::protobuf::internal::TSanWrite(&_impl_);
1400 // @@protoc_insertion_point(field_release:operations_research.SetCoverSolutionResponse.fingerprint)
1401
1402 _impl_._has_bits_[0] &= ~0x00000001u;
1403 ::operations_research::Int128* temp = _impl_.fingerprint_;
1404 _impl_.fingerprint_ = nullptr;
1405 return temp;
1406}
1407inline ::operations_research::Int128* PROTOBUF_NONNULL SetCoverSolutionResponse::_internal_mutable_fingerprint() {
1408 ::google::protobuf::internal::TSanWrite(&_impl_);
1409 if (_impl_.fingerprint_ == nullptr) {
1410 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::Int128>(GetArena());
1411 _impl_.fingerprint_ = reinterpret_cast<::operations_research::Int128*>(p);
1412 }
1413 return _impl_.fingerprint_;
1414}
1415inline ::operations_research::Int128* PROTOBUF_NONNULL SetCoverSolutionResponse::mutable_fingerprint()
1416 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1417 _impl_._has_bits_[0] |= 0x00000001u;
1418 ::operations_research::Int128* _msg = _internal_mutable_fingerprint();
1419 // @@protoc_insertion_point(field_mutable:operations_research.SetCoverSolutionResponse.fingerprint)
1420 return _msg;
1421}
1423 ::google::protobuf::Arena* message_arena = GetArena();
1424 ::google::protobuf::internal::TSanWrite(&_impl_);
1425 if (message_arena == nullptr) {
1426 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fingerprint_);
1427 }
1428
1429 if (value != nullptr) {
1430 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1431 if (message_arena != submessage_arena) {
1432 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1433 }
1434 _impl_._has_bits_[0] |= 0x00000001u;
1435 } else {
1436 _impl_._has_bits_[0] &= ~0x00000001u;
1437 }
1438
1439 _impl_.fingerprint_ = reinterpret_cast<::operations_research::Int128*>(value);
1440 // @@protoc_insertion_point(field_set_allocated:operations_research.SetCoverSolutionResponse.fingerprint)
1441}
1442
1443// optional .operations_research.Int128 model_fingerprint = 7;
1445 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1446 PROTOBUF_ASSUME(!value || _impl_.model_fingerprint_ != nullptr);
1447 return value;
1448}
1449inline const ::operations_research::Int128& SetCoverSolutionResponse::_internal_model_fingerprint() const {
1450 ::google::protobuf::internal::TSanRead(&_impl_);
1451 const ::operations_research::Int128* p = _impl_.model_fingerprint_;
1452 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::Int128&>(::operations_research::_Int128_default_instance_);
1454inline const ::operations_research::Int128& SetCoverSolutionResponse::model_fingerprint() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1455 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.model_fingerprint)
1456 return _internal_model_fingerprint();
1457}
1459 ::operations_research::Int128* PROTOBUF_NULLABLE value) {
1460 ::google::protobuf::internal::TSanWrite(&_impl_);
1461 if (GetArena() == nullptr) {
1462 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.model_fingerprint_);
1464 _impl_.model_fingerprint_ = reinterpret_cast<::operations_research::Int128*>(value);
1465 if (value != nullptr) {
1466 _impl_._has_bits_[0] |= 0x00000002u;
1467 } else {
1468 _impl_._has_bits_[0] &= ~0x00000002u;
1469 }
1470 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.SetCoverSolutionResponse.model_fingerprint)
1471}
1472inline ::operations_research::Int128* PROTOBUF_NULLABLE SetCoverSolutionResponse::release_model_fingerprint() {
1473 ::google::protobuf::internal::TSanWrite(&_impl_);
1474
1475 _impl_._has_bits_[0] &= ~0x00000002u;
1476 ::operations_research::Int128* released = _impl_.model_fingerprint_;
1477 _impl_.model_fingerprint_ = nullptr;
1478 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1479 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1480 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1481 if (GetArena() == nullptr) {
1482 delete old;
1483 }
1484 } else {
1485 if (GetArena() != nullptr) {
1486 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1487 }
1488 }
1489 return released;
1490}
1491inline ::operations_research::Int128* PROTOBUF_NULLABLE SetCoverSolutionResponse::unsafe_arena_release_model_fingerprint() {
1492 ::google::protobuf::internal::TSanWrite(&_impl_);
1493 // @@protoc_insertion_point(field_release:operations_research.SetCoverSolutionResponse.model_fingerprint)
1494
1495 _impl_._has_bits_[0] &= ~0x00000002u;
1496 ::operations_research::Int128* temp = _impl_.model_fingerprint_;
1497 _impl_.model_fingerprint_ = nullptr;
1498 return temp;
1499}
1500inline ::operations_research::Int128* PROTOBUF_NONNULL SetCoverSolutionResponse::_internal_mutable_model_fingerprint() {
1501 ::google::protobuf::internal::TSanWrite(&_impl_);
1502 if (_impl_.model_fingerprint_ == nullptr) {
1503 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::Int128>(GetArena());
1504 _impl_.model_fingerprint_ = reinterpret_cast<::operations_research::Int128*>(p);
1505 }
1506 return _impl_.model_fingerprint_;
1507}
1508inline ::operations_research::Int128* PROTOBUF_NONNULL SetCoverSolutionResponse::mutable_model_fingerprint()
1509 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1510 _impl_._has_bits_[0] |= 0x00000002u;
1511 ::operations_research::Int128* _msg = _internal_mutable_model_fingerprint();
1512 // @@protoc_insertion_point(field_mutable:operations_research.SetCoverSolutionResponse.model_fingerprint)
1513 return _msg;
1514}
1516 ::google::protobuf::Arena* message_arena = GetArena();
1517 ::google::protobuf::internal::TSanWrite(&_impl_);
1518 if (message_arena == nullptr) {
1519 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.model_fingerprint_);
1520 }
1521
1522 if (value != nullptr) {
1523 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1524 if (message_arena != submessage_arena) {
1525 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1526 }
1527 _impl_._has_bits_[0] |= 0x00000002u;
1528 } else {
1529 _impl_._has_bits_[0] &= ~0x00000002u;
1530 }
1531
1532 _impl_.model_fingerprint_ = reinterpret_cast<::operations_research::Int128*>(value);
1533 // @@protoc_insertion_point(field_set_allocated:operations_research.SetCoverSolutionResponse.model_fingerprint)
1534}
1535
1536#ifdef __GNUC__
1537#pragma GCC diagnostic pop
1538#endif // __GNUC__
1539
1540// @@protoc_insertion_point(namespace_scope)
1541} // namespace operations_research
1542
1543
1544namespace google {
1545namespace protobuf {
1546
1547template <>
1548struct is_proto_enum<::operations_research::SetCoverSolutionResponse_Status> : std::true_type {};
1549template <>
1550inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::SetCoverSolutionResponse_Status>() {
1551 return ::operations_research::SetCoverSolutionResponse_Status_descriptor();
1552}
1553
1554} // namespace protobuf
1555} // namespace google
1556
1557// @@protoc_insertion_point(global_scope)
1558
1559#include "google/protobuf/port_undef.inc"
1560
1561#endif // ortools_2fset_5fcover_2fset_5fcover_2eproto_2epb_2eh
friend class ::google::protobuf::MessageLite
SetCoverProto_Subset & operator=(const SetCoverProto_Subset &from)
int element_size() const
repeated int64 element = 2 [packed = true];
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
SetCoverProto_Subset(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, SetCoverProto_Subset &&from) noexcept
void Swap(SetCoverProto_Subset *PROTOBUF_NONNULL other)
const ::google::protobuf::RepeatedField<::int64_t > & element() const
PROTOBUF_CONSTEXPR SetCoverProto_Subset(::google::protobuf::internal::ConstantInitialized)
void CopyFrom(const SetCoverProto_Subset &from)
void set_element(int index, ::int64_t value)
SetCoverProto_Subset(const SetCoverProto_Subset &from)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_element()
bool has_cost() const
optional double cost = 1;
int subset_size() const
repeated .operations_research.SetCoverProto.Subset subset = 1;
friend class ::google::protobuf::MessageLite
static const SetCoverProto & default_instance()
::operations_research::SetCoverProto_Subset *PROTOBUF_NONNULL mutable_subset(int index)
::operations_research::Int128 *PROTOBUF_NULLABLE unsafe_arena_release_fingerprint()
void MergeFrom(const SetCoverProto &from)
::size_t ByteSizeLong() const final
bool has_fingerprint() const
optional .operations_research.Int128 fingerprint = 3;
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
::std::string *PROTOBUF_NULLABLE release_name()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
::operations_research::Int128 *PROTOBUF_NONNULL mutable_fingerprint()
::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset > *PROTOBUF_NONNULL mutable_subset()
void CopyFrom(const SetCoverProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::std::string & name() const
static constexpr int kIndexInFileMessages
void set_allocated_fingerprint(::operations_research::Int128 *PROTOBUF_NULLABLE value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::operations_research::SetCoverProto_Subset & subset(int index) const
void set_name(Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_name()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
bool has_name() const
optional string name = 2;
const ::operations_research::Int128 & fingerprint() const
void Swap(SetCoverProto *PROTOBUF_NONNULL other)
void unsafe_arena_set_allocated_fingerprint(::operations_research::Int128 *PROTOBUF_NULLABLE value)
::operations_research::SetCoverProto_Subset *PROTOBUF_NONNULL add_subset()
friend void swap(SetCoverProto &a, SetCoverProto &b)
SetCoverProto & operator=(const SetCoverProto &from)
PROTOBUF_CONSTEXPR SetCoverProto(::google::protobuf::internal::ConstantInitialized)
::operations_research::Int128 *PROTOBUF_NULLABLE release_fingerprint()
const ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset > & subset() const
friend class ::google::protobuf::Arena
void unsafe_arena_set_allocated_fingerprint(::operations_research::Int128 *PROTOBUF_NULLABLE value)
void CopyFrom(const SetCoverSolutionResponse &from)
friend class ::google::protobuf::MessageLite
void set_allocated_fingerprint(::operations_research::Int128 *PROTOBUF_NULLABLE value)
::operations_research::Int128 *PROTOBUF_NULLABLE unsafe_arena_release_model_fingerprint()
void set_subset(int index, ::int64_t value)
::operations_research::Int128 *PROTOBUF_NULLABLE unsafe_arena_release_fingerprint()
static const ::std::string & Status_Name(T value)
bool has_cost_lower_bound() const
optional double cost_lower_bound = 5;
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_status(::operations_research::SetCoverSolutionResponse_Status value)
static const SetCoverSolutionResponse & default_instance()
void Swap(SetCoverSolutionResponse *PROTOBUF_NONNULL other)
void MergeFrom(const SetCoverSolutionResponse &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
SetCoverSolutionResponse_Status Status
nested types -------------------------------------------------—
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
bool has_cost() const
optional double cost = 4;
PROTOBUF_CONSTEXPR SetCoverSolutionResponse(::google::protobuf::internal::ConstantInitialized)
bool has_status() const
optional .operations_research.SetCoverSolutionResponse.Status status = 1;
bool has_num_subsets() const
optional int64 num_subsets = 2;
bool has_model_fingerprint() const
optional .operations_research.Int128 model_fingerprint = 7;
::operations_research::Int128 *PROTOBUF_NULLABLE release_model_fingerprint()
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL Status_descriptor()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
bool has_fingerprint() const
optional .operations_research.Int128 fingerprint = 6;
SetCoverSolutionResponse & operator=(const SetCoverSolutionResponse &from)
static bool Status_Parse(::absl::string_view name, Status *PROTOBUF_NONNULL value)
const ::operations_research::Int128 & model_fingerprint() const
const ::google::protobuf::RepeatedField<::int64_t > & subset() const
::operations_research::Int128 *PROTOBUF_NULLABLE release_fingerprint()
void unsafe_arena_set_allocated_model_fingerprint(::operations_research::Int128 *PROTOBUF_NULLABLE value)
void set_allocated_model_fingerprint(::operations_research::Int128 *PROTOBUF_NULLABLE value)
::operations_research::SetCoverSolutionResponse_Status status() const
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_subset()
int subset_size() const
repeated int64 subset = 3 [packed = true];
::operations_research::Int128 *PROTOBUF_NONNULL mutable_model_fingerprint()
::operations_research::Int128 *PROTOBUF_NONNULL mutable_fingerprint()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::operations_research::Int128 & fingerprint() const
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::SetCoverSolutionResponse_Status >()
In SWIG mode, we don't want anything besides these top-level includes.
bool SetCoverSolutionResponse_Status_Parse(::absl::string_view name, SetCoverSolutionResponse_Status *PROTOBUF_NONNULL value)
bool SetCoverSolutionResponse_Status_IsValid(int value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SetCoverProto_Subset_class_data_
@ OPTIMAL
An optimal solution was found respecting all constraints.
constexpr SetCoverSolutionResponse_Status SetCoverSolutionResponse_Status_Status_MIN
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetCoverProtoDefaultTypeInternal _SetCoverProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Int128DefaultTypeInternal _Int128_default_instance_
Definition int128.pb.cc:53
constexpr SetCoverSolutionResponse_Status SetCoverSolutionResponse_Status_Status_MAX
PROTOBUF_CONSTINIT const uint32_t SetCoverSolutionResponse_Status_internal_data_[]
constexpr int SetCoverSolutionResponse_Status_Status_ARRAYSIZE
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetCoverProto_SubsetDefaultTypeInternal _SetCoverProto_Subset_default_instance_
@ SetCoverSolutionResponse_Status_OPTIMAL
@ SetCoverSolutionResponse_Status_FEASIBLE
@ SetCoverSolutionResponse_Status_UNDEFINED
@ SetCoverSolutionResponse_Status_INFEASIBLE
@ SetCoverSolutionResponse_Status_INVALID
@ SetCoverSolutionResponse_Status_SetCoverSolutionResponse_Status_INT_MAX_SENTINEL_DO_NOT_USE_
@ SetCoverSolutionResponse_Status_SetCoverSolutionResponse_Status_INT_MIN_SENTINEL_DO_NOT_USE_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SetCoverProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetCoverSolutionResponseDefaultTypeInternal _SetCoverSolutionResponse_default_instance_
const ::std::string & SetCoverSolutionResponse_Status_Name(T value)
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL SetCoverSolutionResponse_Status_descriptor()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SetCoverSolutionResponse_class_data_
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fset_5fcover_2fset_5fcover_2eproto
Internal implementation detail – do not use these members.