10#include "google/protobuf/io/coded_stream.h"
11#include "google/protobuf/generated_message_tctable_impl.h"
12#include "google/protobuf/extension_set.h"
13#include "google/protobuf/generated_message_util.h"
14#include "google/protobuf/wire_format_lite.h"
15#include "google/protobuf/descriptor.h"
16#include "google/protobuf/generated_message_reflection.h"
17#include "google/protobuf/reflection_ops.h"
18#include "google/protobuf/wire_format.h"
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
26namespace _fl = ::google::protobuf::internal::field_layout;
30inline constexpr GlpkParametersProto::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
33 compute_unbound_rays_if_possible_{
false} {}
37#if defined(PROTOBUF_CUSTOM_VTABLE)
40 : ::google::protobuf::Message(),
42 _impl_(::_pbi::ConstantInitialized()) {
52PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
56static constexpr const ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
58static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
70static const ::_pbi::MigrationSchema
79 "\n#ortools/math_opt/solvers/glpk.proto\022\034o"
80 "perations_research.math_opt\"i\n\023GlpkParam"
81 "etersProto\022-\n compute_unbound_rays_if_po"
82 "ssible\030\001 \001(\010H\000\210\001\001B#\n!_compute_unbound_ra"
83 "ys_if_possibleb\006proto3"
90 descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fglpk_2eproto,
91 "ortools/math_opt/solvers/glpk.proto",
109 decltype(::std::declval<GlpkParametersProto>()._impl_._has_bits_);
115#if defined(PROTOBUF_CUSTOM_VTABLE)
118 : ::google::protobuf::Message(arena) {
125#if defined(PROTOBUF_CUSTOM_VTABLE)
128 : ::google::protobuf::Message(arena),
131 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
132 from._internal_metadata_);
134PROTOBUF_NDEBUG_INLINE GlpkParametersProto::Impl_::Impl_(
135 ::google::protobuf::internal::InternalVisibility visibility,
136 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
137 : _cached_size_{0} {}
139inline void GlpkParametersProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
140 new (&
_impl_) Impl_(internal_visibility(), arena);
141 _impl_.compute_unbound_rays_if_possible_ = {};
147inline void GlpkParametersProto::SharedDtor(MessageLite& self) {
149 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
150 ABSL_DCHECK(this_.GetArena() ==
nullptr);
155 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
156 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
164 return ::google::protobuf::internal::ClassDataFull{
165 ::google::protobuf::internal::ClassData{
170 &GlpkParametersProto::MergeImpl,
171 ::google::protobuf::Message::GetNewImpl<GlpkParametersProto>(),
172#if defined(PROTOBUF_CUSTOM_VTABLE)
173 &GlpkParametersProto::SharedDtor,
180 &GlpkParametersProto::kDescriptorMethods,
186PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
190PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
196PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
197const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
198GlpkParametersProto::_table_ = {
203 offsetof(
decltype(_table_), field_lookup_table),
205 offsetof(
decltype(_table_), field_entries),
208 offsetof(
decltype(_table_), field_names),
211 ::_pbi::TcParser::GenericFallback,
212 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
213 ::_pbi::TcParser::GetTable<::operations_research::math_opt::GlpkParametersProto>(),
217 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(GlpkParametersProto, _impl_.compute_unbound_rays_if_possible_), 0>(),
218 {8, 0, 0, PROTOBUF_FIELD_OFFSET(GlpkParametersProto, _impl_.compute_unbound_rays_if_possible_)}},
223 {PROTOBUF_FIELD_OFFSET(
GlpkParametersProto, _impl_.compute_unbound_rays_if_possible_), _Internal::kHasBitsOffset + 0, 0,
224 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
232 ::google::protobuf::internal::TSanWrite(&
_impl_);
233 ::uint32_t cached_has_bits = 0;
235 (void) cached_has_bits;
237 _impl_.compute_unbound_rays_if_possible_ =
false;
238 _impl_._has_bits_.Clear();
239 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
242#if defined(PROTOBUF_CUSTOM_VTABLE)
244 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
245 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
249 ::uint8_t* PROTOBUF_NONNULL target,
250 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
254 ::uint32_t cached_has_bits = 0;
255 (void)cached_has_bits;
257 cached_has_bits = this_.
_impl_._has_bits_[0];
259 if ((cached_has_bits & 0x00000001u) != 0) {
260 target = stream->EnsureSpace(target);
261 target = ::_pbi::WireFormatLite::WriteBoolToArray(
262 1, this_._internal_compute_unbound_rays_if_possible(), target);
265 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
267 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
268 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
274#if defined(PROTOBUF_CUSTOM_VTABLE)
282 ::size_t total_size = 0;
284 ::uint32_t cached_has_bits = 0;
286 (void)cached_has_bits;
288 cached_has_bits = this_.
_impl_._has_bits_[0];
289 total_size +=
static_cast<bool>(0x00000001u & cached_has_bits) * 2;
290 return this_.MaybeComputeUnknownFieldsSize(total_size,
291 &this_.
_impl_._cached_size_);
294void GlpkParametersProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
298 ABSL_DCHECK_NE(&from, _this);
299 ::uint32_t cached_has_bits = 0;
300 (void) cached_has_bits;
302 cached_has_bits = from.
_impl_._has_bits_[0];
303 if ((cached_has_bits & 0x00000001u) != 0) {
304 _this->_impl_.compute_unbound_rays_if_possible_ = from.
_impl_.compute_unbound_rays_if_possible_;
306 _this->_impl_._has_bits_[0] |= cached_has_bits;
307 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
312 if (&from ==
this)
return;
318void GlpkParametersProto::InternalSwap(
GlpkParametersProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
320 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
321 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
322 swap(
_impl_.compute_unbound_rays_if_possible_, other->_impl_.compute_unbound_rays_if_possible_);
326 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
336PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
339 ::std::false_type{});
340#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
@protoc_insertion_point(global_scope)
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< GlpkParametersProto >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend void swap(GlpkParametersProto &a, GlpkParametersProto &b)
::google::protobuf::Metadata GetMetadata() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void MergeFrom(const GlpkParametersProto &from)
static constexpr auto InternalNewImpl_()
~GlpkParametersProto() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const GlpkParametersProto &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fsolvers_2fglpk_2eproto
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fmath_5fopt_2fsolvers_2fglpk_2eproto
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fglpk_2eproto_once
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fglpk_2eproto
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fsolvers_2fglpk_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
An object oriented wrapper for quadratic constraints in ModelStorage.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GlpkParametersProtoDefaultTypeInternal _GlpkParametersProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GlpkParametersProto_class_data_
In SWIG mode, we don't want anything besides these top-level includes.
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_CONSTEXPR GlpkParametersProtoDefaultTypeInternal()
~GlpkParametersProtoDefaultTypeInternal()
GlpkParametersProto _instance