Google OR-Tools v9.15
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.33.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 != 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/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 explicit SetCoverProto_Subset(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
249 SetCoverProto_Subset(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetCoverProto_Subset& from);
251 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SetCoverProto_Subset&& from) noexcept
252 : SetCoverProto_Subset(arena) {
253 *this = ::std::move(from);
254 }
255 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
256 static void* PROTOBUF_NONNULL PlacementNew_(
257 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
258 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
259 static constexpr auto InternalNewImpl_();
260
261 public:
262 static constexpr auto InternalGenerateClassData_();
263
264 ::google::protobuf::Metadata GetMetadata() const;
265 // nested types ----------------------------------------------------
266
267 // accessors -------------------------------------------------------
268 enum : int {
269 kElementFieldNumber = 2,
270 kCostFieldNumber = 1,
271 };
272 // repeated int64 element = 2 [packed = true];
273 int element_size() const;
274 private:
275 int _internal_element_size() const;
276
277 public:
278 void clear_element() ;
279 ::int64_t element(int index) const;
280 void set_element(int index, ::int64_t value);
281 void add_element(::int64_t value);
282 const ::google::protobuf::RepeatedField<::int64_t>& element() const;
283 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_element();
284
285 private:
286 const ::google::protobuf::RepeatedField<::int64_t>& _internal_element() const;
287 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_element();
288
289 public:
290 // optional double cost = 1;
291 bool has_cost() const;
292 void clear_cost() ;
293 double cost() const;
294 void set_cost(double value);
295
296 private:
297 double _internal_cost() const;
298 void _internal_set_cost(double value);
299
300 public:
301 // @@protoc_insertion_point(class_scope:operations_research.SetCoverProto.Subset)
302 private:
303 class _Internal;
304 friend class ::google::protobuf::internal::TcParser;
305 static const ::google::protobuf::internal::TcParseTable<1, 2,
306 0, 0,
307 2>
308 _table_;
309
310 friend class ::google::protobuf::MessageLite;
311 friend class ::google::protobuf::Arena;
312 template <typename T>
313 friend class ::google::protobuf::Arena::InternalHelper;
314 using InternalArenaConstructable_ = void;
315 using DestructorSkippable_ = void;
316 struct Impl_ {
317 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
318 inline explicit Impl_(
319 ::google::protobuf::internal::InternalVisibility visibility,
320 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
321 inline explicit Impl_(
322 ::google::protobuf::internal::InternalVisibility visibility,
323 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
324 const SetCoverProto_Subset& from_msg);
325 ::google::protobuf::internal::HasBits<1> _has_bits_;
326 ::google::protobuf::internal::CachedSize _cached_size_;
327 ::google::protobuf::RepeatedField<::int64_t> element_;
328 ::google::protobuf::internal::CachedSize _element_cached_byte_size_;
329 double cost_;
330 PROTOBUF_TSAN_DECLARE_MEMBER
331 };
332 union { Impl_ _impl_; };
333 friend struct ::TableStruct_ortools_2fset_5fcover_2fset_5fcover_2eproto;
336OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SetCoverProto_Subset_class_data_;
337// -------------------------------------------------------------------
338
339class OR_PROTO_DLL SetCoverSolutionResponse final : public ::google::protobuf::Message
340/* @@protoc_insertion_point(class_definition:operations_research.SetCoverSolutionResponse) */ {
341 public:
343 ~SetCoverSolutionResponse() PROTOBUF_FINAL;
344
345#if defined(PROTOBUF_CUSTOM_VTABLE)
346 void operator delete(SetCoverSolutionResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
347 SharedDtor(*msg);
348 ::google::protobuf::internal::SizedDelete(msg, sizeof(SetCoverSolutionResponse));
349 }
350#endif
351
352 template <typename = void>
353 explicit PROTOBUF_CONSTEXPR SetCoverSolutionResponse(::google::protobuf::internal::ConstantInitialized);
354
357 : SetCoverSolutionResponse(nullptr, ::std::move(from)) {}
359 CopyFrom(from);
360 return *this;
362 inline SetCoverSolutionResponse& operator=(SetCoverSolutionResponse&& from) noexcept {
363 if (this == &from) return *this;
364 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
365 InternalSwap(&from);
366 } else {
367 CopyFrom(from);
368 }
369 return *this;
370 }
371
372 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
373 ABSL_ATTRIBUTE_LIFETIME_BOUND {
374 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
376 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
377 ABSL_ATTRIBUTE_LIFETIME_BOUND {
378 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
380
381 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
382 return GetDescriptor();
383 }
384 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
385 return default_instance().GetMetadata().descriptor;
386 }
387 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
388 return default_instance().GetMetadata().reflection;
389 }
394 static constexpr int kIndexInFileMessages = 2;
395 friend void swap(SetCoverSolutionResponse& a, SetCoverSolutionResponse& b) { a.Swap(&b); }
396 inline void Swap(SetCoverSolutionResponse* PROTOBUF_NONNULL other) {
397 if (other == this) return;
398 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
399 InternalSwap(other);
400 } else {
401 ::google::protobuf::internal::GenericSwap(this, other);
402 }
403 }
404 void UnsafeArenaSwap(SetCoverSolutionResponse* PROTOBUF_NONNULL other) {
405 if (other == this) return;
406 ABSL_DCHECK(GetArena() == other->GetArena());
407 InternalSwap(other);
408 }
409
410 // implements Message ----------------------------------------------
411
412 SetCoverSolutionResponse* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
413 return ::google::protobuf::Message::DefaultConstruct<SetCoverSolutionResponse>(arena);
414 }
415 using ::google::protobuf::Message::CopyFrom;
416 void CopyFrom(const SetCoverSolutionResponse& from);
417 using ::google::protobuf::Message::MergeFrom;
418 void MergeFrom(const SetCoverSolutionResponse& from) { SetCoverSolutionResponse::MergeImpl(*this, from); }
419
420 private:
421 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
422 const ::google::protobuf::MessageLite& from_msg);
423
424 public:
425 bool IsInitialized() const {
426 return true;
427 }
428 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
429 #if defined(PROTOBUF_CUSTOM_VTABLE)
430 private:
431 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
432 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
433 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
434 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
435
436 public:
437 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
438 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
439 ::uint8_t* PROTOBUF_NONNULL target,
440 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
441 return _InternalSerialize(*this, target, stream);
442 }
443 #else // PROTOBUF_CUSTOM_VTABLE
444 ::size_t ByteSizeLong() const final;
445 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
446 ::uint8_t* PROTOBUF_NONNULL target,
447 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
448 #endif // PROTOBUF_CUSTOM_VTABLE
449 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
450
451 private:
452 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
453 static void SharedDtor(MessageLite& self);
454 void InternalSwap(SetCoverSolutionResponse* PROTOBUF_NONNULL other);
455 private:
456 template <typename T>
457 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
458 static ::absl::string_view FullMessageName() { return "operations_research.SetCoverSolutionResponse"; }
459
460 explicit SetCoverSolutionResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
461 SetCoverSolutionResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetCoverSolutionResponse& from);
463 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SetCoverSolutionResponse&& from) noexcept
464 : SetCoverSolutionResponse(arena) {
465 *this = ::std::move(from);
466 }
467 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
468 static void* PROTOBUF_NONNULL PlacementNew_(
469 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
470 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
471 static constexpr auto InternalNewImpl_();
472
473 public:
474 static constexpr auto InternalGenerateClassData_();
475
476 ::google::protobuf::Metadata GetMetadata() const;
477 // nested types ----------------------------------------------------
478 using Status = SetCoverSolutionResponse_Status;
479 static constexpr Status UNDEFINED = SetCoverSolutionResponse_Status_UNDEFINED;
480 static constexpr Status OPTIMAL = SetCoverSolutionResponse_Status_OPTIMAL;
484 static inline bool Status_IsValid(int value) {
490 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Status_descriptor() {
493 template <typename T>
494 static inline const ::std::string& Status_Name(T value) {
496 }
497 static inline bool Status_Parse(
498 ::absl::string_view name, Status* PROTOBUF_NONNULL value) {
499 return SetCoverSolutionResponse_Status_Parse(name, value);
501
502 // accessors -------------------------------------------------------
503 enum : int {
504 kSubsetFieldNumber = 3,
505 kFingerprintFieldNumber = 6,
506 kModelFingerprintFieldNumber = 7,
511 };
512 // repeated int64 subset = 3 [packed = true];
513 int subset_size() const;
514 private:
515 int _internal_subset_size() const;
516
517 public:
518 void clear_subset() ;
519 ::int64_t subset(int index) const;
520 void set_subset(int index, ::int64_t value);
521 void add_subset(::int64_t value);
522 const ::google::protobuf::RepeatedField<::int64_t>& subset() const;
523 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_subset();
524
525 private:
526 const ::google::protobuf::RepeatedField<::int64_t>& _internal_subset() const;
527 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_subset();
528
529 public:
530 // optional .operations_research.Int128 fingerprint = 6;
531 bool has_fingerprint() const;
532 void clear_fingerprint() ;
533 const ::operations_research::Int128& fingerprint() const;
534 [[nodiscard]] ::operations_research::Int128* PROTOBUF_NULLABLE release_fingerprint();
536 void set_allocated_fingerprint(::operations_research::Int128* PROTOBUF_NULLABLE value);
539
540 private:
541 const ::operations_research::Int128& _internal_fingerprint() const;
542 ::operations_research::Int128* PROTOBUF_NONNULL _internal_mutable_fingerprint();
543
544 public:
545 // optional .operations_research.Int128 model_fingerprint = 7;
546 bool has_model_fingerprint() const;
548 const ::operations_research::Int128& model_fingerprint() const;
549 [[nodiscard]] ::operations_research::Int128* PROTOBUF_NULLABLE release_model_fingerprint();
554
555 private:
556 const ::operations_research::Int128& _internal_model_fingerprint() const;
557 ::operations_research::Int128* PROTOBUF_NONNULL _internal_mutable_model_fingerprint();
558
559 public:
560 // optional int64 num_subsets = 2;
561 bool has_num_subsets() const;
562 void clear_num_subsets() ;
563 ::int64_t num_subsets() const;
564 void set_num_subsets(::int64_t value);
565
566 private:
567 ::int64_t _internal_num_subsets() const;
568 void _internal_set_num_subsets(::int64_t value);
569
570 public:
571 // optional double cost = 4;
572 bool has_cost() const;
573 void clear_cost() ;
574 double cost() const;
575 void set_cost(double value);
576
577 private:
578 double _internal_cost() const;
579 void _internal_set_cost(double value);
580
581 public:
582 // optional double cost_lower_bound = 5;
583 bool has_cost_lower_bound() const;
585 double cost_lower_bound() const;
586 void set_cost_lower_bound(double value);
587
588 private:
589 double _internal_cost_lower_bound() const;
590 void _internal_set_cost_lower_bound(double value);
591
592 public:
593 // optional .operations_research.SetCoverSolutionResponse.Status status = 1;
594 bool has_status() const;
595 void clear_status() ;
598
599 private:
601 void _internal_set_status(::operations_research::SetCoverSolutionResponse_Status value);
602
603 public:
604 // @@protoc_insertion_point(class_scope:operations_research.SetCoverSolutionResponse)
605 private:
606 class _Internal;
607 friend class ::google::protobuf::internal::TcParser;
608 static const ::google::protobuf::internal::TcParseTable<3, 7,
609 2, 0,
610 2>
611 _table_;
612
613 friend class ::google::protobuf::MessageLite;
614 friend class ::google::protobuf::Arena;
615 template <typename T>
616 friend class ::google::protobuf::Arena::InternalHelper;
617 using InternalArenaConstructable_ = void;
618 using DestructorSkippable_ = void;
619 struct Impl_ {
620 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
621 inline explicit Impl_(
622 ::google::protobuf::internal::InternalVisibility visibility,
623 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
624 inline explicit Impl_(
625 ::google::protobuf::internal::InternalVisibility visibility,
626 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
627 const SetCoverSolutionResponse& from_msg);
628 ::google::protobuf::internal::HasBits<1> _has_bits_;
629 ::google::protobuf::internal::CachedSize _cached_size_;
630 ::google::protobuf::RepeatedField<::int64_t> subset_;
631 ::google::protobuf::internal::CachedSize _subset_cached_byte_size_;
632 ::operations_research::Int128* PROTOBUF_NULLABLE fingerprint_;
633 ::operations_research::Int128* PROTOBUF_NULLABLE model_fingerprint_;
634 ::int64_t num_subsets_;
635 double cost_;
636 double cost_lower_bound_;
637 int status_;
638 PROTOBUF_TSAN_DECLARE_MEMBER
639 };
640 union { Impl_ _impl_; };
641 friend struct ::TableStruct_ortools_2fset_5fcover_2fset_5fcover_2eproto;
642};
644OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SetCoverSolutionResponse_class_data_;
645// -------------------------------------------------------------------
646
647class OR_PROTO_DLL SetCoverProto final : public ::google::protobuf::Message
648/* @@protoc_insertion_point(class_definition:operations_research.SetCoverProto) */ {
649 public:
650 inline SetCoverProto() : SetCoverProto(nullptr) {}
651 ~SetCoverProto() PROTOBUF_FINAL;
652
653#if defined(PROTOBUF_CUSTOM_VTABLE)
654 void operator delete(SetCoverProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
655 SharedDtor(*msg);
656 ::google::protobuf::internal::SizedDelete(msg, sizeof(SetCoverProto));
657 }
658#endif
659
660 template <typename = void>
661 explicit PROTOBUF_CONSTEXPR SetCoverProto(::google::protobuf::internal::ConstantInitialized);
662
663 inline SetCoverProto(const SetCoverProto& from) : SetCoverProto(nullptr, from) {}
664 inline SetCoverProto(SetCoverProto&& from) noexcept
665 : SetCoverProto(nullptr, ::std::move(from)) {}
666 inline SetCoverProto& operator=(const SetCoverProto& from) {
667 CopyFrom(from);
668 return *this;
669 }
670 inline SetCoverProto& operator=(SetCoverProto&& from) noexcept {
671 if (this == &from) return *this;
672 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
673 InternalSwap(&from);
674 } else {
675 CopyFrom(from);
676 }
677 return *this;
678 }
679
680 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
681 ABSL_ATTRIBUTE_LIFETIME_BOUND {
682 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
683 }
684 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
685 ABSL_ATTRIBUTE_LIFETIME_BOUND {
686 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
687 }
689 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
690 return GetDescriptor();
691 }
692 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
693 return default_instance().GetMetadata().descriptor;
694 }
695 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
696 return default_instance().GetMetadata().reflection;
697 }
698 static const SetCoverProto& default_instance() {
699 return *reinterpret_cast<const SetCoverProto*>(
701 }
702 static constexpr int kIndexInFileMessages = 1;
703 friend void swap(SetCoverProto& a, SetCoverProto& b) { a.Swap(&b); }
704 inline void Swap(SetCoverProto* PROTOBUF_NONNULL other) {
705 if (other == this) return;
706 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
707 InternalSwap(other);
708 } else {
709 ::google::protobuf::internal::GenericSwap(this, other);
710 }
711 }
712 void UnsafeArenaSwap(SetCoverProto* PROTOBUF_NONNULL other) {
713 if (other == this) return;
714 ABSL_DCHECK(GetArena() == other->GetArena());
715 InternalSwap(other);
717
718 // implements Message ----------------------------------------------
719
720 SetCoverProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
721 return ::google::protobuf::Message::DefaultConstruct<SetCoverProto>(arena);
722 }
723 using ::google::protobuf::Message::CopyFrom;
724 void CopyFrom(const SetCoverProto& from);
725 using ::google::protobuf::Message::MergeFrom;
726 void MergeFrom(const SetCoverProto& from) { SetCoverProto::MergeImpl(*this, from); }
727
728 private:
729 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
730 const ::google::protobuf::MessageLite& from_msg);
731
732 public:
733 bool IsInitialized() const {
734 return true;
735 }
736 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
737 #if defined(PROTOBUF_CUSTOM_VTABLE)
738 private:
739 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
740 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
741 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
742 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
743
744 public:
745 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
746 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
747 ::uint8_t* PROTOBUF_NONNULL target,
748 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
749 return _InternalSerialize(*this, target, stream);
750 }
751 #else // PROTOBUF_CUSTOM_VTABLE
752 ::size_t ByteSizeLong() const final;
753 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
754 ::uint8_t* PROTOBUF_NONNULL target,
755 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
756 #endif // PROTOBUF_CUSTOM_VTABLE
757 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
758
759 private:
760 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
761 static void SharedDtor(MessageLite& self);
762 void InternalSwap(SetCoverProto* PROTOBUF_NONNULL other);
763 private:
764 template <typename T>
765 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
766 static ::absl::string_view FullMessageName() { return "operations_research.SetCoverProto"; }
767
768 explicit SetCoverProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
769 SetCoverProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SetCoverProto& from);
771 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SetCoverProto&& from) noexcept
772 : SetCoverProto(arena) {
773 *this = ::std::move(from);
774 }
775 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
776 static void* PROTOBUF_NONNULL PlacementNew_(
777 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
778 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
779 static constexpr auto InternalNewImpl_();
780
781 public:
782 static constexpr auto InternalGenerateClassData_();
783
784 ::google::protobuf::Metadata GetMetadata() const;
785 // nested types ----------------------------------------------------
786 using Subset = SetCoverProto_Subset;
787
788 // accessors -------------------------------------------------------
789 enum : int {
793 };
794 // repeated .operations_research.SetCoverProto.Subset subset = 1;
795 int subset_size() const;
796 private:
797 int _internal_subset_size() const;
798
799 public:
800 void clear_subset() ;
802 ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>* PROTOBUF_NONNULL mutable_subset();
803
804 private:
805 const ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>& _internal_subset() const;
806 ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>* PROTOBUF_NONNULL _internal_mutable_subset();
807 public:
808 const ::operations_research::SetCoverProto_Subset& subset(int index) const;
810 const ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>& subset() const;
811 // optional string name = 2;
812 bool has_name() const;
813 void clear_name() ;
814 const ::std::string& name() const;
815 template <typename Arg_ = const ::std::string&, typename... Args_>
816 void set_name(Arg_&& arg, Args_... args);
817 ::std::string* PROTOBUF_NONNULL mutable_name();
818 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
819 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
821 private:
822 const ::std::string& _internal_name() const;
823 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
824 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
825
826 public:
827 // optional .operations_research.Int128 fingerprint = 3;
828 bool has_fingerprint() const;
829 void clear_fingerprint() ;
830 const ::operations_research::Int128& fingerprint() const;
831 [[nodiscard]] ::operations_research::Int128* PROTOBUF_NULLABLE release_fingerprint();
833 void set_allocated_fingerprint(::operations_research::Int128* PROTOBUF_NULLABLE value);
836
837 private:
838 const ::operations_research::Int128& _internal_fingerprint() const;
839 ::operations_research::Int128* PROTOBUF_NONNULL _internal_mutable_fingerprint();
840
841 public:
842 // @@protoc_insertion_point(class_scope:operations_research.SetCoverProto)
843 private:
844 class _Internal;
845 friend class ::google::protobuf::internal::TcParser;
846 static const ::google::protobuf::internal::TcParseTable<2, 3,
847 2, 46,
848 2>
849 _table_;
850
851 friend class ::google::protobuf::MessageLite;
852 friend class ::google::protobuf::Arena;
853 template <typename T>
854 friend class ::google::protobuf::Arena::InternalHelper;
855 using InternalArenaConstructable_ = void;
856 using DestructorSkippable_ = void;
857 struct Impl_ {
858 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
859 inline explicit Impl_(
860 ::google::protobuf::internal::InternalVisibility visibility,
861 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
862 inline explicit Impl_(
863 ::google::protobuf::internal::InternalVisibility visibility,
864 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
865 const SetCoverProto& from_msg);
866 ::google::protobuf::internal::HasBits<1> _has_bits_;
867 ::google::protobuf::internal::CachedSize _cached_size_;
868 ::google::protobuf::RepeatedPtrField< ::operations_research::SetCoverProto_Subset > subset_;
869 ::google::protobuf::internal::ArenaStringPtr name_;
870 ::operations_research::Int128* PROTOBUF_NULLABLE fingerprint_;
871 PROTOBUF_TSAN_DECLARE_MEMBER
872 };
873 union { Impl_ _impl_; };
874 friend struct ::TableStruct_ortools_2fset_5fcover_2fset_5fcover_2eproto;
875};
876
877OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SetCoverProto_class_data_;
879// ===================================================================
880
881
882
883
884// ===================================================================
885
886
887#ifdef __GNUC__
888#pragma GCC diagnostic push
889#pragma GCC diagnostic ignored "-Wstrict-aliasing"
890#endif // __GNUC__
891// -------------------------------------------------------------------
892
893// SetCoverProto_Subset
894
895// optional double cost = 1;
896inline bool SetCoverProto_Subset::has_cost() const {
897 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
898 return value;
899}
901 ::google::protobuf::internal::TSanWrite(&_impl_);
902 _impl_.cost_ = 0;
903 ClearHasBit(_impl_._has_bits_[0],
904 0x00000002U);
905}
906inline double SetCoverProto_Subset::cost() const {
907 // @@protoc_insertion_point(field_get:operations_research.SetCoverProto.Subset.cost)
908 return _internal_cost();
909}
910inline void SetCoverProto_Subset::set_cost(double value) {
911 _internal_set_cost(value);
912 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
913 // @@protoc_insertion_point(field_set:operations_research.SetCoverProto.Subset.cost)
914}
915inline double SetCoverProto_Subset::_internal_cost() const {
916 ::google::protobuf::internal::TSanRead(&_impl_);
917 return _impl_.cost_;
918}
919inline void SetCoverProto_Subset::_internal_set_cost(double value) {
920 ::google::protobuf::internal::TSanWrite(&_impl_);
921 _impl_.cost_ = value;
922}
923
924// repeated int64 element = 2 [packed = true];
925inline int SetCoverProto_Subset::_internal_element_size() const {
926 return _internal_element().size();
927}
928inline int SetCoverProto_Subset::element_size() const {
929 return _internal_element_size();
930}
932 ::google::protobuf::internal::TSanWrite(&_impl_);
933 _impl_.element_.Clear();
934 ClearHasBitForRepeated(_impl_._has_bits_[0],
935 0x00000001U);
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);
940}
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 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
949 // @@protoc_insertion_point(field_add:operations_research.SetCoverProto.Subset.element)
950}
951inline const ::google::protobuf::RepeatedField<::int64_t>& SetCoverProto_Subset::element() const
952 ABSL_ATTRIBUTE_LIFETIME_BOUND {
953 // @@protoc_insertion_point(field_list:operations_research.SetCoverProto.Subset.element)
954 return _internal_element();
955}
956inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL SetCoverProto_Subset::mutable_element()
957 ABSL_ATTRIBUTE_LIFETIME_BOUND {
958 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
959 // @@protoc_insertion_point(field_mutable_list:operations_research.SetCoverProto.Subset.element)
960 ::google::protobuf::internal::TSanWrite(&_impl_);
961 return _internal_mutable_element();
962}
963inline const ::google::protobuf::RepeatedField<::int64_t>&
964SetCoverProto_Subset::_internal_element() const {
965 ::google::protobuf::internal::TSanRead(&_impl_);
966 return _impl_.element_;
967}
968inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
969SetCoverProto_Subset::_internal_mutable_element() {
970 ::google::protobuf::internal::TSanRead(&_impl_);
971 return &_impl_.element_;
972}
973
974// -------------------------------------------------------------------
975
976// SetCoverProto
977
978// repeated .operations_research.SetCoverProto.Subset subset = 1;
979inline int SetCoverProto::_internal_subset_size() const {
980 return _internal_subset().size();
981}
982inline int SetCoverProto::subset_size() const {
983 return _internal_subset_size();
984}
985inline void SetCoverProto::clear_subset() {
986 ::google::protobuf::internal::TSanWrite(&_impl_);
987 _impl_.subset_.Clear();
988 ClearHasBitForRepeated(_impl_._has_bits_[0],
989 0x00000001U);
991inline ::operations_research::SetCoverProto_Subset* PROTOBUF_NONNULL SetCoverProto::mutable_subset(int index)
992 ABSL_ATTRIBUTE_LIFETIME_BOUND {
993 // @@protoc_insertion_point(field_mutable:operations_research.SetCoverProto.subset)
994 return _internal_mutable_subset()->Mutable(index);
995}
996inline ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>* PROTOBUF_NONNULL SetCoverProto::mutable_subset()
997 ABSL_ATTRIBUTE_LIFETIME_BOUND {
998 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
999 // @@protoc_insertion_point(field_mutable_list:operations_research.SetCoverProto.subset)
1000 ::google::protobuf::internal::TSanWrite(&_impl_);
1001 return _internal_mutable_subset();
1002}
1003inline const ::operations_research::SetCoverProto_Subset& SetCoverProto::subset(int index) const
1004 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1005 // @@protoc_insertion_point(field_get:operations_research.SetCoverProto.subset)
1006 return _internal_subset().Get(index);
1007}
1008inline ::operations_research::SetCoverProto_Subset* PROTOBUF_NONNULL SetCoverProto::add_subset()
1009 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1010 ::google::protobuf::internal::TSanWrite(&_impl_);
1012 _internal_mutable_subset()->InternalAddWithArena(
1013 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
1014 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1015 // @@protoc_insertion_point(field_add:operations_research.SetCoverProto.subset)
1016 return _add;
1017}
1018inline const ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>& SetCoverProto::subset() const
1019 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1020 // @@protoc_insertion_point(field_list:operations_research.SetCoverProto.subset)
1021 return _internal_subset();
1022}
1023inline const ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>&
1024SetCoverProto::_internal_subset() const {
1025 ::google::protobuf::internal::TSanRead(&_impl_);
1026 return _impl_.subset_;
1027}
1028inline ::google::protobuf::RepeatedPtrField<::operations_research::SetCoverProto_Subset>* PROTOBUF_NONNULL
1029SetCoverProto::_internal_mutable_subset() {
1030 ::google::protobuf::internal::TSanRead(&_impl_);
1031 return &_impl_.subset_;
1032}
1033
1034// optional string name = 2;
1035inline bool SetCoverProto::has_name() const {
1036 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
1037 return value;
1038}
1039inline void SetCoverProto::clear_name() {
1040 ::google::protobuf::internal::TSanWrite(&_impl_);
1041 _impl_.name_.ClearToEmpty();
1042 ClearHasBit(_impl_._has_bits_[0],
1043 0x00000002U);
1044}
1045inline const ::std::string& SetCoverProto::name() const
1046 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1047 // @@protoc_insertion_point(field_get:operations_research.SetCoverProto.name)
1048 return _internal_name();
1049}
1050template <typename Arg_, typename... Args_>
1051PROTOBUF_ALWAYS_INLINE void SetCoverProto::set_name(Arg_&& arg, Args_... args) {
1052 ::google::protobuf::internal::TSanWrite(&_impl_);
1053 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1054 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1055 // @@protoc_insertion_point(field_set:operations_research.SetCoverProto.name)
1056}
1057inline ::std::string* PROTOBUF_NONNULL SetCoverProto::mutable_name()
1058 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1059 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1060 ::std::string* _s = _internal_mutable_name();
1061 // @@protoc_insertion_point(field_mutable:operations_research.SetCoverProto.name)
1062 return _s;
1063}
1064inline const ::std::string& SetCoverProto::_internal_name() const {
1065 ::google::protobuf::internal::TSanRead(&_impl_);
1066 return _impl_.name_.Get();
1067}
1068inline void SetCoverProto::_internal_set_name(const ::std::string& value) {
1069 ::google::protobuf::internal::TSanWrite(&_impl_);
1070 _impl_.name_.Set(value, GetArena());
1071}
1072inline ::std::string* PROTOBUF_NONNULL SetCoverProto::_internal_mutable_name() {
1073 ::google::protobuf::internal::TSanWrite(&_impl_);
1074 return _impl_.name_.Mutable( GetArena());
1075}
1076inline ::std::string* PROTOBUF_NULLABLE SetCoverProto::release_name() {
1077 ::google::protobuf::internal::TSanWrite(&_impl_);
1078 // @@protoc_insertion_point(field_release:operations_research.SetCoverProto.name)
1079 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
1080 return nullptr;
1081 }
1082 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1083 auto* released = _impl_.name_.Release();
1084 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1085 _impl_.name_.Set("", GetArena());
1086 }
1087 return released;
1088}
1089inline void SetCoverProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
1090 ::google::protobuf::internal::TSanWrite(&_impl_);
1091 if (value != nullptr) {
1092 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1093 } else {
1094 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1095 }
1096 _impl_.name_.SetAllocated(value, GetArena());
1097 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
1098 _impl_.name_.Set("", GetArena());
1099 }
1100 // @@protoc_insertion_point(field_set_allocated:operations_research.SetCoverProto.name)
1101}
1102
1103// optional .operations_research.Int128 fingerprint = 3;
1104inline bool SetCoverProto::has_fingerprint() const {
1105 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
1106 PROTOBUF_ASSUME(!value || _impl_.fingerprint_ != nullptr);
1107 return value;
1108}
1109inline const ::operations_research::Int128& SetCoverProto::_internal_fingerprint() const {
1110 ::google::protobuf::internal::TSanRead(&_impl_);
1111 const ::operations_research::Int128* p = _impl_.fingerprint_;
1112 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::Int128&>(::operations_research::_Int128_default_instance_);
1113}
1114inline const ::operations_research::Int128& SetCoverProto::fingerprint() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1115 // @@protoc_insertion_point(field_get:operations_research.SetCoverProto.fingerprint)
1116 return _internal_fingerprint();
1117}
1119 ::operations_research::Int128* PROTOBUF_NULLABLE value) {
1120 ::google::protobuf::internal::TSanWrite(&_impl_);
1121 if (GetArena() == nullptr) {
1122 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fingerprint_);
1123 }
1124 _impl_.fingerprint_ = reinterpret_cast<::operations_research::Int128*>(value);
1125 if (value != nullptr) {
1126 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1127 } else {
1128 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
1129 }
1130 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.SetCoverProto.fingerprint)
1131}
1132inline ::operations_research::Int128* PROTOBUF_NULLABLE SetCoverProto::release_fingerprint() {
1133 ::google::protobuf::internal::TSanWrite(&_impl_);
1134
1135 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
1136 ::operations_research::Int128* released = _impl_.fingerprint_;
1137 _impl_.fingerprint_ = nullptr;
1138 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1139 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1140 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1141 if (GetArena() == nullptr) {
1142 delete old;
1143 }
1144 } else {
1145 if (GetArena() != nullptr) {
1146 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1147 }
1148 }
1149 return released;
1150}
1151inline ::operations_research::Int128* PROTOBUF_NULLABLE SetCoverProto::unsafe_arena_release_fingerprint() {
1152 ::google::protobuf::internal::TSanWrite(&_impl_);
1153 // @@protoc_insertion_point(field_release:operations_research.SetCoverProto.fingerprint)
1154
1155 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
1156 ::operations_research::Int128* temp = _impl_.fingerprint_;
1157 _impl_.fingerprint_ = nullptr;
1158 return temp;
1160inline ::operations_research::Int128* PROTOBUF_NONNULL SetCoverProto::_internal_mutable_fingerprint() {
1161 ::google::protobuf::internal::TSanWrite(&_impl_);
1162 if (_impl_.fingerprint_ == nullptr) {
1163 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::Int128>(GetArena());
1164 _impl_.fingerprint_ = reinterpret_cast<::operations_research::Int128*>(p);
1165 }
1166 return _impl_.fingerprint_;
1167}
1168inline ::operations_research::Int128* PROTOBUF_NONNULL SetCoverProto::mutable_fingerprint()
1169 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1170 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1171 ::operations_research::Int128* _msg = _internal_mutable_fingerprint();
1172 // @@protoc_insertion_point(field_mutable:operations_research.SetCoverProto.fingerprint)
1173 return _msg;
1174}
1175inline void SetCoverProto::set_allocated_fingerprint(::operations_research::Int128* PROTOBUF_NULLABLE value) {
1176 ::google::protobuf::Arena* message_arena = GetArena();
1177 ::google::protobuf::internal::TSanWrite(&_impl_);
1178 if (message_arena == nullptr) {
1179 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fingerprint_);
1180 }
1181
1182 if (value != nullptr) {
1183 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1184 if (message_arena != submessage_arena) {
1185 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1186 }
1187 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1188 } else {
1189 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
1190 }
1191
1192 _impl_.fingerprint_ = reinterpret_cast<::operations_research::Int128*>(value);
1193 // @@protoc_insertion_point(field_set_allocated:operations_research.SetCoverProto.fingerprint)
1194}
1195
1196// -------------------------------------------------------------------
1197
1198// SetCoverSolutionResponse
1199
1200// optional .operations_research.SetCoverSolutionResponse.Status status = 1;
1201inline bool SetCoverSolutionResponse::has_status() const {
1202 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
1203 return value;
1204}
1206 ::google::protobuf::internal::TSanWrite(&_impl_);
1207 _impl_.status_ = 0;
1208 ClearHasBit(_impl_._has_bits_[0],
1209 0x00000040U);
1211inline ::operations_research::SetCoverSolutionResponse_Status SetCoverSolutionResponse::status() const {
1212 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.status)
1213 return _internal_status();
1216 _internal_set_status(value);
1217 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
1218 // @@protoc_insertion_point(field_set:operations_research.SetCoverSolutionResponse.status)
1219}
1220inline ::operations_research::SetCoverSolutionResponse_Status SetCoverSolutionResponse::_internal_status() const {
1221 ::google::protobuf::internal::TSanRead(&_impl_);
1222 return static_cast<::operations_research::SetCoverSolutionResponse_Status>(_impl_.status_);
1223}
1224inline void SetCoverSolutionResponse::_internal_set_status(::operations_research::SetCoverSolutionResponse_Status value) {
1225 ::google::protobuf::internal::TSanWrite(&_impl_);
1226 _impl_.status_ = value;
1227}
1228
1229// optional int64 num_subsets = 2;
1231 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
1232 return value;
1233}
1235 ::google::protobuf::internal::TSanWrite(&_impl_);
1236 _impl_.num_subsets_ = ::int64_t{0};
1237 ClearHasBit(_impl_._has_bits_[0],
1238 0x00000008U);
1240inline ::int64_t SetCoverSolutionResponse::num_subsets() const {
1241 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.num_subsets)
1242 return _internal_num_subsets();
1244inline void SetCoverSolutionResponse::set_num_subsets(::int64_t value) {
1245 _internal_set_num_subsets(value);
1246 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1247 // @@protoc_insertion_point(field_set:operations_research.SetCoverSolutionResponse.num_subsets)
1248}
1249inline ::int64_t SetCoverSolutionResponse::_internal_num_subsets() const {
1250 ::google::protobuf::internal::TSanRead(&_impl_);
1251 return _impl_.num_subsets_;
1252}
1253inline void SetCoverSolutionResponse::_internal_set_num_subsets(::int64_t value) {
1254 ::google::protobuf::internal::TSanWrite(&_impl_);
1255 _impl_.num_subsets_ = value;
1256}
1257
1258// repeated int64 subset = 3 [packed = true];
1259inline int SetCoverSolutionResponse::_internal_subset_size() const {
1260 return _internal_subset().size();
1261}
1262inline int SetCoverSolutionResponse::subset_size() const {
1263 return _internal_subset_size();
1264}
1266 ::google::protobuf::internal::TSanWrite(&_impl_);
1267 _impl_.subset_.Clear();
1268 ClearHasBitForRepeated(_impl_._has_bits_[0],
1269 0x00000001U);
1270}
1271inline ::int64_t SetCoverSolutionResponse::subset(int index) const {
1272 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.subset)
1273 return _internal_subset().Get(index);
1275inline void SetCoverSolutionResponse::set_subset(int index, ::int64_t value) {
1276 _internal_mutable_subset()->Set(index, value);
1277 // @@protoc_insertion_point(field_set:operations_research.SetCoverSolutionResponse.subset)
1278}
1279inline void SetCoverSolutionResponse::add_subset(::int64_t value) {
1280 ::google::protobuf::internal::TSanWrite(&_impl_);
1281 _internal_mutable_subset()->Add(value);
1282 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1283 // @@protoc_insertion_point(field_add:operations_research.SetCoverSolutionResponse.subset)
1285inline const ::google::protobuf::RepeatedField<::int64_t>& SetCoverSolutionResponse::subset() const
1286 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1287 // @@protoc_insertion_point(field_list:operations_research.SetCoverSolutionResponse.subset)
1288 return _internal_subset();
1289}
1290inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL SetCoverSolutionResponse::mutable_subset()
1291 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1292 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1293 // @@protoc_insertion_point(field_mutable_list:operations_research.SetCoverSolutionResponse.subset)
1294 ::google::protobuf::internal::TSanWrite(&_impl_);
1295 return _internal_mutable_subset();
1296}
1297inline const ::google::protobuf::RepeatedField<::int64_t>&
1298SetCoverSolutionResponse::_internal_subset() const {
1299 ::google::protobuf::internal::TSanRead(&_impl_);
1300 return _impl_.subset_;
1301}
1302inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1303SetCoverSolutionResponse::_internal_mutable_subset() {
1304 ::google::protobuf::internal::TSanRead(&_impl_);
1305 return &_impl_.subset_;
1306}
1307
1308// optional double cost = 4;
1309inline bool SetCoverSolutionResponse::has_cost() const {
1310 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
1311 return value;
1312}
1314 ::google::protobuf::internal::TSanWrite(&_impl_);
1315 _impl_.cost_ = 0;
1316 ClearHasBit(_impl_._has_bits_[0],
1317 0x00000010U);
1319inline double SetCoverSolutionResponse::cost() const {
1320 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.cost)
1321 return _internal_cost();
1323inline void SetCoverSolutionResponse::set_cost(double value) {
1324 _internal_set_cost(value);
1325 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
1326 // @@protoc_insertion_point(field_set:operations_research.SetCoverSolutionResponse.cost)
1327}
1328inline double SetCoverSolutionResponse::_internal_cost() const {
1329 ::google::protobuf::internal::TSanRead(&_impl_);
1330 return _impl_.cost_;
1331}
1332inline void SetCoverSolutionResponse::_internal_set_cost(double value) {
1333 ::google::protobuf::internal::TSanWrite(&_impl_);
1334 _impl_.cost_ = value;
1335}
1336
1337// optional double cost_lower_bound = 5;
1339 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
1340 return value;
1341}
1343 ::google::protobuf::internal::TSanWrite(&_impl_);
1344 _impl_.cost_lower_bound_ = 0;
1345 ClearHasBit(_impl_._has_bits_[0],
1346 0x00000020U);
1348inline double SetCoverSolutionResponse::cost_lower_bound() const {
1349 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.cost_lower_bound)
1350 return _internal_cost_lower_bound();
1352inline void SetCoverSolutionResponse::set_cost_lower_bound(double value) {
1353 _internal_set_cost_lower_bound(value);
1354 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
1355 // @@protoc_insertion_point(field_set:operations_research.SetCoverSolutionResponse.cost_lower_bound)
1356}
1357inline double SetCoverSolutionResponse::_internal_cost_lower_bound() const {
1358 ::google::protobuf::internal::TSanRead(&_impl_);
1359 return _impl_.cost_lower_bound_;
1360}
1361inline void SetCoverSolutionResponse::_internal_set_cost_lower_bound(double value) {
1362 ::google::protobuf::internal::TSanWrite(&_impl_);
1363 _impl_.cost_lower_bound_ = value;
1364}
1365
1366// optional .operations_research.Int128 fingerprint = 6;
1368 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
1369 PROTOBUF_ASSUME(!value || _impl_.fingerprint_ != nullptr);
1370 return value;
1371}
1372inline const ::operations_research::Int128& SetCoverSolutionResponse::_internal_fingerprint() const {
1373 ::google::protobuf::internal::TSanRead(&_impl_);
1374 const ::operations_research::Int128* p = _impl_.fingerprint_;
1375 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::Int128&>(::operations_research::_Int128_default_instance_);
1377inline const ::operations_research::Int128& SetCoverSolutionResponse::fingerprint() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1378 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.fingerprint)
1379 return _internal_fingerprint();
1380}
1382 ::operations_research::Int128* PROTOBUF_NULLABLE value) {
1383 ::google::protobuf::internal::TSanWrite(&_impl_);
1384 if (GetArena() == nullptr) {
1385 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fingerprint_);
1387 _impl_.fingerprint_ = reinterpret_cast<::operations_research::Int128*>(value);
1388 if (value != nullptr) {
1389 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1390 } else {
1391 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1392 }
1393 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.SetCoverSolutionResponse.fingerprint)
1394}
1395inline ::operations_research::Int128* PROTOBUF_NULLABLE SetCoverSolutionResponse::release_fingerprint() {
1396 ::google::protobuf::internal::TSanWrite(&_impl_);
1397
1398 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1399 ::operations_research::Int128* released = _impl_.fingerprint_;
1400 _impl_.fingerprint_ = nullptr;
1401 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1402 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1403 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1404 if (GetArena() == nullptr) {
1405 delete old;
1406 }
1407 } else {
1408 if (GetArena() != nullptr) {
1409 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1410 }
1411 }
1412 return released;
1413}
1414inline ::operations_research::Int128* PROTOBUF_NULLABLE SetCoverSolutionResponse::unsafe_arena_release_fingerprint() {
1415 ::google::protobuf::internal::TSanWrite(&_impl_);
1416 // @@protoc_insertion_point(field_release:operations_research.SetCoverSolutionResponse.fingerprint)
1417
1418 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1419 ::operations_research::Int128* temp = _impl_.fingerprint_;
1420 _impl_.fingerprint_ = nullptr;
1421 return temp;
1422}
1423inline ::operations_research::Int128* PROTOBUF_NONNULL SetCoverSolutionResponse::_internal_mutable_fingerprint() {
1424 ::google::protobuf::internal::TSanWrite(&_impl_);
1425 if (_impl_.fingerprint_ == nullptr) {
1426 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::Int128>(GetArena());
1427 _impl_.fingerprint_ = reinterpret_cast<::operations_research::Int128*>(p);
1428 }
1429 return _impl_.fingerprint_;
1430}
1431inline ::operations_research::Int128* PROTOBUF_NONNULL SetCoverSolutionResponse::mutable_fingerprint()
1432 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1433 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1434 ::operations_research::Int128* _msg = _internal_mutable_fingerprint();
1435 // @@protoc_insertion_point(field_mutable:operations_research.SetCoverSolutionResponse.fingerprint)
1436 return _msg;
1437}
1439 ::google::protobuf::Arena* message_arena = GetArena();
1440 ::google::protobuf::internal::TSanWrite(&_impl_);
1441 if (message_arena == nullptr) {
1442 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.fingerprint_);
1443 }
1444
1445 if (value != nullptr) {
1446 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1447 if (message_arena != submessage_arena) {
1448 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1449 }
1450 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1451 } else {
1452 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1453 }
1454
1455 _impl_.fingerprint_ = reinterpret_cast<::operations_research::Int128*>(value);
1456 // @@protoc_insertion_point(field_set_allocated:operations_research.SetCoverSolutionResponse.fingerprint)
1457}
1458
1459// optional .operations_research.Int128 model_fingerprint = 7;
1461 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
1462 PROTOBUF_ASSUME(!value || _impl_.model_fingerprint_ != nullptr);
1463 return value;
1464}
1465inline const ::operations_research::Int128& SetCoverSolutionResponse::_internal_model_fingerprint() const {
1466 ::google::protobuf::internal::TSanRead(&_impl_);
1467 const ::operations_research::Int128* p = _impl_.model_fingerprint_;
1468 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::Int128&>(::operations_research::_Int128_default_instance_);
1470inline const ::operations_research::Int128& SetCoverSolutionResponse::model_fingerprint() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1471 // @@protoc_insertion_point(field_get:operations_research.SetCoverSolutionResponse.model_fingerprint)
1472 return _internal_model_fingerprint();
1473}
1475 ::operations_research::Int128* PROTOBUF_NULLABLE value) {
1476 ::google::protobuf::internal::TSanWrite(&_impl_);
1477 if (GetArena() == nullptr) {
1478 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.model_fingerprint_);
1480 _impl_.model_fingerprint_ = reinterpret_cast<::operations_research::Int128*>(value);
1481 if (value != nullptr) {
1482 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1483 } else {
1484 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
1485 }
1486 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.SetCoverSolutionResponse.model_fingerprint)
1487}
1488inline ::operations_research::Int128* PROTOBUF_NULLABLE SetCoverSolutionResponse::release_model_fingerprint() {
1489 ::google::protobuf::internal::TSanWrite(&_impl_);
1490
1491 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
1492 ::operations_research::Int128* released = _impl_.model_fingerprint_;
1493 _impl_.model_fingerprint_ = nullptr;
1494 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1495 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1496 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1497 if (GetArena() == nullptr) {
1498 delete old;
1499 }
1500 } else {
1501 if (GetArena() != nullptr) {
1502 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1503 }
1504 }
1505 return released;
1506}
1507inline ::operations_research::Int128* PROTOBUF_NULLABLE SetCoverSolutionResponse::unsafe_arena_release_model_fingerprint() {
1508 ::google::protobuf::internal::TSanWrite(&_impl_);
1509 // @@protoc_insertion_point(field_release:operations_research.SetCoverSolutionResponse.model_fingerprint)
1510
1511 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
1512 ::operations_research::Int128* temp = _impl_.model_fingerprint_;
1513 _impl_.model_fingerprint_ = nullptr;
1514 return temp;
1515}
1516inline ::operations_research::Int128* PROTOBUF_NONNULL SetCoverSolutionResponse::_internal_mutable_model_fingerprint() {
1517 ::google::protobuf::internal::TSanWrite(&_impl_);
1518 if (_impl_.model_fingerprint_ == nullptr) {
1519 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::Int128>(GetArena());
1520 _impl_.model_fingerprint_ = reinterpret_cast<::operations_research::Int128*>(p);
1521 }
1522 return _impl_.model_fingerprint_;
1523}
1524inline ::operations_research::Int128* PROTOBUF_NONNULL SetCoverSolutionResponse::mutable_model_fingerprint()
1525 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1526 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1527 ::operations_research::Int128* _msg = _internal_mutable_model_fingerprint();
1528 // @@protoc_insertion_point(field_mutable:operations_research.SetCoverSolutionResponse.model_fingerprint)
1529 return _msg;
1530}
1532 ::google::protobuf::Arena* message_arena = GetArena();
1533 ::google::protobuf::internal::TSanWrite(&_impl_);
1534 if (message_arena == nullptr) {
1535 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.model_fingerprint_);
1536 }
1537
1538 if (value != nullptr) {
1539 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1540 if (message_arena != submessage_arena) {
1541 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1542 }
1543 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1544 } else {
1545 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
1546 }
1547
1548 _impl_.model_fingerprint_ = reinterpret_cast<::operations_research::Int128*>(value);
1549 // @@protoc_insertion_point(field_set_allocated:operations_research.SetCoverSolutionResponse.model_fingerprint)
1550}
1551
1552#ifdef __GNUC__
1553#pragma GCC diagnostic pop
1554#endif // __GNUC__
1555
1556// @@protoc_insertion_point(namespace_scope)
1557} // namespace operations_research
1558
1559
1560namespace google {
1561namespace protobuf {
1562
1563template <>
1564struct is_proto_enum<::operations_research::SetCoverSolutionResponse_Status> : std::true_type {};
1565template <>
1566inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::SetCoverSolutionResponse_Status>() {
1567 return ::operations_research::SetCoverSolutionResponse_Status_descriptor();
1568}
1569
1570} // namespace protobuf
1571} // namespace google
1572
1573// @@protoc_insertion_point(global_scope)
1574
1575#include "google/protobuf/port_undef.inc"
1576
1577#endif // ortools_2fset_5fcover_2fset_5fcover_2eproto_2epb_2eh
friend class ::google::protobuf::MessageLite
SetCoverProto_Subset & operator=(const SetCoverProto_Subset &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
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()
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
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()
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)
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
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
PROTOBUF_CONSTEXPR SetCoverSolutionResponse(::google::protobuf::internal::ConstantInitialized)
::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()
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()
::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 >()
OR-Tools root namespace.
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_
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