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 < 3014000
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 3014000 < 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
37 PROTOBUF_NAMESPACE_OPEN
41 PROTOBUF_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[];
57 class RegularLimitParameters;
58 class RegularLimitParametersDefaultTypeInternal;
61 PROTOBUF_NAMESPACE_OPEN
62 template<> ::operations_research::RegularLimitParameters* Arena::CreateMaybeMessage<::operations_research::RegularLimitParameters>(Arena*);
63 PROTOBUF_NAMESPACE_CLOSE
68 class RegularLimitParameters PROTOBUF_FINAL :
69 public ::PROTOBUF_NAMESPACE_ID::Message {
76 : RegularLimitParameters() {
77 *
this = ::std::move(from);
80 inline RegularLimitParameters&
operator=(
const RegularLimitParameters& from) {
84 inline RegularLimitParameters&
operator=(RegularLimitParameters&& from) noexcept {
85 if (GetArena() == from.GetArena()) {
86 if (
this != &from) InternalSwap(&from);
93 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
94 return GetDescriptor();
97 return GetMetadataStatic().descriptor;
100 return GetMetadataStatic().reflection;
105 return reinterpret_cast<const RegularLimitParameters*
>(
108 static constexpr
int kIndexInFileMessages =
111 friend void swap(RegularLimitParameters&
a, RegularLimitParameters&
b) {
114 inline void Swap(RegularLimitParameters* other) {
115 if (other ==
this)
return;
116 if (GetArena() == other->GetArena()) {
119 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
123 if (other ==
this)
return;
124 GOOGLE_DCHECK(GetArena() == other->GetArena());
130 inline RegularLimitParameters*
New() const final {
131 return CreateMaybeMessage<RegularLimitParameters>(
nullptr);
134 RegularLimitParameters*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
135 return CreateMaybeMessage<RegularLimitParameters>(arena);
137 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
138 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
141 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
142 bool IsInitialized() const final;
144 size_t ByteSizeLong() const final;
145 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
146 ::PROTOBUF_NAMESPACE_ID::
uint8* _InternalSerialize(
147 ::PROTOBUF_NAMESPACE_ID::
uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
148 int GetCachedSize() const final {
return _cached_size_.Get(); }
151 inline void SharedCtor();
152 inline void SharedDtor();
153 void SetCachedSize(
int size)
const final;
154 void InternalSwap(RegularLimitParameters* other);
155 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
156 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
157 return "operations_research.RegularLimitParameters";
162 static void ArenaDtor(
void*
object);
163 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
168 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
180 kTimeFieldNumber = 1,
181 kBranchesFieldNumber = 2,
182 kFailuresFieldNumber = 3,
183 kSolutionsFieldNumber = 4,
184 kSmartTimeCheckFieldNumber = 5,
185 kCumulativeFieldNumber = 6,
228 bool _internal_smart_time_check()
const;
229 void _internal_set_smart_time_check(
bool value);
237 bool _internal_cumulative()
const;
238 void _internal_set_cumulative(
bool value);
245 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
246 typedef void InternalArenaConstructable_;
247 typedef void DestructorSkippable_;
252 bool smart_time_check_;
254 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
255 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto;
263 #pragma GCC diagnostic push
264 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
269 inline void RegularLimitParameters::clear_time() {
270 time_ = PROTOBUF_LONGLONG(0);
277 return _internal_time();
284 _internal_set_time(
value);
289 inline void RegularLimitParameters::clear_branches() {
290 branches_ = PROTOBUF_LONGLONG(0);
297 return _internal_branches();
304 _internal_set_branches(
value);
309 inline void RegularLimitParameters::clear_failures() {
310 failures_ = PROTOBUF_LONGLONG(0);
317 return _internal_failures();
324 _internal_set_failures(
value);
329 inline void RegularLimitParameters::clear_solutions() {
330 solutions_ = PROTOBUF_LONGLONG(0);
337 return _internal_solutions();
344 _internal_set_solutions(
value);
349 inline void RegularLimitParameters::clear_smart_time_check() {
350 smart_time_check_ =
false;
352 inline bool RegularLimitParameters::_internal_smart_time_check()
const {
353 return smart_time_check_;
355 inline bool RegularLimitParameters::smart_time_check()
const {
357 return _internal_smart_time_check();
359 inline void RegularLimitParameters::_internal_set_smart_time_check(
bool value) {
361 smart_time_check_ =
value;
363 inline void RegularLimitParameters::set_smart_time_check(
bool value) {
364 _internal_set_smart_time_check(
value);
369 inline void RegularLimitParameters::clear_cumulative() {
372 inline bool RegularLimitParameters::_internal_cumulative()
const {
375 inline bool RegularLimitParameters::cumulative()
const {
377 return _internal_cumulative();
379 inline void RegularLimitParameters::_internal_set_cumulative(
bool value) {
383 inline void RegularLimitParameters::set_cumulative(
bool value) {
384 _internal_set_cumulative(
value);
389 #pragma GCC diagnostic pop
398 #include <google/protobuf/port_undef.inc>
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::PROTOBUF_NAMESPACE_ID::int64 branches() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void Swap(RegularLimitParameters *other)
::PROTOBUF_NAMESPACE_ID::int64 time() const
RegularLimitParameters(const RegularLimitParameters &from)
RegularLimitParameters * New() const final
static const RegularLimitParameters * internal_default_instance()
void set_time(::PROTOBUF_NAMESPACE_ID::int64 value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_smart_time_check(bool value)
virtual ~RegularLimitParameters()
RegularLimitParameters * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void clear_smart_time_check()
::PROTOBUF_NAMESPACE_ID::int64 solutions() const
RegularLimitParameters(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void UnsafeArenaSwap(RegularLimitParameters *other)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
RegularLimitParameters(RegularLimitParameters &&from) noexcept
void set_solutions(::PROTOBUF_NAMESPACE_ID::int64 value)
friend void swap(RegularLimitParameters &a, RegularLimitParameters &b)
void set_cumulative(bool value)
bool smart_time_check() const
static const RegularLimitParameters & default_instance()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const RegularLimitParameters &from)
RegularLimitParameters & operator=(RegularLimitParameters &&from) noexcept
void CopyFrom(const RegularLimitParameters &from)
void set_failures(::PROTOBUF_NAMESPACE_ID::int64 value)
RegularLimitParameters & operator=(const RegularLimitParameters &from)
void set_branches(::PROTOBUF_NAMESPACE_ID::int64 value)
::PROTOBUF_NAMESPACE_ID::int64 failures() const
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
class operations_research::RegularLimitParametersDefaultTypeInternal _RegularLimitParameters_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto