Google OR-Tools: build/ortools/constraint_solver/search_limit.pb.h Source File
6#ifndef ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto_2epb_2eh
7#define ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/unknown_field_set.h"
35#include "google/protobuf/port_def.inc"
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto OR_PROTO_DLL
75 public:
79#if defined(PROTOBUF_CUSTOM_VTABLE)
80 void operator delete(RegularLimitParameters* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
87 explicit PROTOBUF_CONSTEXPR RegularLimitParameters(::google::protobuf::internal::ConstantInitialized);
98 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
106 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
107 ABSL_ATTRIBUTE_LIFETIME_BOUND {
108 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
110 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
112 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
115 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
131 if (other == this) return;
132 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
135 ::google::protobuf::internal::GenericSwap(this, other);
138 void UnsafeArenaSwap(RegularLimitParameters* PROTOBUF_NONNULL other) {
146 RegularLimitParameters* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
147 return ::google::protobuf::Message::DefaultConstruct<RegularLimitParameters>(arena);
151 using ::google::protobuf::Message::MergeFrom;
152 void MergeFrom(const RegularLimitParameters& from) { RegularLimitParameters::MergeImpl(*this, from); }
155 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
156 const ::google::protobuf::MessageLite& from_msg);
165 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
166 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
167 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
168 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
171 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
172 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
173 ::uint8_t* PROTOBUF_NONNULL target,
174 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
175 return _InternalSerialize(*this, target, stream);
178 ::size_t ByteSizeLong() const final;
179 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
180 ::uint8_t* PROTOBUF_NONNULL target,
181 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
183 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
186 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
187 static void SharedDtor(MessageLite& self);
192 static ::absl::string_view FullMessageName() { return "operations_research.RegularLimitParameters"; }
197 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RegularLimitParameters&& from) noexcept
199 *this = ::std::move(from);
201 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
202 static void* PROTOBUF_NONNULL PlacementNew_(
203 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
204 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
205 static constexpr auto InternalNewImpl_();
208 static constexpr auto InternalGenerateClassData_();
210 ::google::protobuf::Metadata GetMetadata() const;
224 ::int64_t time() const;
225 void set_time(::int64_t value);
228 ::int64_t _internal_time() const;
229 void _internal_set_time(::int64_t value);
238 ::int64_t _internal_branches() const;
239 void _internal_set_branches(::int64_t value);
248 ::int64_t _internal_failures() const;
249 void _internal_set_failures(::int64_t value);
258 ::int64_t _internal_solutions() const;
259 void _internal_set_solutions(::int64_t value);
268 bool _internal_smart_time_check() const;
269 void _internal_set_smart_time_check(bool value);
278 bool _internal_cumulative() const;
279 void _internal_set_cumulative(bool value);
285 friend class ::google::protobuf::internal::TcParser;
286 static const ::google::protobuf::internal::TcParseTable<3, 6,
291 friend class ::google::protobuf::MessageLite;
292 friend class ::google::protobuf::Arena;
293 template <typename T>
294 friend class ::google::protobuf::Arena::InternalHelper;
295 using InternalArenaConstructable_ = void;
296 using DestructorSkippable_ = void;
298 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
300 ::google::protobuf::internal::InternalVisibility visibility,
301 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
303 ::google::protobuf::internal::InternalVisibility visibility,
304 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
306 ::google::protobuf::internal::HasBits<1> _has_bits_;
307 ::google::protobuf::internal::CachedSize _cached_size_;
314 PROTOBUF_TSAN_DECLARE_MEMBER
317 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto;
331#pragma GCC diagnostic push
332#pragma GCC diagnostic ignored "-Wstrict-aliasing"
340 ::google::protobuf::internal::TSanWrite(&_impl_);
341 _impl_.time_ = ::int64_t{0};
342 ClearHasBit(_impl_._has_bits_[0],
354inline ::int64_t RegularLimitParameters::_internal_time() const {
355 ::google::protobuf::internal::TSanRead(&_impl_);
358inline void RegularLimitParameters::_internal_set_time(::int64_t value) {
359 ::google::protobuf::internal::TSanWrite(&_impl_);
360 _impl_.time_ = value;
365 ::google::protobuf::internal::TSanWrite(&_impl_);
366 _impl_.branches_ = ::int64_t{0};
367 ClearHasBit(_impl_._has_bits_[0],
379inline ::int64_t RegularLimitParameters::_internal_branches() const {
380 ::google::protobuf::internal::TSanRead(&_impl_);
381 return _impl_.branches_;
383inline void RegularLimitParameters::_internal_set_branches(::int64_t value) {
384 ::google::protobuf::internal::TSanWrite(&_impl_);
385 _impl_.branches_ = value;
390 ::google::protobuf::internal::TSanWrite(&_impl_);
391 _impl_.failures_ = ::int64_t{0};
392 ClearHasBit(_impl_._has_bits_[0],
404inline ::int64_t RegularLimitParameters::_internal_failures() const {
405 ::google::protobuf::internal::TSanRead(&_impl_);
406 return _impl_.failures_;
408inline void RegularLimitParameters::_internal_set_failures(::int64_t value) {
409 ::google::protobuf::internal::TSanWrite(&_impl_);
410 _impl_.failures_ = value;
415 ::google::protobuf::internal::TSanWrite(&_impl_);
416 _impl_.solutions_ = ::int64_t{0};
417 ClearHasBit(_impl_._has_bits_[0],
429inline ::int64_t RegularLimitParameters::_internal_solutions() const {
430 ::google::protobuf::internal::TSanRead(&_impl_);
431 return _impl_.solutions_;
433inline void RegularLimitParameters::_internal_set_solutions(::int64_t value) {
434 ::google::protobuf::internal::TSanWrite(&_impl_);
435 _impl_.solutions_ = value;
440 ::google::protobuf::internal::TSanWrite(&_impl_);
441 _impl_.smart_time_check_ = false;
442 ClearHasBit(_impl_._has_bits_[0],
454inline bool RegularLimitParameters::_internal_smart_time_check() const {
455 ::google::protobuf::internal::TSanRead(&_impl_);
456 return _impl_.smart_time_check_;
458inline void RegularLimitParameters::_internal_set_smart_time_check(bool value) {
459 ::google::protobuf::internal::TSanWrite(&_impl_);
460 _impl_.smart_time_check_ = value;
465 ::google::protobuf::internal::TSanWrite(&_impl_);
466 _impl_.cumulative_ = false;
467 ClearHasBit(_impl_._has_bits_[0],
479inline bool RegularLimitParameters::_internal_cumulative() const {
480 ::google::protobuf::internal::TSanRead(&_impl_);
481 return _impl_.cumulative_;
483inline void RegularLimitParameters::_internal_set_cumulative(bool value) {
484 ::google::protobuf::internal::TSanWrite(&_impl_);
485 _impl_.cumulative_ = value;
498#include "google/protobuf/port_undef.inc"
Definition search_limit.pb.h:76
void Swap(RegularLimitParameters *PROTOBUF_NONNULL other)
Definition search_limit.pb.h:132
void set_branches(::int64_t value)
Definition search_limit.pb.h:379
friend class ::google::protobuf::MessageLite
Definition search_limit.pb.h:293
void CopyFrom(const RegularLimitParameters &from)
@ kSolutionsFieldNumber
Definition search_limit.pb.h:220
@ kCumulativeFieldNumber
Definition search_limit.pb.h:222
@ kSmartTimeCheckFieldNumber
Definition search_limit.pb.h:221
@ kFailuresFieldNumber
Definition search_limit.pb.h:219
void clear_cumulative()
Definition search_limit.pb.h:469
bool IsInitialized() const
Definition search_limit.pb.h:161
void clear_smart_time_check()
Definition search_limit.pb.h:444
::int64_t time() const
Definition search_limit.pb.h:350
void set_failures(::int64_t value)
Definition search_limit.pb.h:404
RegularLimitParameters(const RegularLimitParameters &from)
Definition search_limit.pb.h:91
void clear_solutions()
Definition search_limit.pb.h:419
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition search_limit.pb.h:108
::int64_t branches() const
Definition search_limit.pb.h:375
bool smart_time_check() const
Definition search_limit.pb.h:450
RegularLimitParameters()
Definition search_limit.pb.h:78
void set_solutions(::int64_t value)
Definition search_limit.pb.h:429
void clear_branches()
Definition search_limit.pb.h:369
void clear_time()
Definition search_limit.pb.h:344
void set_smart_time_check(bool value)
Definition search_limit.pb.h:454
void set_time(::int64_t value)
Definition search_limit.pb.h:354
PROTOBUF_CONSTEXPR RegularLimitParameters(::google::protobuf::internal::ConstantInitialized)
void set_cumulative(bool value)
Definition search_limit.pb.h:479
RegularLimitParameters & operator=(const RegularLimitParameters &from)
Definition search_limit.pb.h:94
Impl_ _impl_
Definition search_limit.pb.h:318
void clear_failures()
Definition search_limit.pb.h:394
bool cumulative() const
Definition search_limit.pb.h:475
::int64_t failures() const
Definition search_limit.pb.h:400
::int64_t solutions() const
Definition search_limit.pb.h:425
::absl::string_view GetAnyMessageName()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RegularLimitParametersDefaultTypeInternal _RegularLimitParameters_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RegularLimitParameters_class_data_
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto