Google OR-Tools v9.14
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.31.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 != 6031001
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 protected:
202 explicit ArcLpValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
203 ArcLpValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ArcLpValue& from);
205 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ArcLpValue&& from) noexcept
206 : ArcLpValue(arena) {
207 *this = ::std::move(from);
208 }
209 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
210 static void* PROTOBUF_NONNULL PlacementNew_(
211 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
212 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
213 static constexpr auto InternalNewImpl_();
214
215 public:
216 static constexpr auto InternalGenerateClassData_();
217
218 ::google::protobuf::Metadata GetMetadata() const;
219 // nested types ----------------------------------------------------
220
221 // accessors -------------------------------------------------------
222 enum : int {
223 kTailFieldNumber = 1,
224 kHeadFieldNumber = 2,
226 };
227 // optional int32 tail = 1;
228 bool has_tail() const;
229 void clear_tail() ;
230 ::int32_t tail() const;
231 void set_tail(::int32_t value);
232
233 private:
234 ::int32_t _internal_tail() const;
235 void _internal_set_tail(::int32_t value);
236
237 public:
238 // optional int32 head = 2;
239 bool has_head() const;
240 void clear_head() ;
241 ::int32_t head() const;
242 void set_head(::int32_t value);
243
244 private:
245 ::int32_t _internal_head() const;
246 void _internal_set_head(::int32_t value);
247
248 public:
249 // optional double lp_value = 3;
250 bool has_lp_value() const;
251 void clear_lp_value() ;
252 double lp_value() const;
253 void set_lp_value(double value);
254
255 private:
256 double _internal_lp_value() const;
257 void _internal_set_lp_value(double value);
258
259 public:
260 // @@protoc_insertion_point(class_scope:operations_research.sat.ArcLpValue)
261 private:
262 class _Internal;
263 friend class ::google::protobuf::internal::TcParser;
264 static const ::google::protobuf::internal::TcParseTable<2, 3,
265 0, 0,
266 2>
267 _table_;
268
269 friend class ::google::protobuf::MessageLite;
270 friend class ::google::protobuf::Arena;
271 template <typename T>
272 friend class ::google::protobuf::Arena::InternalHelper;
273 using InternalArenaConstructable_ = void;
274 using DestructorSkippable_ = void;
275 struct Impl_ {
276 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
277 inline explicit Impl_(
278 ::google::protobuf::internal::InternalVisibility visibility,
279 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
280 inline explicit Impl_(
281 ::google::protobuf::internal::InternalVisibility visibility,
282 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
283 const ArcLpValue& from_msg);
284 ::google::protobuf::internal::HasBits<1> _has_bits_;
285 ::google::protobuf::internal::CachedSize _cached_size_;
286 ::int32_t tail_;
287 ::int32_t head_;
288 double lp_value_;
289 PROTOBUF_TSAN_DECLARE_MEMBER
290 };
291 union { Impl_ _impl_; };
292 friend struct ::TableStruct_ortools_2fsat_2froutes_5fsupport_5fgraph_2eproto;
295OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ArcLpValue_class_data_;
296// -------------------------------------------------------------------
297
298class OR_PROTO_DLL RoutesSupportGraphProto final : public ::google::protobuf::Message
299/* @@protoc_insertion_point(class_definition:operations_research.sat.RoutesSupportGraphProto) */ {
300 public:
302 ~RoutesSupportGraphProto() PROTOBUF_FINAL;
303
304#if defined(PROTOBUF_CUSTOM_VTABLE)
305 void operator delete(RoutesSupportGraphProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
306 SharedDtor(*msg);
307 ::google::protobuf::internal::SizedDelete(msg, sizeof(RoutesSupportGraphProto));
308 }
309#endif
310
311 template <typename = void>
312 explicit PROTOBUF_CONSTEXPR RoutesSupportGraphProto(::google::protobuf::internal::ConstantInitialized);
313
314 inline RoutesSupportGraphProto(const RoutesSupportGraphProto& from) : RoutesSupportGraphProto(nullptr, from) {}
316 : RoutesSupportGraphProto(nullptr, ::std::move(from)) {}
318 CopyFrom(from);
319 return *this;
321 inline RoutesSupportGraphProto& operator=(RoutesSupportGraphProto&& from) noexcept {
322 if (this == &from) return *this;
323 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
324 InternalSwap(&from);
325 } else {
326 CopyFrom(from);
327 }
328 return *this;
329 }
330
331 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
332 ABSL_ATTRIBUTE_LIFETIME_BOUND {
333 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
335 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
336 ABSL_ATTRIBUTE_LIFETIME_BOUND {
337 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
339
340 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
341 return GetDescriptor();
342 }
343 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
344 return default_instance().GetMetadata().descriptor;
345 }
346 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
347 return default_instance().GetMetadata().reflection;
348 }
353 static constexpr int kIndexInFileMessages = 1;
354 friend void swap(RoutesSupportGraphProto& a, RoutesSupportGraphProto& b) { a.Swap(&b); }
355 inline void Swap(RoutesSupportGraphProto* PROTOBUF_NONNULL other) {
356 if (other == this) return;
357 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
358 InternalSwap(other);
359 } else {
360 ::google::protobuf::internal::GenericSwap(this, other);
361 }
362 }
363 void UnsafeArenaSwap(RoutesSupportGraphProto* PROTOBUF_NONNULL other) {
364 if (other == this) return;
365 ABSL_DCHECK(GetArena() == other->GetArena());
366 InternalSwap(other);
367 }
368
369 // implements Message ----------------------------------------------
370
371 RoutesSupportGraphProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
372 return ::google::protobuf::Message::DefaultConstruct<RoutesSupportGraphProto>(arena);
373 }
374 using ::google::protobuf::Message::CopyFrom;
375 void CopyFrom(const RoutesSupportGraphProto& from);
376 using ::google::protobuf::Message::MergeFrom;
377 void MergeFrom(const RoutesSupportGraphProto& from) { RoutesSupportGraphProto::MergeImpl(*this, from); }
378
379 private:
380 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
381 const ::google::protobuf::MessageLite& from_msg);
382
383 public:
384 bool IsInitialized() const {
385 return true;
386 }
387 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
388 #if defined(PROTOBUF_CUSTOM_VTABLE)
389 private:
390 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
391 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
392 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
393 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
394
395 public:
396 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
397 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
398 ::uint8_t* PROTOBUF_NONNULL target,
399 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
400 return _InternalSerialize(*this, target, stream);
401 }
402 #else // PROTOBUF_CUSTOM_VTABLE
403 ::size_t ByteSizeLong() const final;
404 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
405 ::uint8_t* PROTOBUF_NONNULL target,
406 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
407 #endif // PROTOBUF_CUSTOM_VTABLE
408 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
409
410 private:
411 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
412 static void SharedDtor(MessageLite& self);
413 void InternalSwap(RoutesSupportGraphProto* PROTOBUF_NONNULL other);
414 private:
415 template <typename T>
416 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
417 static ::absl::string_view FullMessageName() { return "operations_research.sat.RoutesSupportGraphProto"; }
418
419 protected:
420 explicit RoutesSupportGraphProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
421 RoutesSupportGraphProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RoutesSupportGraphProto& from);
423 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RoutesSupportGraphProto&& from) noexcept
424 : RoutesSupportGraphProto(arena) {
425 *this = ::std::move(from);
426 }
427 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
428 static void* PROTOBUF_NONNULL PlacementNew_(
429 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
430 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
431 static constexpr auto InternalNewImpl_();
432
433 public:
434 static constexpr auto InternalGenerateClassData_();
435
436 ::google::protobuf::Metadata GetMetadata() const;
437 // nested types ----------------------------------------------------
438
439 // accessors -------------------------------------------------------
440 enum : int {
441 kArcLpValuesFieldNumber = 1,
442 };
443 // repeated .operations_research.sat.ArcLpValue arc_lp_values = 1;
445 private:
446 int _internal_arc_lp_values_size() const;
447
448 public:
449 void clear_arc_lp_values() ;
451 ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>* PROTOBUF_NONNULL mutable_arc_lp_values();
452
453 private:
454 const ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>& _internal_arc_lp_values() const;
455 ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>* PROTOBUF_NONNULL _internal_mutable_arc_lp_values();
456 public:
457 const ::operations_research::sat::ArcLpValue& arc_lp_values(int index) const;
459 const ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>& arc_lp_values() const;
460 // @@protoc_insertion_point(class_scope:operations_research.sat.RoutesSupportGraphProto)
461 private:
462 class _Internal;
463 friend class ::google::protobuf::internal::TcParser;
464 static const ::google::protobuf::internal::TcParseTable<0, 1,
465 1, 0,
466 2>
467 _table_;
468
469 friend class ::google::protobuf::MessageLite;
470 friend class ::google::protobuf::Arena;
471 template <typename T>
472 friend class ::google::protobuf::Arena::InternalHelper;
473 using InternalArenaConstructable_ = void;
474 using DestructorSkippable_ = void;
475 struct Impl_ {
476 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
477 inline explicit Impl_(
478 ::google::protobuf::internal::InternalVisibility visibility,
479 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
480 inline explicit Impl_(
481 ::google::protobuf::internal::InternalVisibility visibility,
482 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
483 const RoutesSupportGraphProto& from_msg);
484 ::google::protobuf::RepeatedPtrField< ::operations_research::sat::ArcLpValue > arc_lp_values_;
485 ::google::protobuf::internal::CachedSize _cached_size_;
486 PROTOBUF_TSAN_DECLARE_MEMBER
487 };
488 union { Impl_ _impl_; };
489 friend struct ::TableStruct_ortools_2fsat_2froutes_5fsupport_5fgraph_2eproto;
490};
492OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull RoutesSupportGraphProto_class_data_;
493
494// ===================================================================
495
496
497
498
499// ===================================================================
500
501
502#ifdef __GNUC__
503#pragma GCC diagnostic push
504#pragma GCC diagnostic ignored "-Wstrict-aliasing"
505#endif // __GNUC__
506// -------------------------------------------------------------------
507
508// ArcLpValue
509
510// optional int32 tail = 1;
511inline bool ArcLpValue::has_tail() const {
512 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
513 return value;
514}
515inline void ArcLpValue::clear_tail() {
516 ::google::protobuf::internal::TSanWrite(&_impl_);
517 _impl_.tail_ = 0;
518 _impl_._has_bits_[0] &= ~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 _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 = (_impl_._has_bits_[0] & 0x00000002u) != 0;
541 return value;
542}
543inline void ArcLpValue::clear_head() {
544 ::google::protobuf::internal::TSanWrite(&_impl_);
545 _impl_.head_ = 0;
546 _impl_._has_bits_[0] &= ~0x00000002u;
547}
548inline ::int32_t ArcLpValue::head() const {
549 // @@protoc_insertion_point(field_get:operations_research.sat.ArcLpValue.head)
550 return _internal_head();
551}
552inline void ArcLpValue::set_head(::int32_t value) {
553 _internal_set_head(value);
554 _impl_._has_bits_[0] |= 0x00000002u;
555 // @@protoc_insertion_point(field_set:operations_research.sat.ArcLpValue.head)
556}
557inline ::int32_t ArcLpValue::_internal_head() const {
558 ::google::protobuf::internal::TSanRead(&_impl_);
559 return _impl_.head_;
560}
561inline void ArcLpValue::_internal_set_head(::int32_t value) {
562 ::google::protobuf::internal::TSanWrite(&_impl_);
563 _impl_.head_ = value;
564}
565
566// optional double lp_value = 3;
567inline bool ArcLpValue::has_lp_value() const {
568 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
569 return value;
570}
571inline void ArcLpValue::clear_lp_value() {
572 ::google::protobuf::internal::TSanWrite(&_impl_);
573 _impl_.lp_value_ = 0;
574 _impl_._has_bits_[0] &= ~0x00000004u;
575}
576inline double ArcLpValue::lp_value() const {
577 // @@protoc_insertion_point(field_get:operations_research.sat.ArcLpValue.lp_value)
578 return _internal_lp_value();
579}
580inline void ArcLpValue::set_lp_value(double value) {
581 _internal_set_lp_value(value);
582 _impl_._has_bits_[0] |= 0x00000004u;
583 // @@protoc_insertion_point(field_set:operations_research.sat.ArcLpValue.lp_value)
584}
585inline double ArcLpValue::_internal_lp_value() const {
586 ::google::protobuf::internal::TSanRead(&_impl_);
587 return _impl_.lp_value_;
588}
589inline void ArcLpValue::_internal_set_lp_value(double value) {
590 ::google::protobuf::internal::TSanWrite(&_impl_);
591 _impl_.lp_value_ = value;
592}
593
594// -------------------------------------------------------------------
595
596// RoutesSupportGraphProto
597
598// repeated .operations_research.sat.ArcLpValue arc_lp_values = 1;
599inline int RoutesSupportGraphProto::_internal_arc_lp_values_size() const {
600 return _internal_arc_lp_values().size();
601}
603 return _internal_arc_lp_values_size();
604}
606 ::google::protobuf::internal::TSanWrite(&_impl_);
607 _impl_.arc_lp_values_.Clear();
608}
609inline ::operations_research::sat::ArcLpValue* PROTOBUF_NONNULL RoutesSupportGraphProto::mutable_arc_lp_values(int index)
610 ABSL_ATTRIBUTE_LIFETIME_BOUND {
611 // @@protoc_insertion_point(field_mutable:operations_research.sat.RoutesSupportGraphProto.arc_lp_values)
612 return _internal_mutable_arc_lp_values()->Mutable(index);
613}
614inline ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>* PROTOBUF_NONNULL RoutesSupportGraphProto::mutable_arc_lp_values()
615 ABSL_ATTRIBUTE_LIFETIME_BOUND {
616 // @@protoc_insertion_point(field_mutable_list:operations_research.sat.RoutesSupportGraphProto.arc_lp_values)
617 ::google::protobuf::internal::TSanWrite(&_impl_);
618 return _internal_mutable_arc_lp_values();
619}
620inline const ::operations_research::sat::ArcLpValue& RoutesSupportGraphProto::arc_lp_values(int index) const
621 ABSL_ATTRIBUTE_LIFETIME_BOUND {
622 // @@protoc_insertion_point(field_get:operations_research.sat.RoutesSupportGraphProto.arc_lp_values)
623 return _internal_arc_lp_values().Get(index);
624}
625inline ::operations_research::sat::ArcLpValue* PROTOBUF_NONNULL RoutesSupportGraphProto::add_arc_lp_values()
626 ABSL_ATTRIBUTE_LIFETIME_BOUND {
627 ::google::protobuf::internal::TSanWrite(&_impl_);
628 ::operations_research::sat::ArcLpValue* _add = _internal_mutable_arc_lp_values()->Add();
629 // @@protoc_insertion_point(field_add:operations_research.sat.RoutesSupportGraphProto.arc_lp_values)
630 return _add;
631}
632inline const ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>& RoutesSupportGraphProto::arc_lp_values() const
633 ABSL_ATTRIBUTE_LIFETIME_BOUND {
634 // @@protoc_insertion_point(field_list:operations_research.sat.RoutesSupportGraphProto.arc_lp_values)
635 return _internal_arc_lp_values();
636}
637inline const ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>&
638RoutesSupportGraphProto::_internal_arc_lp_values() const {
639 ::google::protobuf::internal::TSanRead(&_impl_);
640 return _impl_.arc_lp_values_;
641}
642inline ::google::protobuf::RepeatedPtrField<::operations_research::sat::ArcLpValue>* PROTOBUF_NONNULL
643RoutesSupportGraphProto::_internal_mutable_arc_lp_values() {
644 ::google::protobuf::internal::TSanRead(&_impl_);
645 return &_impl_.arc_lp_values_;
646}
647
648#ifdef __GNUC__
649#pragma GCC diagnostic pop
650#endif // __GNUC__
651
652// @@protoc_insertion_point(namespace_scope)
653} // namespace sat
654} // namespace operations_research
655
656
657// @@protoc_insertion_point(global_scope)
658
659#include "google/protobuf/port_undef.inc"
660
661#endif // ortools_2fsat_2froutes_5fsupport_5fgraph_2eproto_2epb_2eh
friend class ::google::protobuf::MessageLite
ArcLpValue & operator=(const ArcLpValue &from)
bool has_lp_value() const
optional double lp_value = 3;
ArcLpValue(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, ArcLpValue &&from) noexcept
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
bool has_tail() const
optional int32 tail = 1;
bool has_head() const
optional int32 head = 2;
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
int arc_lp_values_size() const
repeated .operations_research.sat.ArcLpValue arc_lp_values = 1;
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_
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fsat_2froutes_5fsupport_5fgraph_2eproto
Internal implementation detail – do not use these members.