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 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
136 [[maybe_unused]] ::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 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
150 this_.CheckHasBitConsistency();
152 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
153 ABSL_DCHECK(this_.GetArena() ==
nullptr);
157inline void* PROTOBUF_NONNULL GlpkParametersProto::PlacementNew_(
158 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
159 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
162constexpr auto GlpkParametersProto::InternalNewImpl_() {
167 return ::google::protobuf::internal::ClassDataFull{
168 ::google::protobuf::internal::ClassData{
173 &GlpkParametersProto::MergeImpl,
174 ::google::protobuf::Message::GetNewImpl<GlpkParametersProto>(),
175#if defined(PROTOBUF_CUSTOM_VTABLE)
176 &GlpkParametersProto::SharedDtor,
183 &GlpkParametersProto::kDescriptorMethods,
189PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
193PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
194GlpkParametersProto::GetClassData()
const {
199PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
200const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
201GlpkParametersProto::_table_ = {
206 offsetof(
decltype(_table_), field_lookup_table),
208 offsetof(
decltype(_table_), field_entries),
211 offsetof(
decltype(_table_), field_names),
214 ::_pbi::TcParser::GenericFallback,
215 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
216 ::_pbi::TcParser::GetTable<::operations_research::math_opt::GlpkParametersProto>(),
220 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
GlpkParametersProto,
_impl_.compute_unbound_rays_if_possible_), 0>(),
235 ::google::protobuf::internal::TSanWrite(&
_impl_);
236 ::uint32_t cached_has_bits = 0;
238 (void) cached_has_bits;
240 _impl_.compute_unbound_rays_if_possible_ =
false;
241 _impl_._has_bits_.Clear();
242 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
245#if defined(PROTOBUF_CUSTOM_VTABLE)
247 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
248 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
252 ::uint8_t* PROTOBUF_NONNULL target,
253 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
256 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
257 this_.CheckHasBitConsistency();
260 ::uint32_t cached_has_bits = 0;
261 (void)cached_has_bits;
263 cached_has_bits = this_.
_impl_._has_bits_[0];
265 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
266 target = stream->EnsureSpace(target);
267 target = ::_pbi::WireFormatLite::WriteBoolToArray(
268 1, this_._internal_compute_unbound_rays_if_possible(), target);
271 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
273 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
274 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
280#if defined(PROTOBUF_CUSTOM_VTABLE)
288 ::size_t total_size = 0;
290 ::uint32_t cached_has_bits = 0;
292 (void)cached_has_bits;
294 cached_has_bits = this_.
_impl_._has_bits_[0];
295 total_size +=
static_cast<bool>(0x00000001U & cached_has_bits) * 2;
296 return this_.MaybeComputeUnknownFieldsSize(total_size,
297 &this_.
_impl_._cached_size_);
300void GlpkParametersProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
301 const ::google::protobuf::MessageLite& from_msg) {
305 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
306 from.CheckHasBitConsistency();
309 ABSL_DCHECK_NE(&from, _this);
310 ::uint32_t cached_has_bits = 0;
311 (void)cached_has_bits;
313 cached_has_bits = from.
_impl_._has_bits_[0];
314 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
315 _this->_impl_.compute_unbound_rays_if_possible_ = from.
_impl_.compute_unbound_rays_if_possible_;
317 _this->_impl_._has_bits_[0] |= cached_has_bits;
318 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
319 from._internal_metadata_);
324 if (&from ==
this)
return;
330void GlpkParametersProto::InternalSwap(
GlpkParametersProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
332 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
333 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
334 swap(
_impl_.compute_unbound_rays_if_possible_, other->_impl_.compute_unbound_rays_if_possible_);
338 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
348PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
351 ::std::false_type{});
352#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
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
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)
~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)
static constexpr auto InternalGenerateClassData_()
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
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)
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_
PROTOBUF_CONSTEXPR GlpkParametersProtoDefaultTypeInternal()
~GlpkParametersProtoDefaultTypeInternal()
GlpkParametersProto _instance