4#ifndef GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3019000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 3019001 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_table_driven.h>
27#include <google/protobuf/generated_message_util.h>
28#include <google/protobuf/metadata_lite.h>
29#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/message.h>
31#include <google/protobuf/repeated_field.h>
32#include <google/protobuf/extension_set.h>
33#include <google/protobuf/unknown_field_set.h>
35#include <google/protobuf/port_def.inc>
36#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto
37PROTOBUF_NAMESPACE_OPEN
41PROTOBUF_NAMESPACE_CLOSE
45 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
47 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
49 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
51 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
57class RegularLimitParameters;
58struct RegularLimitParametersDefaultTypeInternal;
61PROTOBUF_NAMESPACE_OPEN
63PROTOBUF_NAMESPACE_CLOSE
69 public ::PROTOBUF_NAMESPACE_ID::Message {
78 *
this = ::std::move(from);
86 if (
this == &from)
return *
this;
87 if (GetOwningArena() == from.GetOwningArena()
88 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
89 && GetOwningArena() !=
nullptr
99 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
122 if (other ==
this)
return;
123 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
124 if (GetOwningArena() !=
nullptr &&
125 GetOwningArena() == other->GetOwningArena()) {
127 if (GetOwningArena() == other->GetOwningArena()) {
131 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
135 if (other ==
this)
return;
136 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
143 return CreateMaybeMessage<RegularLimitParameters>(arena);
145 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
147 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
150 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
152 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
158 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
164 void SetCachedSize(
int size)
const final;
168 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
169 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
170 return "operations_research.RegularLimitParameters";
174 bool is_message_owned =
false);
176 static void ArenaDtor(
void*
object);
177 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
181 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
183 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
199 int64_t
time()
const;
202 int64_t _internal_time()
const;
203 void _internal_set_time(int64_t
value);
211 int64_t _internal_branches()
const;
212 void _internal_set_branches(int64_t
value);
220 int64_t _internal_failures()
const;
221 void _internal_set_failures(int64_t
value);
229 int64_t _internal_solutions()
const;
230 void _internal_set_solutions(int64_t
value);
238 bool _internal_smart_time_check()
const;
239 void _internal_set_smart_time_check(
bool value);
247 bool _internal_cumulative()
const;
248 void _internal_set_cumulative(
bool value);
255 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
256 typedef void InternalArenaConstructable_;
257 typedef void DestructorSkippable_;
262 bool smart_time_check_;
264 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
265 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto;
273 #pragma GCC diagnostic push
274 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
282inline int64_t RegularLimitParameters::_internal_time()
const {
287 return _internal_time();
289inline void RegularLimitParameters::_internal_set_time(int64_t
value) {
294 _internal_set_time(
value);
300 branches_ = int64_t{0};
302inline int64_t RegularLimitParameters::_internal_branches()
const {
307 return _internal_branches();
309inline void RegularLimitParameters::_internal_set_branches(int64_t
value) {
314 _internal_set_branches(
value);
320 failures_ = int64_t{0};
322inline int64_t RegularLimitParameters::_internal_failures()
const {
327 return _internal_failures();
329inline void RegularLimitParameters::_internal_set_failures(int64_t
value) {
334 _internal_set_failures(
value);
340 solutions_ = int64_t{0};
342inline int64_t RegularLimitParameters::_internal_solutions()
const {
347 return _internal_solutions();
349inline void RegularLimitParameters::_internal_set_solutions(int64_t
value) {
354 _internal_set_solutions(
value);
360 smart_time_check_ =
false;
362inline bool RegularLimitParameters::_internal_smart_time_check()
const {
363 return smart_time_check_;
367 return _internal_smart_time_check();
369inline void RegularLimitParameters::_internal_set_smart_time_check(
bool value) {
371 smart_time_check_ =
value;
374 _internal_set_smart_time_check(
value);
382inline bool RegularLimitParameters::_internal_cumulative()
const {
387 return _internal_cumulative();
389inline void RegularLimitParameters::_internal_set_cumulative(
bool value) {
394 _internal_set_cumulative(
value);
399 #pragma GCC diagnostic pop
408#include <google/protobuf/port_undef.inc>
void Swap(RegularLimitParameters *other)
int GetCachedSize() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void set_smart_time_check(bool value)
static const ClassData _class_data_
RegularLimitParameters & operator=(const RegularLimitParameters &from)
void clear_smart_time_check()
void set_time(int64_t value)
void set_solutions(int64_t value)
RegularLimitParameters * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void UnsafeArenaSwap(RegularLimitParameters *other)
bool IsInitialized() const final
static constexpr int kIndexInFileMessages
RegularLimitParameters(RegularLimitParameters &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_branches(int64_t value)
friend void swap(RegularLimitParameters &a, RegularLimitParameters &b)
static const RegularLimitParameters * internal_default_instance()
~RegularLimitParameters() override
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const RegularLimitParameters & default_instance()
void set_cumulative(bool value)
bool smart_time_check() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void MergeFrom(const RegularLimitParameters &from)
void CopyFrom(const RegularLimitParameters &from)
RegularLimitParameters & operator=(RegularLimitParameters &&from) noexcept
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
@ kSmartTimeCheckFieldNumber
size_t ByteSizeLong() const final
int64_t solutions() const
void set_failures(int64_t value)
Collection of objects used to extend the Constraint Solver library.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RegularLimitParametersDefaultTypeInternal _RegularLimitParameters_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto