Google OR-Tools: build/ortools/constraint_solver/search_limit.pb.h Source File

1

2

3

4

5

6#ifndef ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto_2epb_2eh

7#define ortools_2fconstraint_5fsolver_2fsearch_5flimit_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"

30#include "google/protobuf/extension_set.h"

31#include "google/protobuf/unknown_field_set.h"

32

33

34

35#include "google/protobuf/port_def.inc"

36

37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto OR_PROTO_DLL

38

40namespace protobuf {

42template <typename T>

44}

45}

46}

47

48

52extern "C" {

54}

60}

63}

64}

65

67

68

69

70

71

72

74 {

75 public:

79#if defined(PROTOBUF_CUSTOM_VTABLE)

80 void operator delete(RegularLimitParameters* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {

81 SharedDtor(*msg);

83 }

84#endif

85

86 template <typename = void>

87 explicit PROTOBUF_CONSTEXPR RegularLimitParameters(::google::protobuf::internal::ConstantInitialized);

88

94 return *this;

95 }

97 if (this == &from) return *this;

98 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {

99 InternalSwap(&from);

100 } else {

101 CopyFrom(from);

102 }

103 return *this;

104 }

105

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);

109 }

110 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()

111 ABSL_ATTRIBUTE_LIFETIME_BOUND {

112 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();

113 }

114

115 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {

116 return GetDescriptor();

118 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {

119 return default_instance().GetMetadata().descriptor;

121 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {

122 return default_instance().GetMetadata().reflection;

127 }

128 static constexpr int kIndexInFileMessages = 0;

131 if (other == this) return;

132 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {

133 InternalSwap(other);

134 } else {

135 ::google::protobuf::internal::GenericSwap(this, other);

136 }

137 }

138 void UnsafeArenaSwap(RegularLimitParameters* PROTOBUF_NONNULL other) {

139 if (other == this) return;

140 ABSL_DCHECK(GetArena() == other->GetArena());

141 InternalSwap(other);

142 }

143

144

145

146 RegularLimitParameters* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {

147 return ::google::protobuf::Message::DefaultConstruct<RegularLimitParameters>(arena);

149 using ::google::protobuf::Message::CopyFrom;

151 using ::google::protobuf::Message::MergeFrom;

152 void MergeFrom(const RegularLimitParameters& from) { RegularLimitParameters::MergeImpl(*this, from); }

153

155 static void MergeImpl(::google::protobuf::MessageLite& to_msg,

156 const ::google::protobuf::MessageLite& from_msg);

157

158 public:

160 return true;

162 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;

163 #if defined(PROTOBUF_CUSTOM_VTABLE)

164 private:

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);

169

170 public:

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);

176 }

177 #else

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;

182 #endif

183 int GetCachedSize() const { return _impl_._cached_size_.Get(); }

184

186 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);

187 static void SharedDtor(MessageLite& self);

189 private:

190 template <typename T>

192 static ::absl::string_view FullMessageName() { return "operations_research.RegularLimitParameters"; }

193

197 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RegularLimitParameters&& from) noexcept

199 *this = ::std::move(from);

200 }

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_();

206

207 public:

208 static constexpr auto InternalGenerateClassData_();

209

210 ::google::protobuf::Metadata GetMetadata() const;

211

212

213

214 enum : int {

215 kTimeFieldNumber = 1,

216 kBranchesFieldNumber = 2,

222

224 ::int64_t time() const;

225 void set_time(::int64_t value);

226

227 private:

228 ::int64_t _internal_time() const;

229 void _internal_set_time(::int64_t value);

230

231 public:

232

236

237 private:

238 ::int64_t _internal_branches() const;

239 void _internal_set_branches(::int64_t value);

240

241 public:

242

246

247 private:

248 ::int64_t _internal_failures() const;

249 void _internal_set_failures(::int64_t value);

250

251 public:

252

256

257 private:

258 ::int64_t _internal_solutions() const;

259 void _internal_set_solutions(::int64_t value);

260

261 public:

262

266

267 private:

268 bool _internal_smart_time_check() const;

269 void _internal_set_smart_time_check(bool value);

270

271 public:

272

276

277 private:

278 bool _internal_cumulative() const;

279 void _internal_set_cumulative(bool value);

280

281 public:

282

283 private:

285 friend class ::google::protobuf::internal::TcParser;

286 static const ::google::protobuf::internal::TcParseTable<3, 6,

288 2>

289 _table_;

290

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;

297 struct Impl_ {

298 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;

299 inline explicit Impl_(

300 ::google::protobuf::internal::InternalVisibility visibility,

301 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);

302 inline explicit Impl_(

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_;

308 ::int64_t time_;

309 ::int64_t branches_;

310 ::int64_t failures_;

311 ::int64_t solutions_;

312 bool smart_time_check_;

313 bool cumulative_;

314 PROTOBUF_TSAN_DECLARE_MEMBER

315 };

316 union { Impl_ _impl_; };

317 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsearch_5flimit_2eproto;

321

322

323

324

325

326

327

328

329

330#ifdef __GNUC__

331#pragma GCC diagnostic push

332#pragma GCC diagnostic ignored "-Wstrict-aliasing"

333#endif

334

335

336

337

338

340 ::google::protobuf::internal::TSanWrite(&_impl_);

341 _impl_.time_ = ::int64_t{0};

342 ClearHasBit(_impl_._has_bits_[0],

343 0x00000001U);

346

347 return _internal_time();

348}

350 _internal_set_time(value);

351 SetHasBit(_impl_._has_bits_[0], 0x00000001U);

352

353}

354inline ::int64_t RegularLimitParameters::_internal_time() const {

355 ::google::protobuf::internal::TSanRead(&_impl_);

357}

358inline void RegularLimitParameters::_internal_set_time(::int64_t value) {

359 ::google::protobuf::internal::TSanWrite(&_impl_);

360 _impl_.time_ = value;

361}

362

363

365 ::google::protobuf::internal::TSanWrite(&_impl_);

366 _impl_.branches_ = ::int64_t{0};

367 ClearHasBit(_impl_._has_bits_[0],

368 0x00000002U);

371

372 return _internal_branches();

373}

375 _internal_set_branches(value);

376 SetHasBit(_impl_._has_bits_[0], 0x00000002U);

377

378}

379inline ::int64_t RegularLimitParameters::_internal_branches() const {

380 ::google::protobuf::internal::TSanRead(&_impl_);

381 return _impl_.branches_;

382}

383inline void RegularLimitParameters::_internal_set_branches(::int64_t value) {

384 ::google::protobuf::internal::TSanWrite(&_impl_);

385 _impl_.branches_ = value;

386}

387

388

390 ::google::protobuf::internal::TSanWrite(&_impl_);

391 _impl_.failures_ = ::int64_t{0};

392 ClearHasBit(_impl_._has_bits_[0],

393 0x00000004U);

396

397 return _internal_failures();

398}

400 _internal_set_failures(value);

401 SetHasBit(_impl_._has_bits_[0], 0x00000004U);

402

403}

404inline ::int64_t RegularLimitParameters::_internal_failures() const {

405 ::google::protobuf::internal::TSanRead(&_impl_);

406 return _impl_.failures_;

407}

408inline void RegularLimitParameters::_internal_set_failures(::int64_t value) {

409 ::google::protobuf::internal::TSanWrite(&_impl_);

410 _impl_.failures_ = value;

411}

412

413

415 ::google::protobuf::internal::TSanWrite(&_impl_);

416 _impl_.solutions_ = ::int64_t{0};

417 ClearHasBit(_impl_._has_bits_[0],

418 0x00000008U);

421

422 return _internal_solutions();

423}

425 _internal_set_solutions(value);

426 SetHasBit(_impl_._has_bits_[0], 0x00000008U);

427

428}

429inline ::int64_t RegularLimitParameters::_internal_solutions() const {

430 ::google::protobuf::internal::TSanRead(&_impl_);

431 return _impl_.solutions_;

432}

433inline void RegularLimitParameters::_internal_set_solutions(::int64_t value) {

434 ::google::protobuf::internal::TSanWrite(&_impl_);

435 _impl_.solutions_ = value;

436}

437

438

440 ::google::protobuf::internal::TSanWrite(&_impl_);

441 _impl_.smart_time_check_ = false;

442 ClearHasBit(_impl_._has_bits_[0],

443 0x00000010U);

446

447 return _internal_smart_time_check();

448}

450 _internal_set_smart_time_check(value);

451 SetHasBit(_impl_._has_bits_[0], 0x00000010U);

452

453}

454inline bool RegularLimitParameters::_internal_smart_time_check() const {

455 ::google::protobuf::internal::TSanRead(&_impl_);

456 return _impl_.smart_time_check_;

457}

458inline void RegularLimitParameters::_internal_set_smart_time_check(bool value) {

459 ::google::protobuf::internal::TSanWrite(&_impl_);

460 _impl_.smart_time_check_ = value;

461}

462

463

465 ::google::protobuf::internal::TSanWrite(&_impl_);

466 _impl_.cumulative_ = false;

467 ClearHasBit(_impl_._has_bits_[0],

468 0x00000020U);

471

472 return _internal_cumulative();

473}

475 _internal_set_cumulative(value);

476 SetHasBit(_impl_._has_bits_[0], 0x00000020U);

477

478}

479inline bool RegularLimitParameters::_internal_cumulative() const {

480 ::google::protobuf::internal::TSanRead(&_impl_);

481 return _impl_.cumulative_;

482}

483inline void RegularLimitParameters::_internal_set_cumulative(bool value) {

484 ::google::protobuf::internal::TSanWrite(&_impl_);

485 _impl_.cumulative_ = value;

486}

487

488#ifdef __GNUC__

489#pragma GCC diagnostic pop

490#endif

491

492

493}

494

495

496

497

498#include "google/protobuf/port_undef.inc"

499

500#endif

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