Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
glpk.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/math_opt/solvers/glpk.proto
4// Protobuf C++ Version: 6.33.1
5
6#ifndef ortools_2fmath_5fopt_2fsolvers_2fglpk_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fsolvers_2fglpk_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_2fmath_5fopt_2fsolvers_2fglpk_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_2fmath_5fopt_2fsolvers_2fglpk_2eproto;
54} // extern "C"
55namespace operations_research {
56namespace math_opt {
60OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull GlpkParametersProto_class_data_;
61} // namespace math_opt
62} // namespace operations_research
63namespace google {
64namespace protobuf {
65} // namespace protobuf
66} // namespace google
67
68namespace operations_research {
69namespace math_opt {
70
71// ===================================================================
72
73
74// -------------------------------------------------------------------
75
76class OR_PROTO_DLL GlpkParametersProto final : public ::google::protobuf::Message
77/* @@protoc_insertion_point(class_definition:operations_research.math_opt.GlpkParametersProto) */ {
78 public:
79 inline GlpkParametersProto() : GlpkParametersProto(nullptr) {}
80 ~GlpkParametersProto() PROTOBUF_FINAL;
82#if defined(PROTOBUF_CUSTOM_VTABLE)
83 void operator delete(GlpkParametersProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
84 SharedDtor(*msg);
85 ::google::protobuf::internal::SizedDelete(msg, sizeof(GlpkParametersProto));
86 }
87#endif
88
89 template <typename = void>
90 explicit PROTOBUF_CONSTEXPR GlpkParametersProto(::google::protobuf::internal::ConstantInitialized);
91
92 inline GlpkParametersProto(const GlpkParametersProto& from) : GlpkParametersProto(nullptr, from) {}
93 inline GlpkParametersProto(GlpkParametersProto&& from) noexcept
94 : GlpkParametersProto(nullptr, ::std::move(from)) {}
97 return *this;
98 }
99 inline GlpkParametersProto& operator=(GlpkParametersProto&& from) noexcept {
100 if (this == &from) return *this;
101 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
102 InternalSwap(&from);
103 } else {
104 CopyFrom(from);
105 }
106 return *this;
107 }
108
109 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
110 ABSL_ATTRIBUTE_LIFETIME_BOUND {
111 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
112 }
113 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
114 ABSL_ATTRIBUTE_LIFETIME_BOUND {
115 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
116 }
117
118 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
119 return GetDescriptor();
121 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
122 return default_instance().GetMetadata().descriptor;
124 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
125 return default_instance().GetMetadata().reflection;
127 static const GlpkParametersProto& default_instance() {
128 return *reinterpret_cast<const GlpkParametersProto*>(
130 }
131 static constexpr int kIndexInFileMessages = 0;
132 friend void swap(GlpkParametersProto& a, GlpkParametersProto& b) { a.Swap(&b); }
133 inline void Swap(GlpkParametersProto* PROTOBUF_NONNULL other) {
134 if (other == this) return;
135 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
136 InternalSwap(other);
137 } else {
138 ::google::protobuf::internal::GenericSwap(this, other);
139 }
140 }
141 void UnsafeArenaSwap(GlpkParametersProto* PROTOBUF_NONNULL other) {
142 if (other == this) return;
143 ABSL_DCHECK(GetArena() == other->GetArena());
144 InternalSwap(other);
145 }
146
147 // implements Message ----------------------------------------------
148
149 GlpkParametersProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
150 return ::google::protobuf::Message::DefaultConstruct<GlpkParametersProto>(arena);
152 using ::google::protobuf::Message::CopyFrom;
153 void CopyFrom(const GlpkParametersProto& from);
154 using ::google::protobuf::Message::MergeFrom;
155 void MergeFrom(const GlpkParametersProto& from) { GlpkParametersProto::MergeImpl(*this, from); }
156
157 private:
158 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
159 const ::google::protobuf::MessageLite& from_msg);
160
161 public:
162 bool IsInitialized() const {
163 return true;
165 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
166 #if defined(PROTOBUF_CUSTOM_VTABLE)
167 private:
168 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
169 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
170 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
171 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
172
173 public:
174 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
175 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
176 ::uint8_t* PROTOBUF_NONNULL target,
177 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
178 return _InternalSerialize(*this, target, stream);
179 }
180 #else // PROTOBUF_CUSTOM_VTABLE
181 ::size_t ByteSizeLong() const final;
182 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
183 ::uint8_t* PROTOBUF_NONNULL target,
184 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
185 #endif // PROTOBUF_CUSTOM_VTABLE
186 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
187
188 private:
189 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
190 static void SharedDtor(MessageLite& self);
191 void InternalSwap(GlpkParametersProto* PROTOBUF_NONNULL other);
192 private:
193 template <typename T>
194 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
195 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.GlpkParametersProto"; }
196
197 explicit GlpkParametersProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
198 GlpkParametersProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GlpkParametersProto& from);
200 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GlpkParametersProto&& from) noexcept
201 : GlpkParametersProto(arena) {
202 *this = ::std::move(from);
203 }
204 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
205 static void* PROTOBUF_NONNULL PlacementNew_(
206 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
207 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
208 static constexpr auto InternalNewImpl_();
209
210 public:
211 static constexpr auto InternalGenerateClassData_();
212
213 ::google::protobuf::Metadata GetMetadata() const;
214 // nested types ----------------------------------------------------
215
216 // accessors -------------------------------------------------------
217 enum : int {
218 kComputeUnboundRaysIfPossibleFieldNumber = 1,
219 };
220 // optional bool compute_unbound_rays_if_possible = 1;
225
226 private:
227 bool _internal_compute_unbound_rays_if_possible() const;
228 void _internal_set_compute_unbound_rays_if_possible(bool value);
229
230 public:
231 // @@protoc_insertion_point(class_scope:operations_research.math_opt.GlpkParametersProto)
232 private:
233 class _Internal;
234 friend class ::google::protobuf::internal::TcParser;
235 static const ::google::protobuf::internal::TcParseTable<0, 1,
236 0, 0,
237 2>
238 _table_;
239
240 friend class ::google::protobuf::MessageLite;
241 friend class ::google::protobuf::Arena;
242 template <typename T>
243 friend class ::google::protobuf::Arena::InternalHelper;
244 using InternalArenaConstructable_ = void;
245 using DestructorSkippable_ = void;
246 struct Impl_ {
247 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
248 inline explicit Impl_(
249 ::google::protobuf::internal::InternalVisibility visibility,
250 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
251 inline explicit Impl_(
252 ::google::protobuf::internal::InternalVisibility visibility,
253 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
254 const GlpkParametersProto& from_msg);
255 ::google::protobuf::internal::HasBits<1> _has_bits_;
256 ::google::protobuf::internal::CachedSize _cached_size_;
257 bool compute_unbound_rays_if_possible_;
258 PROTOBUF_TSAN_DECLARE_MEMBER
259 };
260 union { Impl_ _impl_; };
261 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsolvers_2fglpk_2eproto;
264OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull GlpkParametersProto_class_data_;
265
266// ===================================================================
267
268
269
270
271// ===================================================================
272
273
274#ifdef __GNUC__
275#pragma GCC diagnostic push
276#pragma GCC diagnostic ignored "-Wstrict-aliasing"
277#endif // __GNUC__
278// -------------------------------------------------------------------
279
280// GlpkParametersProto
281
282// optional bool compute_unbound_rays_if_possible = 1;
284 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
285 return value;
286}
288 ::google::protobuf::internal::TSanWrite(&_impl_);
289 _impl_.compute_unbound_rays_if_possible_ = false;
290 ClearHasBit(_impl_._has_bits_[0],
291 0x00000001U);
294 // @@protoc_insertion_point(field_get:operations_research.math_opt.GlpkParametersProto.compute_unbound_rays_if_possible)
295 return _internal_compute_unbound_rays_if_possible();
296}
298 _internal_set_compute_unbound_rays_if_possible(value);
299 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
300 // @@protoc_insertion_point(field_set:operations_research.math_opt.GlpkParametersProto.compute_unbound_rays_if_possible)
301}
302inline bool GlpkParametersProto::_internal_compute_unbound_rays_if_possible() const {
303 ::google::protobuf::internal::TSanRead(&_impl_);
304 return _impl_.compute_unbound_rays_if_possible_;
305}
306inline void GlpkParametersProto::_internal_set_compute_unbound_rays_if_possible(bool value) {
307 ::google::protobuf::internal::TSanWrite(&_impl_);
308 _impl_.compute_unbound_rays_if_possible_ = value;
309}
310
311#ifdef __GNUC__
312#pragma GCC diagnostic pop
313#endif // __GNUC__
314
315// @@protoc_insertion_point(namespace_scope)
316} // namespace math_opt
317} // namespace operations_research
318
319
320// @@protoc_insertion_point(global_scope)
321
322#include "google/protobuf/port_undef.inc"
323
324#endif // ortools_2fmath_5fopt_2fsolvers_2fglpk_2eproto_2epb_2eh
friend class ::google::protobuf::MessageLite
Definition glpk.pb.h:242
GlpkParametersProto & operator=(const GlpkParametersProto &from)
Definition glpk.pb.h:97
GlpkParametersProto(const GlpkParametersProto &from)
Definition glpk.pb.h:94
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition glpk.pb.h:111
void Swap(GlpkParametersProto *PROTOBUF_NONNULL other)
Definition glpk.pb.h:135
void CopyFrom(const GlpkParametersProto &from)
Definition glpk.pb.cc:323
PROTOBUF_CONSTEXPR GlpkParametersProto(::google::protobuf::internal::ConstantInitialized)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fglpk_2eproto
Definition glpk.pb.cc:86
::absl::string_view GetAnyMessageName()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GlpkParametersProtoDefaultTypeInternal _GlpkParametersProto_default_instance_
Definition glpk.pb.cc:53
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GlpkParametersProto_class_data_
Definition glpk.pb.cc:191
OR-Tools root namespace.