Google OR-Tools v9.14
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.31.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 != 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_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 protected:
198 explicit GlpkParametersProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
199 GlpkParametersProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GlpkParametersProto& from);
201 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GlpkParametersProto&& from) noexcept
203 *this = ::std::move(from);
204 }
205 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
206 static void* PROTOBUF_NONNULL PlacementNew_(
207 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
208 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
209 static constexpr auto InternalNewImpl_();
210
211 public:
212 static constexpr auto InternalGenerateClassData_();
213
214 ::google::protobuf::Metadata GetMetadata() const;
215 // nested types ----------------------------------------------------
216
217 // accessors -------------------------------------------------------
218 enum : int {
219 kComputeUnboundRaysIfPossibleFieldNumber = 1,
220 };
221 // optional bool compute_unbound_rays_if_possible = 1;
226
227 private:
228 bool _internal_compute_unbound_rays_if_possible() const;
229 void _internal_set_compute_unbound_rays_if_possible(bool value);
230
231 public:
232 // @@protoc_insertion_point(class_scope:operations_research.math_opt.GlpkParametersProto)
233 private:
234 class _Internal;
235 friend class ::google::protobuf::internal::TcParser;
236 static const ::google::protobuf::internal::TcParseTable<0, 1,
237 0, 0,
238 2>
239 _table_;
240
241 friend class ::google::protobuf::MessageLite;
242 friend class ::google::protobuf::Arena;
243 template <typename T>
244 friend class ::google::protobuf::Arena::InternalHelper;
245 using InternalArenaConstructable_ = void;
246 using DestructorSkippable_ = void;
247 struct Impl_ {
248 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
249 inline explicit Impl_(
250 ::google::protobuf::internal::InternalVisibility visibility,
251 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
252 inline explicit Impl_(
253 ::google::protobuf::internal::InternalVisibility visibility,
254 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
255 const GlpkParametersProto& from_msg);
256 ::google::protobuf::internal::HasBits<1> _has_bits_;
257 ::google::protobuf::internal::CachedSize _cached_size_;
258 bool compute_unbound_rays_if_possible_;
259 PROTOBUF_TSAN_DECLARE_MEMBER
260 };
261 union { Impl_ _impl_; };
262 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsolvers_2fglpk_2eproto;
265OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull GlpkParametersProto_class_data_;
266
267// ===================================================================
268
269
270
271
272// ===================================================================
273
274
275#ifdef __GNUC__
276#pragma GCC diagnostic push
277#pragma GCC diagnostic ignored "-Wstrict-aliasing"
278#endif // __GNUC__
279// -------------------------------------------------------------------
280
281// GlpkParametersProto
282
283// optional bool compute_unbound_rays_if_possible = 1;
285 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
286 return value;
287}
289 ::google::protobuf::internal::TSanWrite(&_impl_);
290 _impl_.compute_unbound_rays_if_possible_ = false;
291 _impl_._has_bits_[0] &= ~0x00000001u;
292}
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 _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:243
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
bool has_compute_unbound_rays_if_possible() const
optional bool compute_unbound_rays_if_possible = 1;
Definition glpk.pb.h:289
void CopyFrom(const GlpkParametersProto &from)
Definition glpk.pb.cc:311
GlpkParametersProto(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, GlpkParametersProto &&from) noexcept
Definition glpk.pb.h:202
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()
An object oriented wrapper for quadratic constraints in ModelStorage.
Definition gurobi_isv.cc:28
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:188
In SWIG mode, we don't want anything besides these top-level includes.
Internal implementation detail – do not use these members.
Definition glpk.pb.h:49