Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
routes_support_graph.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/sat/routes_support_graph.proto
4// Protobuf C++ Version: 6.33.1
5
6#ifndef ortools_2fsat_2froutes_5fsupport_5fgraph_2eproto_2epb_2eh
7#define ortools_2fsat_2froutes_5fsupport_5fgraph_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/unknown_field_set.h"
32// @@protoc_insertion_point(includes)
33
34// Must be included last.
35#include "google/protobuf/port_def.inc"
36
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fsat_2froutes_5fsupport_5fgraph_2eproto OR_PROTO_DLL
38
39namespace google {
40namespace protobuf {
41namespace internal {
42template <typename T>
43::absl::string_view GetAnyMessageName();
44} // namespace internal
45} // namespace protobuf
46} // namespace google
47
48// Internal implementation detail -- do not use these members.
50 static const ::uint32_t offsets[];
51};
52extern "C" {
53OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fsat_2froutes_5fsupport_5fgraph_2eproto;
54} // extern "C"
55namespace operations_research {
56namespace sat {
57class ArcLpValue;
60OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ArcLpValue_class_data_;
64OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull RoutesSupportGraphProto_class_data_;
65} // namespace sat
66} // namespace operations_research
67namespace google {
68namespace protobuf {
69} // namespace protobuf
70} // namespace google
71
72namespace operations_research {
73namespace sat {
74
75// ===================================================================
76
77
78// -------------------------------------------------------------------
79
80class OR_PROTO_DLL ArcLpValue final : public ::google::protobuf::Message
81/* @@protoc_insertion_point(class_definition:operations_research.sat.ArcLpValue) */ {
82 public:
83 inline ArcLpValue() : ArcLpValue(nullptr) {}
84 ~ArcLpValue() PROTOBUF_FINAL;
86#if defined(PROTOBUF_CUSTOM_VTABLE)
87 void operator delete(ArcLpValue* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
88 SharedDtor(*msg);
89 ::google::protobuf::internal::SizedDelete(msg, sizeof(ArcLpValue));
90 }
91#endif
92
93 template <typename = void>
94 explicit PROTOBUF_CONSTEXPR ArcLpValue(::google::protobuf::internal::ConstantInitialized);
95
96 inline ArcLpValue(const ArcLpValue& from) : ArcLpValue(nullptr, from) {}
97 inline ArcLpValue(ArcLpValue&& from) noexcept
98 : ArcLpValue(nullptr, ::std::move(from)) {}
99 inline ArcLpValue& operator=(const ArcLpValue& from) {
100 CopyFrom(from);
101 return *this;
102 }
103 inline ArcLpValue& operator=(ArcLpValue&& from) noexcept {
104 if (this == &from) return *this;
105 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
106 InternalSwap(&from);
107 } else {
108 CopyFrom(from);
109 }
110 return *this;
111 }
112
113 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
114 ABSL_ATTRIBUTE_LIFETIME_BOUND {
115 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
116 }
117 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
118 ABSL_ATTRIBUTE_LIFETIME_BOUND {
119 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
120 }
121
122 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
123 return GetDescriptor();
125 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
126 return default_instance().GetMetadata().descriptor;
128 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
129 return default_instance().GetMetadata().reflection;
131 static const ArcLpValue& default_instance() {
132 return *reinterpret_cast<const ArcLpValue*>(
134 }
135 static constexpr int kIndexInFileMessages = 0;
136 friend void swap(ArcLpValue& a, ArcLpValue& b) { a.Swap(&b); }
137 inline void Swap(ArcLpValue* PROTOBUF_NONNULL other) {
138 if (other == this) return;
139 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
140 InternalSwap(other);
141 } else {
142 ::google::protobuf::internal::GenericSwap(this, other);
143 }
144 }
145 void UnsafeArenaSwap(ArcLpValue* PROTOBUF_NONNULL other) {
146 if (other == this) return;
147 ABSL_DCHECK(GetArena() == other->GetArena());
148 InternalSwap(other);
149 }
150
151 // implements Message ----------------------------------------------
152
153 ArcLpValue* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
154 return ::google::protobuf::Message::DefaultConstruct<ArcLpValue>(arena);
156 using ::google::protobuf::Message::CopyFrom;
157 void CopyFrom(const ArcLpValue& from);
158 using ::google::protobuf::Message::MergeFrom;
159 void MergeFrom(const ArcLpValue& from) { ArcLpValue::MergeImpl(*this, from); }
160
161 private:
162 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
163 const ::google::protobuf::MessageLite& from_msg);
164
165 public:
166 bool IsInitialized() const {
167 return true;
169 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
170 #if defined(PROTOBUF_CUSTOM_VTABLE)
171 private:
172 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
173 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
174 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
175 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
176
177 public:
178 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
179 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
180 ::uint8_t* PROTOBUF_NONNULL target,
181 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
182 return _InternalSerialize(*this, target, stream);
183 }
184 #else // PROTOBUF_CUSTOM_VTABLE
185 ::size_t ByteSizeLong() const final;
186 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
187 ::uint8_t* PROTOBUF_NONNULL target,
188 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
189 #endif // PROTOBUF_CUSTOM_VTABLE
190 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
191
192 private:
193 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
194 static void SharedDtor(MessageLite& self);
195 void InternalSwap(ArcLpValue* PROTOBUF_NONNULL other);
196 private:
197 template <typename T>
198 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
199 static ::absl::string_view FullMessageName() { return "operations_research.sat.ArcLpValue"; }
200
201 explicit ArcLpValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
202 ArcLpValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ArcLpValue& from);
204 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ArcLpValue&& from) noexcept
205 : ArcLpValue(arena) {
206 *this = ::std::move(from);
207 }
208 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
209 static void* PROTOBUF_NONNULL PlacementNew_(
210 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
211 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
212 static constexpr auto InternalNewImpl_();
213
214 public:
215 static constexpr auto InternalGenerateClassData_();
216
217 ::google::protobuf::Metadata GetMetadata() const;
218 // nested types ----------------------------------------------------
219
220 // accessors -------------------------------------------------------
221 enum : int {
222 kTailFieldNumber = 1,
223 kHeadFieldNumber = 2,
225 };
226 // optional int32 tail = 1;
227 bool has_tail() const;
228 void clear_tail() ;
229 ::int32_t tail() const;
230 void set_tail(::int32_t value);
231
232 private:
233 ::int32_t _internal_tail() const;
234 void _internal_set_tail(::int32_t value);
235
236 public:
237 // optional int32 head = 2;
238 bool has_head() const;
239 void clear_head() ;
240 ::int32_t head() const;
241 void set_head(::int32_t value);
242
243 private:
244 ::int32_t _internal_head() const;
245 void _internal_set_head(::int32_t value);
246
247 public:
248 // optional double lp_value = 3;
249 bool has_lp_value() const;
250 void clear_lp_value() ;
251 double lp_value() const;
252 void set_lp_value(double value);
253
254 private:
255 double _internal_lp_value() const;
256 void _internal_set_lp_value(double value);
257
258 public:
259 // @@protoc_insertion_point(class_scope:operations_research.sat.ArcLpValue)
260 private:
261 class _Internal;
262 friend class ::google::protobuf::internal::TcParser;
263 static const ::google::protobuf::internal::TcParseTable<2, 3,
264 0, 0,
265 2>
266 _table_;
267
268 friend class ::google::protobuf::MessageLite;
269 friend class ::google::protobuf::Arena;
270 template <typename T>
271 friend class ::google::protobuf::Arena::InternalHelper;
272 using InternalArenaConstructable_ = void;
273 using DestructorSkippable_ = void;
274 struct Impl_ {
275 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
276 inline explicit Impl_(
277 ::google::protobuf::internal::InternalVisibility visibility,
278 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
279 inline explicit Impl_(
280 ::google::protobuf::internal::InternalVisibility visibility,
281 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
282 const ArcLpValue& from_msg);
283 ::google::protobuf::internal::HasBits<1> _has_bits_;
284 ::google::protobuf::internal::CachedSize _cached_size_;
285 ::int32_t tail_;
286 ::int32_t head_;
287 double lp_value_;
288 PROTOBUF_TSAN_DECLARE_MEMBER
289 };
290 union { Impl_ _impl_; };
291 friend struct ::TableStruct_ortools_2fsat_2froutes_5fsupport_5fgraph_2eproto;
294OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ArcLpValue_class_data_;
295// -------------------------------------------------------------------
296
297class OR_PROTO_DLL RoutesSupportGraphProto final : public ::google::protobuf::Message
298/* @@protoc_insertion_point(class_definition:operations_research.sat.RoutesSupportGraphProto) */ {
299 public:
301 ~RoutesSupportGraphProto() PROTOBUF_FINAL;
302
303#if defined(PROTOBUF_CUSTOM_VTABLE)
304 void operator delete(RoutesSupportGraphProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
305 SharedDtor(*msg);
306 ::google::protobuf::internal::SizedDelete(msg, sizeof(RoutesSupportGraphProto));
307 }
308#endif
309
310 template <typename = void>
311 explicit PROTOBUF_CONSTEXPR RoutesSupportGraphProto(::google::protobuf::internal::ConstantInitialized);
312
313 inline RoutesSupportGraphProto(const RoutesSupportGraphProto& from) : RoutesSupportGraphProto(nullptr, from) {}
315 : RoutesSupportGraphProto(nullptr, ::std::move(from)) {}
317 CopyFrom(from);
318 return *this;
320 inline RoutesSupportGraphProto& operator=(RoutesSupportGraphProto&& from) noexcept {
321 if (this == &from) return *this;
322 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
323 InternalSwap(&from);
324 } else {
325 CopyFrom(from);
326 }
327 return *this;
328 }
329
330 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
331 ABSL_ATTRIBUTE_LIFETIME_BOUND {
332 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
334 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
335 ABSL_ATTRIBUTE_LIFETIME_BOUND {
336 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
338
339 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
340 return GetDescriptor();
341 }
342 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
343 return default_instance().GetMetadata().descriptor;
344 }
345 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
346 return default_instance().GetMetadata().reflection;
347 }
352 static constexpr int kIndexInFileMessages = 1;
353 friend void swap(RoutesSupportGraphProto& a, RoutesSupportGraphProto& b) { a.Swap(&b); }
354 inline void Swap(RoutesSupportGraphProto* PROTOBUF_NONNULL other) {
355 if (other == this) return;
356 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
357 InternalSwap(other);
358 } else {
359 ::google::protobuf::internal::GenericSwap(this, other);
360 }
361 }
362 void UnsafeArenaSwap(RoutesSupportGraphProto* PROTOBUF_NONNULL other) {
363 if (other == this) return;
364 ABSL_DCHECK(GetArena() == other->GetArena());
365 InternalSwap(other);
366 }
367
368 // implements Message ----------------------------------------------
369
370 RoutesSupportGraphProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
371 return ::google::protobuf::Message::DefaultConstruct<RoutesSupportGraphProto>(arena);
372 }
373 using ::google::protobuf::Message::CopyFrom;
374 void CopyFrom(const RoutesSupportGraphProto& from);
375 using ::google::protobuf::Message::MergeFrom;
376 void MergeFrom(const RoutesSupportGraphProto& from) { RoutesSupportGraphProto::MergeImpl(*this, from); }
377
378 private:
379 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
380 const ::google::protobuf::MessageLite& from_msg);
381
382 public:
383 bool IsInitialized() const {
384 return true;
385 }
386 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
387 #if defined(PROTOBUF_CUSTOM_VTABLE)
388 private:
389 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
390 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
391 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
392 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
393
394 public:
395 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
396 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
397 ::uint8_t* PROTOBUF_NONNULL target,
398 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
399 return _InternalSerialize(*this, target, stream);
400 }
401 #else // PROTOBUF_CUSTOM_VTABLE
402 ::size_t ByteSizeLong() const final;
403 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
404 ::uint8_t* PROTOBUF_NONNULL target,
405 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
406 #endif // PROTOBUF_CUSTOM_VTABLE
407 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
408
409 private:
410 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
411 static void SharedDtor(MessageLite& self);
412 void InternalSwap(RoutesSupportGraphProto* PROTOBUF_NONNULL other);
413 private:
414 template <typename T>
415 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
416 static ::absl::string_view FullMessageName() { return "operations_research.sat.RoutesSupportGraphProto"; }
417
418 explicit RoutesSupportGraphProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
419 RoutesSupportGraphProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoutesSupportGraphProto& from);
421 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoutesSupportGraphProto&& from) noexcept
422 : RoutesSupportGraphProto(arena) {
423 *this = ::std::move(from);
424 }
425 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
426 static void* PROTOBUF_NONNULL PlacementNew_(
427 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
428 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
429 static constexpr auto InternalNewImpl_();
430
431 public:
432 static constexpr auto InternalGenerateClassData_();
433
434 ::google::protobuf::Metadata GetMetadata() const;
435 // nested types ----------------------------------------------------
436
437 // accessors -------------------------------------------------------
438 enum : int {
439 kArcLpValuesFieldNumber = 1,
440 };
441 // repeated .operations_research.sat.ArcLpValue arc_lp_values = 1;
443 private:
444 int _internal_arc_lp_values_size() const;
445
446 public:
447 void clear_arc_lp_values() ;
449 ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>* PROTOBUF_NONNULL mutable_arc_lp_values();
450
451 private:
452 const ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>& _internal_arc_lp_values() const;
453 ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>* PROTOBUF_NONNULL _internal_mutable_arc_lp_values();
454 public:
455 const ::operations_research::sat::ArcLpValue& arc_lp_values(int index) const;
457 const ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>& arc_lp_values() const;
458 // @@protoc_insertion_point(class_scope:operations_research.sat.RoutesSupportGraphProto)
459 private:
460 class _Internal;
461 friend class ::google::protobuf::internal::TcParser;
462 static const ::google::protobuf::internal::TcParseTable<0, 1,
463 1, 0,
464 2>
465 _table_;
466
467 friend class ::google::protobuf::MessageLite;
468 friend class ::google::protobuf::Arena;
469 template <typename T>
470 friend class ::google::protobuf::Arena::InternalHelper;
471 using InternalArenaConstructable_ = void;
472 using DestructorSkippable_ = void;
473 struct Impl_ {
474 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
475 inline explicit Impl_(
476 ::google::protobuf::internal::InternalVisibility visibility,
477 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
478 inline explicit Impl_(
479 ::google::protobuf::internal::InternalVisibility visibility,
480 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
481 const RoutesSupportGraphProto& from_msg);
482 ::google::protobuf::internal::HasBits<1> _has_bits_;
483 ::google::protobuf::internal::CachedSize _cached_size_;
484 ::google::protobuf::RepeatedPtrField< ::operations_research::sat::ArcLpValue > arc_lp_values_;
485 PROTOBUF_TSAN_DECLARE_MEMBER
486 };
487 union { Impl_ _impl_; };
488 friend struct ::TableStruct_ortools_2fsat_2froutes_5fsupport_5fgraph_2eproto;
489};
491OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull RoutesSupportGraphProto_class_data_;
492
493// ===================================================================
494
495
496
497
498// ===================================================================
499
500
501#ifdef __GNUC__
502#pragma GCC diagnostic push
503#pragma GCC diagnostic ignored "-Wstrict-aliasing"
504#endif // __GNUC__
505// -------------------------------------------------------------------
506
507// ArcLpValue
508
509// optional int32 tail = 1;
510inline bool ArcLpValue::has_tail() const {
511 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
512 return value;
513}
514inline void ArcLpValue::clear_tail() {
515 ::google::protobuf::internal::TSanWrite(&_impl_);
516 _impl_.tail_ = 0;
517 ClearHasBit(_impl_._has_bits_[0],
518 0x00000001U);
519}
520inline ::int32_t ArcLpValue::tail() const {
521 // @@protoc_insertion_point(field_get:operations_research.sat.ArcLpValue.tail)
522 return _internal_tail();
523}
524inline void ArcLpValue::set_tail(::int32_t value) {
525 _internal_set_tail(value);
526 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
527 // @@protoc_insertion_point(field_set:operations_research.sat.ArcLpValue.tail)
528}
529inline ::int32_t ArcLpValue::_internal_tail() const {
530 ::google::protobuf::internal::TSanRead(&_impl_);
531 return _impl_.tail_;
532}
533inline void ArcLpValue::_internal_set_tail(::int32_t value) {
534 ::google::protobuf::internal::TSanWrite(&_impl_);
535 _impl_.tail_ = value;
536}
537
538// optional int32 head = 2;
539inline bool ArcLpValue::has_head() const {
540 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
541 return value;
542}
543inline void ArcLpValue::clear_head() {
544 ::google::protobuf::internal::TSanWrite(&_impl_);
545 _impl_.head_ = 0;
546 ClearHasBit(_impl_._has_bits_[0],
547 0x00000002U);
548}
549inline ::int32_t ArcLpValue::head() const {
550 // @@protoc_insertion_point(field_get:operations_research.sat.ArcLpValue.head)
551 return _internal_head();
552}
553inline void ArcLpValue::set_head(::int32_t value) {
554 _internal_set_head(value);
555 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
556 // @@protoc_insertion_point(field_set:operations_research.sat.ArcLpValue.head)
557}
558inline ::int32_t ArcLpValue::_internal_head() const {
559 ::google::protobuf::internal::TSanRead(&_impl_);
560 return _impl_.head_;
561}
562inline void ArcLpValue::_internal_set_head(::int32_t value) {
563 ::google::protobuf::internal::TSanWrite(&_impl_);
564 _impl_.head_ = value;
565}
566
567// optional double lp_value = 3;
568inline bool ArcLpValue::has_lp_value() const {
569 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
570 return value;
571}
572inline void ArcLpValue::clear_lp_value() {
573 ::google::protobuf::internal::TSanWrite(&_impl_);
574 _impl_.lp_value_ = 0;
575 ClearHasBit(_impl_._has_bits_[0],
576 0x00000004U);
577}
578inline double ArcLpValue::lp_value() const {
579 // @@protoc_insertion_point(field_get:operations_research.sat.ArcLpValue.lp_value)
580 return _internal_lp_value();
581}
582inline void ArcLpValue::set_lp_value(double value) {
583 _internal_set_lp_value(value);
584 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
585 // @@protoc_insertion_point(field_set:operations_research.sat.ArcLpValue.lp_value)
586}
587inline double ArcLpValue::_internal_lp_value() const {
588 ::google::protobuf::internal::TSanRead(&_impl_);
589 return _impl_.lp_value_;
590}
591inline void ArcLpValue::_internal_set_lp_value(double value) {
592 ::google::protobuf::internal::TSanWrite(&_impl_);
593 _impl_.lp_value_ = value;
594}
595
596// -------------------------------------------------------------------
597
598// RoutesSupportGraphProto
599
600// repeated .operations_research.sat.ArcLpValue arc_lp_values = 1;
601inline int RoutesSupportGraphProto::_internal_arc_lp_values_size() const {
602 return _internal_arc_lp_values().size();
603}
605 return _internal_arc_lp_values_size();
606}
608 ::google::protobuf::internal::TSanWrite(&_impl_);
609 _impl_.arc_lp_values_.Clear();
610 ClearHasBitForRepeated(_impl_._has_bits_[0],
611 0x00000001U);
612}
613inline ::operations_research::sat::ArcLpValue* PROTOBUF_NONNULL RoutesSupportGraphProto::mutable_arc_lp_values(int index)
614 ABSL_ATTRIBUTE_LIFETIME_BOUND {
615 // @@protoc_insertion_point(field_mutable:operations_research.sat.RoutesSupportGraphProto.arc_lp_values)
616 return _internal_mutable_arc_lp_values()->Mutable(index);
617}
618inline ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>* PROTOBUF_NONNULL RoutesSupportGraphProto::mutable_arc_lp_values()
619 ABSL_ATTRIBUTE_LIFETIME_BOUND {
620 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
621 // @@protoc_insertion_point(field_mutable_list:operations_research.sat.RoutesSupportGraphProto.arc_lp_values)
622 ::google::protobuf::internal::TSanWrite(&_impl_);
623 return _internal_mutable_arc_lp_values();
624}
625inline const ::operations_research::sat::ArcLpValue& RoutesSupportGraphProto::arc_lp_values(int index) const
626 ABSL_ATTRIBUTE_LIFETIME_BOUND {
627 // @@protoc_insertion_point(field_get:operations_research.sat.RoutesSupportGraphProto.arc_lp_values)
628 return _internal_arc_lp_values().Get(index);
629}
630inline ::operations_research::sat::ArcLpValue* PROTOBUF_NONNULL RoutesSupportGraphProto::add_arc_lp_values()
631 ABSL_ATTRIBUTE_LIFETIME_BOUND {
632 ::google::protobuf::internal::TSanWrite(&_impl_);
634 _internal_mutable_arc_lp_values()->InternalAddWithArena(
635 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
636 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
637 // @@protoc_insertion_point(field_add:operations_research.sat.RoutesSupportGraphProto.arc_lp_values)
638 return _add;
639}
640inline const ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>& RoutesSupportGraphProto::arc_lp_values() const
641 ABSL_ATTRIBUTE_LIFETIME_BOUND {
642 // @@protoc_insertion_point(field_list:operations_research.sat.RoutesSupportGraphProto.arc_lp_values)
643 return _internal_arc_lp_values();
644}
645inline const ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>&
646RoutesSupportGraphProto::_internal_arc_lp_values() const {
647 ::google::protobuf::internal::TSanRead(&_impl_);
648 return _impl_.arc_lp_values_;
649}
650inline ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>* PROTOBUF_NONNULL
651RoutesSupportGraphProto::_internal_mutable_arc_lp_values() {
652 ::google::protobuf::internal::TSanRead(&_impl_);
653 return &_impl_.arc_lp_values_;
654}
655
656#ifdef __GNUC__
657#pragma GCC diagnostic pop
658#endif // __GNUC__
659
660// @@protoc_insertion_point(namespace_scope)
661} // namespace sat
662} // namespace operations_research
663
664
665// @@protoc_insertion_point(global_scope)
666
667#include "google/protobuf/port_undef.inc"
668
669#endif // ortools_2fsat_2froutes_5fsupport_5fgraph_2eproto_2epb_2eh
friend class ::google::protobuf::MessageLite
ArcLpValue & operator=(const ArcLpValue &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
PROTOBUF_CONSTEXPR ArcLpValue(::google::protobuf::internal::ConstantInitialized)
void Swap(ArcLpValue *PROTOBUF_NONNULL other)
void CopyFrom(const RoutesSupportGraphProto &from)
void MergeFrom(const RoutesSupportGraphProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void Swap(RoutesSupportGraphProto *PROTOBUF_NONNULL other)
const ::operations_research::sat::ArcLpValue & arc_lp_values(int index) const
PROTOBUF_CONSTEXPR RoutesSupportGraphProto(::google::protobuf::internal::ConstantInitialized)
const ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue > & arc_lp_values() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::operations_research::sat::ArcLpValue *PROTOBUF_NONNULL add_arc_lp_values()
::operations_research::sat::ArcLpValue *PROTOBUF_NONNULL mutable_arc_lp_values(int index)
::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue > *PROTOBUF_NONNULL mutable_arc_lp_values()
static const RoutesSupportGraphProto & default_instance()
RoutesSupportGraphProto & operator=(const RoutesSupportGraphProto &from)
::absl::string_view GetAnyMessageName()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ArcLpValue_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArcLpValueDefaultTypeInternal _ArcLpValue_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull RoutesSupportGraphProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RoutesSupportGraphProtoDefaultTypeInternal _RoutesSupportGraphProto_default_instance_
OR-Tools root namespace.
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fsat_2froutes_5fsupport_5fgraph_2eproto