Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
gurobi.pb.cc
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/gurobi.proto
4// Protobuf C++ Version: 6.33.1
5
7
8#include <algorithm>
9#include <type_traits>
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"
19// @@protoc_insertion_point(includes)
20
21// Must be included last.
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
24namespace _pb = ::google::protobuf;
26namespace _fl = ::google::protobuf::internal::field_layout;
27namespace operations_research {
28namespace math_opt {
29
30inline constexpr GurobiParametersProto_Parameter::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
32 : _cached_size_{0},
33 name_(
34 &::google::protobuf::internal::fixed_address_empty_string,
35 ::_pbi::ConstantInitialized()),
36 value_(
37 &::google::protobuf::internal::fixed_address_empty_string,
38 ::_pbi::ConstantInitialized()) {}
39
40template <typename>
41PROTOBUF_CONSTEXPR GurobiParametersProto_Parameter::GurobiParametersProto_Parameter(::_pbi::ConstantInitialized)
42#if defined(PROTOBUF_CUSTOM_VTABLE)
43 : ::google::protobuf::Message(GurobiParametersProto_Parameter_class_data_.base()),
44#else // PROTOBUF_CUSTOM_VTABLE
45 : ::google::protobuf::Message(),
46#endif // PROTOBUF_CUSTOM_VTABLE
47 _impl_(::_pbi::ConstantInitialized()) {
48}
56
57PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
59
60inline constexpr GurobiInitializerProto_ISVKey::Impl_::Impl_(
61 ::_pbi::ConstantInitialized) noexcept
62 : _cached_size_{0},
63 name_(
64 &::google::protobuf::internal::fixed_address_empty_string,
65 ::_pbi::ConstantInitialized()),
66 application_name_(
67 &::google::protobuf::internal::fixed_address_empty_string,
68 ::_pbi::ConstantInitialized()),
69 key_(
70 &::google::protobuf::internal::fixed_address_empty_string,
71 ::_pbi::ConstantInitialized()),
72 expiration_{0} {}
73
74template <typename>
75PROTOBUF_CONSTEXPR GurobiInitializerProto_ISVKey::GurobiInitializerProto_ISVKey(::_pbi::ConstantInitialized)
76#if defined(PROTOBUF_CUSTOM_VTABLE)
77 : ::google::protobuf::Message(GurobiInitializerProto_ISVKey_class_data_.base()),
78#else // PROTOBUF_CUSTOM_VTABLE
79 : ::google::protobuf::Message(),
80#endif // PROTOBUF_CUSTOM_VTABLE
81 _impl_(::_pbi::ConstantInitialized()) {
82}
90
91PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
93
94inline constexpr GurobiParametersProto::Impl_::Impl_(
95 ::_pbi::ConstantInitialized) noexcept
96 : _cached_size_{0},
97 parameters_{} {}
98
99template <typename>
100PROTOBUF_CONSTEXPR GurobiParametersProto::GurobiParametersProto(::_pbi::ConstantInitialized)
101#if defined(PROTOBUF_CUSTOM_VTABLE)
102 : ::google::protobuf::Message(GurobiParametersProto_class_data_.base()),
103#else // PROTOBUF_CUSTOM_VTABLE
104 : ::google::protobuf::Message(),
105#endif // PROTOBUF_CUSTOM_VTABLE
106 _impl_(::_pbi::ConstantInitialized()) {
107}
115
116PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
118
119inline constexpr GurobiInitializerProto::Impl_::Impl_(
120 ::_pbi::ConstantInitialized) noexcept
121 : _cached_size_{0},
122 isv_key_{nullptr} {}
123
124template <typename>
125PROTOBUF_CONSTEXPR GurobiInitializerProto::GurobiInitializerProto(::_pbi::ConstantInitialized)
126#if defined(PROTOBUF_CUSTOM_VTABLE)
127 : ::google::protobuf::Message(GurobiInitializerProto_class_data_.base()),
128#else // PROTOBUF_CUSTOM_VTABLE
129 : ::google::protobuf::Message(),
130#endif // PROTOBUF_CUSTOM_VTABLE
131 _impl_(::_pbi::ConstantInitialized()) {
132}
140
141PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
143} // namespace math_opt
144} // namespace operations_research
145static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
147static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
149const ::uint32_t
151 protodesc_cold) = {
152 0x081, // bitmap
153 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::GurobiInitializerProto_ISVKey, _impl_._has_bits_),
154 7, // hasbit index offset
155 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::GurobiInitializerProto_ISVKey, _impl_.name_),
156 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::GurobiInitializerProto_ISVKey, _impl_.application_name_),
157 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::GurobiInitializerProto_ISVKey, _impl_.expiration_),
158 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::GurobiInitializerProto_ISVKey, _impl_.key_),
159 0,
160 1,
161 3,
162 2,
163 0x081, // bitmap
164 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::GurobiInitializerProto, _impl_._has_bits_),
165 4, // hasbit index offset
166 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::GurobiInitializerProto, _impl_.isv_key_),
167 0,
168 0x081, // bitmap
169 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::GurobiParametersProto_Parameter, _impl_._has_bits_),
170 5, // hasbit index offset
171 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::GurobiParametersProto_Parameter, _impl_.name_),
172 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::GurobiParametersProto_Parameter, _impl_.value_),
173 0,
174 1,
175 0x081, // bitmap
176 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::GurobiParametersProto, _impl_._has_bits_),
177 4, // hasbit index offset
178 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::GurobiParametersProto, _impl_.parameters_),
179 0,
180};
181
182static const ::_pbi::MigrationSchema
183 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
188};
195const char descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fgurobi_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
196 protodesc_cold) = {
197 "\n%ortools/math_opt/solvers/gurobi.proto\022"
198 "\034operations_research.math_opt\"\271\001\n\026Gurobi"
199 "InitializerProto\022L\n\007isv_key\030\001 \001(\0132;.oper"
200 "ations_research.math_opt.GurobiInitializ"
201 "erProto.ISVKey\032Q\n\006ISVKey\022\014\n\004name\030\001 \001(\t\022\030"
202 "\n\020application_name\030\002 \001(\t\022\022\n\nexpiration\030\003"
203 " \001(\005\022\013\n\003key\030\004 \001(\t\"\224\001\n\025GurobiParametersPr"
204 "oto\022Q\n\nparameters\030\001 \003(\0132=.operations_res"
205 "earch.math_opt.GurobiParametersProto.Par"
206 "ameter\032(\n\tParameter\022\014\n\004name\030\001 \001(\t\022\r\n\005val"
207 "ue\030\002 \001(\tb\006proto3"
208};
210PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fgurobi_2eproto = {
211 false,
212 false,
213 416,
214 descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fgurobi_2eproto,
215 "ortools/math_opt/solvers/gurobi.proto",
217 nullptr,
218 0,
219 4,
220 schemas,
225};
226namespace operations_research {
227namespace math_opt {
228// ===================================================================
229
231 public:
232 using HasBits =
233 decltype(::std::declval<GurobiInitializerProto_ISVKey>()._impl_._has_bits_);
234 static constexpr ::int32_t kHasBitsOffset =
235 8 * PROTOBUF_FIELD_OFFSET(GurobiInitializerProto_ISVKey, _impl_._has_bits_);
236};
237
238GurobiInitializerProto_ISVKey::GurobiInitializerProto_ISVKey(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
239#if defined(PROTOBUF_CUSTOM_VTABLE)
240 : ::google::protobuf::Message(arena, GurobiInitializerProto_ISVKey_class_data_.base()) {
241#else // PROTOBUF_CUSTOM_VTABLE
242 : ::google::protobuf::Message(arena) {
243#endif // PROTOBUF_CUSTOM_VTABLE
244 SharedCtor(arena);
245 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.GurobiInitializerProto.ISVKey)
246}
247PROTOBUF_NDEBUG_INLINE GurobiInitializerProto_ISVKey::Impl_::Impl_(
248 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
249 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
250 [[maybe_unused]] const ::operations_research::math_opt::GurobiInitializerProto_ISVKey& from_msg)
251 : _has_bits_{from._has_bits_},
252 _cached_size_{0},
253 name_(arena, from.name_),
254 application_name_(arena, from.application_name_),
255 key_(arena, from.key_) {}
256
258 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
260#if defined(PROTOBUF_CUSTOM_VTABLE)
261 : ::google::protobuf::Message(arena, GurobiInitializerProto_ISVKey_class_data_.base()) {
262#else // PROTOBUF_CUSTOM_VTABLE
263 : ::google::protobuf::Message(arena) {
264#endif // PROTOBUF_CUSTOM_VTABLE
265 GurobiInitializerProto_ISVKey* const _this = this;
266 (void)_this;
267 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
268 from._internal_metadata_);
269 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
270 _impl_.expiration_ = from._impl_.expiration_;
271
272 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.GurobiInitializerProto.ISVKey)
273}
274PROTOBUF_NDEBUG_INLINE GurobiInitializerProto_ISVKey::Impl_::Impl_(
275 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
276 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
277 : _cached_size_{0},
278 name_(arena),
279 application_name_(arena),
280 key_(arena) {}
281
282inline void GurobiInitializerProto_ISVKey::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
283 new (&_impl_) Impl_(internal_visibility(), arena);
284 _impl_.expiration_ = {};
285}
287 // @@protoc_insertion_point(destructor:operations_research.math_opt.GurobiInitializerProto.ISVKey)
288 SharedDtor(*this);
289}
290inline void GurobiInitializerProto_ISVKey::SharedDtor(MessageLite& self) {
292 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
293 this_.CheckHasBitConsistency();
294 }
295 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
296 ABSL_DCHECK(this_.GetArena() == nullptr);
297 this_._impl_.name_.Destroy();
298 this_._impl_.application_name_.Destroy();
299 this_._impl_.key_.Destroy();
300 this_._impl_.~Impl_();
301}
302
303inline void* PROTOBUF_NONNULL GurobiInitializerProto_ISVKey::PlacementNew_(
304 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
305 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
306 return ::new (mem) GurobiInitializerProto_ISVKey(arena);
307}
308constexpr auto GurobiInitializerProto_ISVKey::InternalNewImpl_() {
309 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GurobiInitializerProto_ISVKey),
311}
313 return ::google::protobuf::internal::ClassDataFull{
314 ::google::protobuf::internal::ClassData{
316 &_table_.header,
317 nullptr, // OnDemandRegisterArenaDtor
318 nullptr, // IsInitialized
319 &GurobiInitializerProto_ISVKey::MergeImpl,
320 ::google::protobuf::Message::GetNewImpl<GurobiInitializerProto_ISVKey>(),
321#if defined(PROTOBUF_CUSTOM_VTABLE)
322 &GurobiInitializerProto_ISVKey::SharedDtor,
323 ::google::protobuf::Message::GetClearImpl<GurobiInitializerProto_ISVKey>(), &GurobiInitializerProto_ISVKey::ByteSizeLong,
325#endif // PROTOBUF_CUSTOM_VTABLE
326 PROTOBUF_FIELD_OFFSET(GurobiInitializerProto_ISVKey, _impl_._cached_size_),
327 false,
328 },
329 &GurobiInitializerProto_ISVKey::kDescriptorMethods,
331 nullptr, // tracker
332 };
333}
334
335PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
336 ::google::protobuf::internal::ClassDataFull GurobiInitializerProto_ISVKey_class_data_ =
338
339PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
340GurobiInitializerProto_ISVKey::GetClassData() const {
341 ::google::protobuf::internal::PrefetchToLocalCache(&GurobiInitializerProto_ISVKey_class_data_);
342 ::google::protobuf::internal::PrefetchToLocalCache(GurobiInitializerProto_ISVKey_class_data_.tc_table);
344}
345PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
346const ::_pbi::TcParseTable<2, 4, 0, 90, 2>
347GurobiInitializerProto_ISVKey::_table_ = {
348 {
349 PROTOBUF_FIELD_OFFSET(GurobiInitializerProto_ISVKey, _impl_._has_bits_),
350 0, // no _extensions_
351 4, 24, // max_field_number, fast_idx_mask
352 offsetof(decltype(_table_), field_lookup_table),
353 4294967280, // skipmap
354 offsetof(decltype(_table_), field_entries),
355 4, // num_field_entries
356 0, // num_aux_entries
357 offsetof(decltype(_table_), field_names), // no aux_entries
359 nullptr, // post_loop_handler
360 ::_pbi::TcParser::GenericFallback, // fallback
361 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
362 ::_pbi::TcParser::GetTable<::operations_research::math_opt::GurobiInitializerProto_ISVKey>(), // to_prefetch
363 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
364 }, {{
365 // string key = 4;
366 {::_pbi::TcParser::FastUS1,
367 {34, 2, 0,
368 PROTOBUF_FIELD_OFFSET(GurobiInitializerProto_ISVKey, _impl_.key_)}},
369 // string name = 1;
370 {::_pbi::TcParser::FastUS1,
371 {10, 0, 0,
372 PROTOBUF_FIELD_OFFSET(GurobiInitializerProto_ISVKey, _impl_.name_)}},
373 // string application_name = 2;
374 {::_pbi::TcParser::FastUS1,
375 {18, 1, 0,
376 PROTOBUF_FIELD_OFFSET(GurobiInitializerProto_ISVKey, _impl_.application_name_)}},
377 // int32 expiration = 3;
378 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GurobiInitializerProto_ISVKey, _impl_.expiration_), 3>(),
379 {24, 3, 0,
380 PROTOBUF_FIELD_OFFSET(GurobiInitializerProto_ISVKey, _impl_.expiration_)}},
381 }}, {{
382 65535, 65535
383 }}, {{
384 // string name = 1;
385 {PROTOBUF_FIELD_OFFSET(GurobiInitializerProto_ISVKey, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
386 // string application_name = 2;
387 {PROTOBUF_FIELD_OFFSET(GurobiInitializerProto_ISVKey, _impl_.application_name_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
388 // int32 expiration = 3;
389 {PROTOBUF_FIELD_OFFSET(GurobiInitializerProto_ISVKey, _impl_.expiration_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
390 // string key = 4;
391 {PROTOBUF_FIELD_OFFSET(GurobiInitializerProto_ISVKey, _impl_.key_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
392 }},
393 // no aux_entries
394 {{
395 "\72\4\20\0\3\0\0\0"
396 "operations_research.math_opt.GurobiInitializerProto.ISVKey"
397 "name"
398 "application_name"
399 "key"
400 }},
401};
402PROTOBUF_NOINLINE void GurobiInitializerProto_ISVKey::Clear() {
403// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.GurobiInitializerProto.ISVKey)
404 ::google::protobuf::internal::TSanWrite(&_impl_);
405 ::uint32_t cached_has_bits = 0;
406 // Prevent compiler warnings about cached_has_bits being unused
407 (void) cached_has_bits;
408
409 cached_has_bits = _impl_._has_bits_[0];
410 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
411 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
412 _impl_.name_.ClearNonDefaultToEmpty();
413 }
414 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
415 _impl_.application_name_.ClearNonDefaultToEmpty();
416 }
417 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
418 _impl_.key_.ClearNonDefaultToEmpty();
419 }
420 }
421 _impl_.expiration_ = 0;
422 _impl_._has_bits_.Clear();
423 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
424}
425
426#if defined(PROTOBUF_CUSTOM_VTABLE)
427::uint8_t* PROTOBUF_NONNULL GurobiInitializerProto_ISVKey::_InternalSerialize(
428 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
429 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
430 const GurobiInitializerProto_ISVKey& this_ = static_cast<const GurobiInitializerProto_ISVKey&>(base);
431#else // PROTOBUF_CUSTOM_VTABLE
432::uint8_t* PROTOBUF_NONNULL GurobiInitializerProto_ISVKey::_InternalSerialize(
433 ::uint8_t* PROTOBUF_NONNULL target,
434 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
435 const GurobiInitializerProto_ISVKey& this_ = *this;
436#endif // PROTOBUF_CUSTOM_VTABLE
437 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
438 this_.CheckHasBitConsistency();
439 }
440 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.GurobiInitializerProto.ISVKey)
441 ::uint32_t cached_has_bits = 0;
442 (void)cached_has_bits;
443
444 cached_has_bits = this_._impl_._has_bits_[0];
445 // string name = 1;
446 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
447 if (!this_._internal_name().empty()) {
448 const ::std::string& _s = this_._internal_name();
449 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
450 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.GurobiInitializerProto.ISVKey.name");
451 target = stream->WriteStringMaybeAliased(1, _s, target);
452 }
453 }
454
455 // string application_name = 2;
456 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
457 if (!this_._internal_application_name().empty()) {
458 const ::std::string& _s = this_._internal_application_name();
459 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
460 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.GurobiInitializerProto.ISVKey.application_name");
461 target = stream->WriteStringMaybeAliased(2, _s, target);
462 }
463 }
464
465 // int32 expiration = 3;
466 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
467 if (this_._internal_expiration() != 0) {
468 target =
469 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
470 stream, this_._internal_expiration(), target);
471 }
472 }
473
474 // string key = 4;
475 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
476 if (!this_._internal_key().empty()) {
477 const ::std::string& _s = this_._internal_key();
478 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
479 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.GurobiInitializerProto.ISVKey.key");
480 target = stream->WriteStringMaybeAliased(4, _s, target);
481 }
482 }
483
484 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
485 target =
486 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
487 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
488 }
489 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.GurobiInitializerProto.ISVKey)
490 return target;
491}
492
493#if defined(PROTOBUF_CUSTOM_VTABLE)
495 const GurobiInitializerProto_ISVKey& this_ = static_cast<const GurobiInitializerProto_ISVKey&>(base);
496#else // PROTOBUF_CUSTOM_VTABLE
498 const GurobiInitializerProto_ISVKey& this_ = *this;
499#endif // PROTOBUF_CUSTOM_VTABLE
500 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.GurobiInitializerProto.ISVKey)
501 ::size_t total_size = 0;
502
503 ::uint32_t cached_has_bits = 0;
504 // Prevent compiler warnings about cached_has_bits being unused
505 (void)cached_has_bits;
506
507 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
508 cached_has_bits = this_._impl_._has_bits_[0];
509 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
510 // string name = 1;
511 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
512 if (!this_._internal_name().empty()) {
513 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
514 this_._internal_name());
515 }
516 }
517 // string application_name = 2;
518 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
519 if (!this_._internal_application_name().empty()) {
520 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
521 this_._internal_application_name());
522 }
523 }
524 // string key = 4;
525 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
526 if (!this_._internal_key().empty()) {
527 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
528 this_._internal_key());
529 }
530 }
531 // int32 expiration = 3;
532 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
533 if (this_._internal_expiration() != 0) {
534 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
535 this_._internal_expiration());
536 }
537 }
538 }
539 return this_.MaybeComputeUnknownFieldsSize(total_size,
540 &this_._impl_._cached_size_);
541}
542
543void GurobiInitializerProto_ISVKey::MergeImpl(::google::protobuf::MessageLite& to_msg,
544 const ::google::protobuf::MessageLite& from_msg) {
545 auto* const _this =
546 static_cast<GurobiInitializerProto_ISVKey*>(&to_msg);
547 auto& from = static_cast<const GurobiInitializerProto_ISVKey&>(from_msg);
548 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
549 from.CheckHasBitConsistency();
550 }
551 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.GurobiInitializerProto.ISVKey)
552 ABSL_DCHECK_NE(&from, _this);
553 ::uint32_t cached_has_bits = 0;
554 (void)cached_has_bits;
555
556 cached_has_bits = from._impl_._has_bits_[0];
557 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
558 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
559 if (!from._internal_name().empty()) {
560 _this->_internal_set_name(from._internal_name());
561 } else {
562 if (_this->_impl_.name_.IsDefault()) {
563 _this->_internal_set_name("");
564 }
565 }
566 }
567 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
568 if (!from._internal_application_name().empty()) {
569 _this->_internal_set_application_name(from._internal_application_name());
570 } else {
571 if (_this->_impl_.application_name_.IsDefault()) {
572 _this->_internal_set_application_name("");
573 }
574 }
575 }
576 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
577 if (!from._internal_key().empty()) {
578 _this->_internal_set_key(from._internal_key());
579 } else {
580 if (_this->_impl_.key_.IsDefault()) {
581 _this->_internal_set_key("");
582 }
583 }
584 }
585 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
586 if (from._internal_expiration() != 0) {
587 _this->_impl_.expiration_ = from._impl_.expiration_;
588 }
589 }
590 }
591 _this->_impl_._has_bits_[0] |= cached_has_bits;
592 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
593 from._internal_metadata_);
594}
595
597 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.GurobiInitializerProto.ISVKey)
598 if (&from == this) return;
599 Clear();
600 MergeFrom(from);
601}
602
603
604void GurobiInitializerProto_ISVKey::InternalSwap(GurobiInitializerProto_ISVKey* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
605 using ::std::swap;
606 auto* arena = GetArena();
607 ABSL_DCHECK_EQ(arena, other->GetArena());
608 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
609 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
610 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
611 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.application_name_, &other->_impl_.application_name_, arena);
612 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.key_, &other->_impl_.key_, arena);
613 swap(_impl_.expiration_, other->_impl_.expiration_);
614}
615
616::google::protobuf::Metadata GurobiInitializerProto_ISVKey::GetMetadata() const {
617 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
618}
619// ===================================================================
620
622 public:
623 using HasBits =
624 decltype(::std::declval<GurobiInitializerProto>()._impl_._has_bits_);
625 static constexpr ::int32_t kHasBitsOffset =
626 8 * PROTOBUF_FIELD_OFFSET(GurobiInitializerProto, _impl_._has_bits_);
628
629GurobiInitializerProto::GurobiInitializerProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
630#if defined(PROTOBUF_CUSTOM_VTABLE)
631 : ::google::protobuf::Message(arena, GurobiInitializerProto_class_data_.base()) {
632#else // PROTOBUF_CUSTOM_VTABLE
633 : ::google::protobuf::Message(arena) {
634#endif // PROTOBUF_CUSTOM_VTABLE
635 SharedCtor(arena);
636 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.GurobiInitializerProto)
637}
638PROTOBUF_NDEBUG_INLINE GurobiInitializerProto::Impl_::Impl_(
639 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
640 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
641 [[maybe_unused]] const ::operations_research::math_opt::GurobiInitializerProto& from_msg)
642 : _has_bits_{from._has_bits_},
643 _cached_size_{0} {}
644
646 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
647 const GurobiInitializerProto& from)
648#if defined(PROTOBUF_CUSTOM_VTABLE)
649 : ::google::protobuf::Message(arena, GurobiInitializerProto_class_data_.base()) {
650#else // PROTOBUF_CUSTOM_VTABLE
651 : ::google::protobuf::Message(arena) {
652#endif // PROTOBUF_CUSTOM_VTABLE
653 GurobiInitializerProto* const _this = this;
654 (void)_this;
655 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
656 from._internal_metadata_);
657 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
658 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
659 _impl_.isv_key_ = (CheckHasBit(cached_has_bits, 0x00000001U))
660 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.isv_key_)
661 : nullptr;
662
663 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.GurobiInitializerProto)
664}
665PROTOBUF_NDEBUG_INLINE GurobiInitializerProto::Impl_::Impl_(
666 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
667 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
668 : _cached_size_{0} {}
669
670inline void GurobiInitializerProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
671 new (&_impl_) Impl_(internal_visibility(), arena);
672 _impl_.isv_key_ = {};
673}
675 // @@protoc_insertion_point(destructor:operations_research.math_opt.GurobiInitializerProto)
676 SharedDtor(*this);
677}
678inline void GurobiInitializerProto::SharedDtor(MessageLite& self) {
679 GurobiInitializerProto& this_ = static_cast<GurobiInitializerProto&>(self);
680 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
681 this_.CheckHasBitConsistency();
682 }
683 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
684 ABSL_DCHECK(this_.GetArena() == nullptr);
685 delete this_._impl_.isv_key_;
686 this_._impl_.~Impl_();
687}
688
689inline void* PROTOBUF_NONNULL GurobiInitializerProto::PlacementNew_(
690 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
691 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
692 return ::new (mem) GurobiInitializerProto(arena);
693}
694constexpr auto GurobiInitializerProto::InternalNewImpl_() {
695 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GurobiInitializerProto),
696 alignof(GurobiInitializerProto));
697}
699 return ::google::protobuf::internal::ClassDataFull{
700 ::google::protobuf::internal::ClassData{
702 &_table_.header,
703 nullptr, // OnDemandRegisterArenaDtor
704 nullptr, // IsInitialized
705 &GurobiInitializerProto::MergeImpl,
706 ::google::protobuf::Message::GetNewImpl<GurobiInitializerProto>(),
707#if defined(PROTOBUF_CUSTOM_VTABLE)
708 &GurobiInitializerProto::SharedDtor,
709 ::google::protobuf::Message::GetClearImpl<GurobiInitializerProto>(), &GurobiInitializerProto::ByteSizeLong,
711#endif // PROTOBUF_CUSTOM_VTABLE
712 PROTOBUF_FIELD_OFFSET(GurobiInitializerProto, _impl_._cached_size_),
713 false,
714 },
715 &GurobiInitializerProto::kDescriptorMethods,
717 nullptr, // tracker
718 };
719}
720
721PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
722 ::google::protobuf::internal::ClassDataFull GurobiInitializerProto_class_data_ =
725PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
726GurobiInitializerProto::GetClassData() const {
727 ::google::protobuf::internal::PrefetchToLocalCache(&GurobiInitializerProto_class_data_);
728 ::google::protobuf::internal::PrefetchToLocalCache(GurobiInitializerProto_class_data_.tc_table);
730}
731PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
732const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
733GurobiInitializerProto::_table_ = {
734 {
735 PROTOBUF_FIELD_OFFSET(GurobiInitializerProto, _impl_._has_bits_),
736 0, // no _extensions_
737 1, 0, // max_field_number, fast_idx_mask
738 offsetof(decltype(_table_), field_lookup_table),
739 4294967294, // skipmap
740 offsetof(decltype(_table_), field_entries),
741 1, // num_field_entries
742 1, // num_aux_entries
743 offsetof(decltype(_table_), aux_entries),
745 nullptr, // post_loop_handler
746 ::_pbi::TcParser::GenericFallback, // fallback
747 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
748 ::_pbi::TcParser::GetTable<::operations_research::math_opt::GurobiInitializerProto>(), // to_prefetch
749 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
750 }, {{
751 // .operations_research.math_opt.GurobiInitializerProto.ISVKey isv_key = 1;
752 {::_pbi::TcParser::FastMtS1,
753 {10, 0, 0,
754 PROTOBUF_FIELD_OFFSET(GurobiInitializerProto, _impl_.isv_key_)}},
755 }}, {{
756 65535, 65535
757 }}, {{
758 // .operations_research.math_opt.GurobiInitializerProto.ISVKey isv_key = 1;
759 {PROTOBUF_FIELD_OFFSET(GurobiInitializerProto, _impl_.isv_key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
760 }},
761 {{
762 {::_pbi::TcParser::GetTable<::operations_research::math_opt::GurobiInitializerProto_ISVKey>()},
763 }},
764 {{
765 }},
766};
767PROTOBUF_NOINLINE void GurobiInitializerProto::Clear() {
768// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.GurobiInitializerProto)
769 ::google::protobuf::internal::TSanWrite(&_impl_);
770 ::uint32_t cached_has_bits = 0;
771 // Prevent compiler warnings about cached_has_bits being unused
772 (void) cached_has_bits;
773
774 cached_has_bits = _impl_._has_bits_[0];
775 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
776 ABSL_DCHECK(_impl_.isv_key_ != nullptr);
777 _impl_.isv_key_->Clear();
778 }
779 _impl_._has_bits_.Clear();
780 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
781}
782
783#if defined(PROTOBUF_CUSTOM_VTABLE)
784::uint8_t* PROTOBUF_NONNULL GurobiInitializerProto::_InternalSerialize(
785 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
786 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
787 const GurobiInitializerProto& this_ = static_cast<const GurobiInitializerProto&>(base);
788#else // PROTOBUF_CUSTOM_VTABLE
789::uint8_t* PROTOBUF_NONNULL GurobiInitializerProto::_InternalSerialize(
790 ::uint8_t* PROTOBUF_NONNULL target,
791 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
792 const GurobiInitializerProto& this_ = *this;
793#endif // PROTOBUF_CUSTOM_VTABLE
794 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
795 this_.CheckHasBitConsistency();
796 }
797 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.GurobiInitializerProto)
798 ::uint32_t cached_has_bits = 0;
799 (void)cached_has_bits;
800
801 cached_has_bits = this_._impl_._has_bits_[0];
802 // .operations_research.math_opt.GurobiInitializerProto.ISVKey isv_key = 1;
803 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
804 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
805 1, *this_._impl_.isv_key_, this_._impl_.isv_key_->GetCachedSize(), target,
806 stream);
807 }
808
809 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
810 target =
811 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
812 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
813 }
814 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.GurobiInitializerProto)
815 return target;
816}
817
818#if defined(PROTOBUF_CUSTOM_VTABLE)
820 const GurobiInitializerProto& this_ = static_cast<const GurobiInitializerProto&>(base);
821#else // PROTOBUF_CUSTOM_VTABLE
823 const GurobiInitializerProto& this_ = *this;
824#endif // PROTOBUF_CUSTOM_VTABLE
825 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.GurobiInitializerProto)
826 ::size_t total_size = 0;
827
828 ::uint32_t cached_has_bits = 0;
829 // Prevent compiler warnings about cached_has_bits being unused
830 (void)cached_has_bits;
831
832 {
833 // .operations_research.math_opt.GurobiInitializerProto.ISVKey isv_key = 1;
834 cached_has_bits = this_._impl_._has_bits_[0];
835 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
836 total_size += 1 +
837 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.isv_key_);
838 }
839 }
840 return this_.MaybeComputeUnknownFieldsSize(total_size,
841 &this_._impl_._cached_size_);
842}
843
844void GurobiInitializerProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
845 const ::google::protobuf::MessageLite& from_msg) {
846 auto* const _this =
847 static_cast<GurobiInitializerProto*>(&to_msg);
848 auto& from = static_cast<const GurobiInitializerProto&>(from_msg);
849 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
850 from.CheckHasBitConsistency();
851 }
852 ::google::protobuf::Arena* arena = _this->GetArena();
853 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.GurobiInitializerProto)
854 ABSL_DCHECK_NE(&from, _this);
855 ::uint32_t cached_has_bits = 0;
856 (void)cached_has_bits;
857
858 cached_has_bits = from._impl_._has_bits_[0];
859 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
860 ABSL_DCHECK(from._impl_.isv_key_ != nullptr);
861 if (_this->_impl_.isv_key_ == nullptr) {
862 _this->_impl_.isv_key_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.isv_key_);
863 } else {
864 _this->_impl_.isv_key_->MergeFrom(*from._impl_.isv_key_);
865 }
866 }
867 _this->_impl_._has_bits_[0] |= cached_has_bits;
868 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
869 from._internal_metadata_);
870}
871
873 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.GurobiInitializerProto)
874 if (&from == this) return;
875 Clear();
876 MergeFrom(from);
877}
878
879
880void GurobiInitializerProto::InternalSwap(GurobiInitializerProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
881 using ::std::swap;
882 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
883 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
884 swap(_impl_.isv_key_, other->_impl_.isv_key_);
885}
886
887::google::protobuf::Metadata GurobiInitializerProto::GetMetadata() const {
888 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
890// ===================================================================
891
893 public:
894 using HasBits =
895 decltype(::std::declval<GurobiParametersProto_Parameter>()._impl_._has_bits_);
896 static constexpr ::int32_t kHasBitsOffset =
897 8 * PROTOBUF_FIELD_OFFSET(GurobiParametersProto_Parameter, _impl_._has_bits_);
898};
900GurobiParametersProto_Parameter::GurobiParametersProto_Parameter(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
901#if defined(PROTOBUF_CUSTOM_VTABLE)
902 : ::google::protobuf::Message(arena, GurobiParametersProto_Parameter_class_data_.base()) {
903#else // PROTOBUF_CUSTOM_VTABLE
904 : ::google::protobuf::Message(arena) {
905#endif // PROTOBUF_CUSTOM_VTABLE
906 SharedCtor(arena);
907 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.GurobiParametersProto.Parameter)
908}
909PROTOBUF_NDEBUG_INLINE GurobiParametersProto_Parameter::Impl_::Impl_(
910 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
911 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
912 [[maybe_unused]] const ::operations_research::math_opt::GurobiParametersProto_Parameter& from_msg)
913 : _has_bits_{from._has_bits_},
914 _cached_size_{0},
915 name_(arena, from.name_),
916 value_(arena, from.value_) {}
917
919 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
921#if defined(PROTOBUF_CUSTOM_VTABLE)
922 : ::google::protobuf::Message(arena, GurobiParametersProto_Parameter_class_data_.base()) {
923#else // PROTOBUF_CUSTOM_VTABLE
924 : ::google::protobuf::Message(arena) {
925#endif // PROTOBUF_CUSTOM_VTABLE
926 GurobiParametersProto_Parameter* const _this = this;
927 (void)_this;
928 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
929 from._internal_metadata_);
930 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
931
932 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.GurobiParametersProto.Parameter)
933}
934PROTOBUF_NDEBUG_INLINE GurobiParametersProto_Parameter::Impl_::Impl_(
935 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
936 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
937 : _cached_size_{0},
938 name_(arena),
939 value_(arena) {}
940
941inline void GurobiParametersProto_Parameter::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
942 new (&_impl_) Impl_(internal_visibility(), arena);
943}
945 // @@protoc_insertion_point(destructor:operations_research.math_opt.GurobiParametersProto.Parameter)
946 SharedDtor(*this);
948inline void GurobiParametersProto_Parameter::SharedDtor(MessageLite& self) {
950 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
951 this_.CheckHasBitConsistency();
952 }
953 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
954 ABSL_DCHECK(this_.GetArena() == nullptr);
955 this_._impl_.name_.Destroy();
956 this_._impl_.value_.Destroy();
957 this_._impl_.~Impl_();
958}
959
960inline void* PROTOBUF_NONNULL GurobiParametersProto_Parameter::PlacementNew_(
961 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
962 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
963 return ::new (mem) GurobiParametersProto_Parameter(arena);
964}
965constexpr auto GurobiParametersProto_Parameter::InternalNewImpl_() {
966 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GurobiParametersProto_Parameter),
967 alignof(GurobiParametersProto_Parameter));
968}
970 return ::google::protobuf::internal::ClassDataFull{
971 ::google::protobuf::internal::ClassData{
973 &_table_.header,
974 nullptr, // OnDemandRegisterArenaDtor
975 nullptr, // IsInitialized
976 &GurobiParametersProto_Parameter::MergeImpl,
977 ::google::protobuf::Message::GetNewImpl<GurobiParametersProto_Parameter>(),
978#if defined(PROTOBUF_CUSTOM_VTABLE)
979 &GurobiParametersProto_Parameter::SharedDtor,
980 ::google::protobuf::Message::GetClearImpl<GurobiParametersProto_Parameter>(), &GurobiParametersProto_Parameter::ByteSizeLong,
982#endif // PROTOBUF_CUSTOM_VTABLE
983 PROTOBUF_FIELD_OFFSET(GurobiParametersProto_Parameter, _impl_._cached_size_),
984 false,
985 },
986 &GurobiParametersProto_Parameter::kDescriptorMethods,
988 nullptr, // tracker
989 };
990}
991
992PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
993 ::google::protobuf::internal::ClassDataFull GurobiParametersProto_Parameter_class_data_ =
995
996PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
997GurobiParametersProto_Parameter::GetClassData() const {
998 ::google::protobuf::internal::PrefetchToLocalCache(&GurobiParametersProto_Parameter_class_data_);
999 ::google::protobuf::internal::PrefetchToLocalCache(GurobiParametersProto_Parameter_class_data_.tc_table);
1001}
1002PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1003const ::_pbi::TcParseTable<1, 2, 0, 78, 2>
1004GurobiParametersProto_Parameter::_table_ = {
1005 {
1006 PROTOBUF_FIELD_OFFSET(GurobiParametersProto_Parameter, _impl_._has_bits_),
1007 0, // no _extensions_
1008 2, 8, // max_field_number, fast_idx_mask
1009 offsetof(decltype(_table_), field_lookup_table),
1010 4294967292, // skipmap
1011 offsetof(decltype(_table_), field_entries),
1012 2, // num_field_entries
1013 0, // num_aux_entries
1014 offsetof(decltype(_table_), field_names), // no aux_entries
1016 nullptr, // post_loop_handler
1017 ::_pbi::TcParser::GenericFallback, // fallback
1018 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1019 ::_pbi::TcParser::GetTable<::operations_research::math_opt::GurobiParametersProto_Parameter>(), // to_prefetch
1020 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1021 }, {{
1022 // string value = 2;
1023 {::_pbi::TcParser::FastUS1,
1024 {18, 1, 0,
1025 PROTOBUF_FIELD_OFFSET(GurobiParametersProto_Parameter, _impl_.value_)}},
1026 // string name = 1;
1027 {::_pbi::TcParser::FastUS1,
1028 {10, 0, 0,
1029 PROTOBUF_FIELD_OFFSET(GurobiParametersProto_Parameter, _impl_.name_)}},
1030 }}, {{
1031 65535, 65535
1032 }}, {{
1033 // string name = 1;
1034 {PROTOBUF_FIELD_OFFSET(GurobiParametersProto_Parameter, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1035 // string value = 2;
1036 {PROTOBUF_FIELD_OFFSET(GurobiParametersProto_Parameter, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1037 }},
1038 // no aux_entries
1039 {{
1040 "\74\4\5\0\0\0\0\0"
1041 "operations_research.math_opt.GurobiParametersProto.Parameter"
1042 "name"
1043 "value"
1044 }},
1045};
1046PROTOBUF_NOINLINE void GurobiParametersProto_Parameter::Clear() {
1047// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.GurobiParametersProto.Parameter)
1048 ::google::protobuf::internal::TSanWrite(&_impl_);
1049 ::uint32_t cached_has_bits = 0;
1050 // Prevent compiler warnings about cached_has_bits being unused
1051 (void) cached_has_bits;
1052
1053 cached_has_bits = _impl_._has_bits_[0];
1054 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1055 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1056 _impl_.name_.ClearNonDefaultToEmpty();
1057 }
1058 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1059 _impl_.value_.ClearNonDefaultToEmpty();
1060 }
1061 }
1062 _impl_._has_bits_.Clear();
1063 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1064}
1065
1066#if defined(PROTOBUF_CUSTOM_VTABLE)
1067::uint8_t* PROTOBUF_NONNULL GurobiParametersProto_Parameter::_InternalSerialize(
1068 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1069 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1070 const GurobiParametersProto_Parameter& this_ = static_cast<const GurobiParametersProto_Parameter&>(base);
1071#else // PROTOBUF_CUSTOM_VTABLE
1072::uint8_t* PROTOBUF_NONNULL GurobiParametersProto_Parameter::_InternalSerialize(
1073 ::uint8_t* PROTOBUF_NONNULL target,
1074 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1076#endif // PROTOBUF_CUSTOM_VTABLE
1077 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1078 this_.CheckHasBitConsistency();
1079 }
1080 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.GurobiParametersProto.Parameter)
1081 ::uint32_t cached_has_bits = 0;
1082 (void)cached_has_bits;
1083
1084 cached_has_bits = this_._impl_._has_bits_[0];
1085 // string name = 1;
1086 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1087 if (!this_._internal_name().empty()) {
1088 const ::std::string& _s = this_._internal_name();
1089 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1090 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.GurobiParametersProto.Parameter.name");
1091 target = stream->WriteStringMaybeAliased(1, _s, target);
1092 }
1093 }
1094
1095 // string value = 2;
1096 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1097 if (!this_._internal_value().empty()) {
1098 const ::std::string& _s = this_._internal_value();
1099 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1100 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.GurobiParametersProto.Parameter.value");
1101 target = stream->WriteStringMaybeAliased(2, _s, target);
1102 }
1103 }
1104
1105 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1106 target =
1107 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1108 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1109 }
1110 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.GurobiParametersProto.Parameter)
1111 return target;
1112}
1113
1114#if defined(PROTOBUF_CUSTOM_VTABLE)
1116 const GurobiParametersProto_Parameter& this_ = static_cast<const GurobiParametersProto_Parameter&>(base);
1117#else // PROTOBUF_CUSTOM_VTABLE
1119 const GurobiParametersProto_Parameter& this_ = *this;
1120#endif // PROTOBUF_CUSTOM_VTABLE
1121 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.GurobiParametersProto.Parameter)
1122 ::size_t total_size = 0;
1123
1124 ::uint32_t cached_has_bits = 0;
1125 // Prevent compiler warnings about cached_has_bits being unused
1126 (void)cached_has_bits;
1127
1128 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1129 cached_has_bits = this_._impl_._has_bits_[0];
1130 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1131 // string name = 1;
1132 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1133 if (!this_._internal_name().empty()) {
1134 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1135 this_._internal_name());
1136 }
1137 }
1138 // string value = 2;
1139 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1140 if (!this_._internal_value().empty()) {
1141 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1142 this_._internal_value());
1143 }
1144 }
1145 }
1146 return this_.MaybeComputeUnknownFieldsSize(total_size,
1147 &this_._impl_._cached_size_);
1148}
1149
1150void GurobiParametersProto_Parameter::MergeImpl(::google::protobuf::MessageLite& to_msg,
1151 const ::google::protobuf::MessageLite& from_msg) {
1152 auto* const _this =
1153 static_cast<GurobiParametersProto_Parameter*>(&to_msg);
1154 auto& from = static_cast<const GurobiParametersProto_Parameter&>(from_msg);
1155 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1156 from.CheckHasBitConsistency();
1157 }
1158 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.GurobiParametersProto.Parameter)
1159 ABSL_DCHECK_NE(&from, _this);
1160 ::uint32_t cached_has_bits = 0;
1161 (void)cached_has_bits;
1162
1163 cached_has_bits = from._impl_._has_bits_[0];
1164 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1165 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1166 if (!from._internal_name().empty()) {
1167 _this->_internal_set_name(from._internal_name());
1168 } else {
1169 if (_this->_impl_.name_.IsDefault()) {
1170 _this->_internal_set_name("");
1171 }
1172 }
1173 }
1174 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1175 if (!from._internal_value().empty()) {
1176 _this->_internal_set_value(from._internal_value());
1177 } else {
1178 if (_this->_impl_.value_.IsDefault()) {
1179 _this->_internal_set_value("");
1180 }
1181 }
1182 }
1183 }
1184 _this->_impl_._has_bits_[0] |= cached_has_bits;
1185 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1186 from._internal_metadata_);
1187}
1188
1189void GurobiParametersProto_Parameter::CopyFrom(const GurobiParametersProto_Parameter& from) {
1190 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.GurobiParametersProto.Parameter)
1191 if (&from == this) return;
1193 MergeFrom(from);
1194}
1195
1196
1197void GurobiParametersProto_Parameter::InternalSwap(GurobiParametersProto_Parameter* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1198 using ::std::swap;
1199 auto* arena = GetArena();
1200 ABSL_DCHECK_EQ(arena, other->GetArena());
1201 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1202 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1203 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
1204 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena);
1205}
1206
1207::google::protobuf::Metadata GurobiParametersProto_Parameter::GetMetadata() const {
1208 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1209}
1210// ===================================================================
1211
1213 public:
1214 using HasBits =
1215 decltype(::std::declval<GurobiParametersProto>()._impl_._has_bits_);
1216 static constexpr ::int32_t kHasBitsOffset =
1217 8 * PROTOBUF_FIELD_OFFSET(GurobiParametersProto, _impl_._has_bits_);
1219
1220GurobiParametersProto::GurobiParametersProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1221#if defined(PROTOBUF_CUSTOM_VTABLE)
1222 : ::google::protobuf::Message(arena, GurobiParametersProto_class_data_.base()) {
1223#else // PROTOBUF_CUSTOM_VTABLE
1224 : ::google::protobuf::Message(arena) {
1225#endif // PROTOBUF_CUSTOM_VTABLE
1226 SharedCtor(arena);
1227 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.GurobiParametersProto)
1228}
1229PROTOBUF_NDEBUG_INLINE GurobiParametersProto::Impl_::Impl_(
1230 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1231 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1232 [[maybe_unused]] const ::operations_research::math_opt::GurobiParametersProto& from_msg)
1233 : _has_bits_{from._has_bits_},
1234 _cached_size_{0},
1235 parameters_{visibility, arena, from.parameters_} {}
1236
1238 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1239 const GurobiParametersProto& from)
1240#if defined(PROTOBUF_CUSTOM_VTABLE)
1241 : ::google::protobuf::Message(arena, GurobiParametersProto_class_data_.base()) {
1242#else // PROTOBUF_CUSTOM_VTABLE
1243 : ::google::protobuf::Message(arena) {
1244#endif // PROTOBUF_CUSTOM_VTABLE
1245 GurobiParametersProto* const _this = this;
1246 (void)_this;
1247 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1248 from._internal_metadata_);
1249 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1250
1251 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.GurobiParametersProto)
1252}
1253PROTOBUF_NDEBUG_INLINE GurobiParametersProto::Impl_::Impl_(
1254 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1255 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1256 : _cached_size_{0},
1257 parameters_{visibility, arena} {}
1258
1259inline void GurobiParametersProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1260 new (&_impl_) Impl_(internal_visibility(), arena);
1261}
1263 // @@protoc_insertion_point(destructor:operations_research.math_opt.GurobiParametersProto)
1264 SharedDtor(*this);
1265}
1266inline void GurobiParametersProto::SharedDtor(MessageLite& self) {
1267 GurobiParametersProto& this_ = static_cast<GurobiParametersProto&>(self);
1268 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1269 this_.CheckHasBitConsistency();
1270 }
1271 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1272 ABSL_DCHECK(this_.GetArena() == nullptr);
1273 this_._impl_.~Impl_();
1274}
1275
1276inline void* PROTOBUF_NONNULL GurobiParametersProto::PlacementNew_(
1277 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1278 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1279 return ::new (mem) GurobiParametersProto(arena);
1280}
1281constexpr auto GurobiParametersProto::InternalNewImpl_() {
1282 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1283 PROTOBUF_FIELD_OFFSET(GurobiParametersProto, _impl_.parameters_) +
1284 decltype(GurobiParametersProto::_impl_.parameters_)::
1285 InternalGetArenaOffset(
1286 ::google::protobuf::Message::internal_visibility()),
1287 });
1288 if (arena_bits.has_value()) {
1289 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1290 sizeof(GurobiParametersProto), alignof(GurobiParametersProto), *arena_bits);
1291 } else {
1292 return ::google::protobuf::internal::MessageCreator(&GurobiParametersProto::PlacementNew_,
1293 sizeof(GurobiParametersProto),
1294 alignof(GurobiParametersProto));
1295 }
1296}
1298 return ::google::protobuf::internal::ClassDataFull{
1299 ::google::protobuf::internal::ClassData{
1301 &_table_.header,
1302 nullptr, // OnDemandRegisterArenaDtor
1303 nullptr, // IsInitialized
1304 &GurobiParametersProto::MergeImpl,
1305 ::google::protobuf::Message::GetNewImpl<GurobiParametersProto>(),
1306#if defined(PROTOBUF_CUSTOM_VTABLE)
1307 &GurobiParametersProto::SharedDtor,
1308 ::google::protobuf::Message::GetClearImpl<GurobiParametersProto>(), &GurobiParametersProto::ByteSizeLong,
1310#endif // PROTOBUF_CUSTOM_VTABLE
1311 PROTOBUF_FIELD_OFFSET(GurobiParametersProto, _impl_._cached_size_),
1312 false,
1313 },
1314 &GurobiParametersProto::kDescriptorMethods,
1316 nullptr, // tracker
1317 };
1318}
1319
1320PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1321 ::google::protobuf::internal::ClassDataFull GurobiParametersProto_class_data_ =
1323
1324PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1325GurobiParametersProto::GetClassData() const {
1326 ::google::protobuf::internal::PrefetchToLocalCache(&GurobiParametersProto_class_data_);
1327 ::google::protobuf::internal::PrefetchToLocalCache(GurobiParametersProto_class_data_.tc_table);
1329}
1330PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1331const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
1332GurobiParametersProto::_table_ = {
1333 {
1334 PROTOBUF_FIELD_OFFSET(GurobiParametersProto, _impl_._has_bits_),
1335 0, // no _extensions_
1336 1, 0, // max_field_number, fast_idx_mask
1337 offsetof(decltype(_table_), field_lookup_table),
1338 4294967294, // skipmap
1339 offsetof(decltype(_table_), field_entries),
1340 1, // num_field_entries
1341 1, // num_aux_entries
1342 offsetof(decltype(_table_), aux_entries),
1344 nullptr, // post_loop_handler
1345 ::_pbi::TcParser::GenericFallback, // fallback
1346 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1347 ::_pbi::TcParser::GetTable<::operations_research::math_opt::GurobiParametersProto>(), // to_prefetch
1348 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1349 }, {{
1350 // repeated .operations_research.math_opt.GurobiParametersProto.Parameter parameters = 1;
1351 {::_pbi::TcParser::FastMtR1,
1352 {10, 0, 0,
1353 PROTOBUF_FIELD_OFFSET(GurobiParametersProto, _impl_.parameters_)}},
1354 }}, {{
1355 65535, 65535
1356 }}, {{
1357 // repeated .operations_research.math_opt.GurobiParametersProto.Parameter parameters = 1;
1358 {PROTOBUF_FIELD_OFFSET(GurobiParametersProto, _impl_.parameters_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1359 }},
1360 {{
1361 {::_pbi::TcParser::GetTable<::operations_research::math_opt::GurobiParametersProto_Parameter>()},
1362 }},
1363 {{
1364 }},
1365};
1366PROTOBUF_NOINLINE void GurobiParametersProto::Clear() {
1367// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.GurobiParametersProto)
1368 ::google::protobuf::internal::TSanWrite(&_impl_);
1369 ::uint32_t cached_has_bits = 0;
1370 // Prevent compiler warnings about cached_has_bits being unused
1371 (void) cached_has_bits;
1372
1373 cached_has_bits = _impl_._has_bits_[0];
1374 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1375 _impl_.parameters_.Clear();
1376 }
1377 _impl_._has_bits_.Clear();
1378 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1379}
1380
1381#if defined(PROTOBUF_CUSTOM_VTABLE)
1382::uint8_t* PROTOBUF_NONNULL GurobiParametersProto::_InternalSerialize(
1383 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1384 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1385 const GurobiParametersProto& this_ = static_cast<const GurobiParametersProto&>(base);
1386#else // PROTOBUF_CUSTOM_VTABLE
1387::uint8_t* PROTOBUF_NONNULL GurobiParametersProto::_InternalSerialize(
1388 ::uint8_t* PROTOBUF_NONNULL target,
1389 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1390 const GurobiParametersProto& this_ = *this;
1391#endif // PROTOBUF_CUSTOM_VTABLE
1392 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1393 this_.CheckHasBitConsistency();
1394 }
1395 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.GurobiParametersProto)
1396 ::uint32_t cached_has_bits = 0;
1397 (void)cached_has_bits;
1398
1399 cached_has_bits = this_._impl_._has_bits_[0];
1400 // repeated .operations_research.math_opt.GurobiParametersProto.Parameter parameters = 1;
1401 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1402 for (unsigned i = 0, n = static_cast<unsigned>(
1403 this_._internal_parameters_size());
1404 i < n; i++) {
1405 const auto& repfield = this_._internal_parameters().Get(i);
1406 target =
1407 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1408 1, repfield, repfield.GetCachedSize(),
1409 target, stream);
1410 }
1411 }
1412
1413 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1414 target =
1415 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1416 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1417 }
1418 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.GurobiParametersProto)
1419 return target;
1420}
1421
1422#if defined(PROTOBUF_CUSTOM_VTABLE)
1424 const GurobiParametersProto& this_ = static_cast<const GurobiParametersProto&>(base);
1425#else // PROTOBUF_CUSTOM_VTABLE
1426::size_t GurobiParametersProto::ByteSizeLong() const {
1427 const GurobiParametersProto& this_ = *this;
1428#endif // PROTOBUF_CUSTOM_VTABLE
1429 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.GurobiParametersProto)
1430 ::size_t total_size = 0;
1431
1432 ::uint32_t cached_has_bits = 0;
1433 // Prevent compiler warnings about cached_has_bits being unused
1434 (void)cached_has_bits;
1435
1436 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1437 {
1438 // repeated .operations_research.math_opt.GurobiParametersProto.Parameter parameters = 1;
1439 cached_has_bits = this_._impl_._has_bits_[0];
1440 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1441 total_size += 1UL * this_._internal_parameters_size();
1442 for (const auto& msg : this_._internal_parameters()) {
1443 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1444 }
1445 }
1446 }
1447 return this_.MaybeComputeUnknownFieldsSize(total_size,
1448 &this_._impl_._cached_size_);
1449}
1450
1451void GurobiParametersProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1452 const ::google::protobuf::MessageLite& from_msg) {
1453 auto* const _this =
1454 static_cast<GurobiParametersProto*>(&to_msg);
1455 auto& from = static_cast<const GurobiParametersProto&>(from_msg);
1456 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1457 from.CheckHasBitConsistency();
1458 }
1459 ::google::protobuf::Arena* arena = _this->GetArena();
1460 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.GurobiParametersProto)
1461 ABSL_DCHECK_NE(&from, _this);
1462 ::uint32_t cached_has_bits = 0;
1463 (void)cached_has_bits;
1464
1465 cached_has_bits = from._impl_._has_bits_[0];
1466 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1467 _this->_internal_mutable_parameters()->InternalMergeFromWithArena(
1468 ::google::protobuf::MessageLite::internal_visibility(), arena,
1469 from._internal_parameters());
1470 }
1471 _this->_impl_._has_bits_[0] |= cached_has_bits;
1472 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1473 from._internal_metadata_);
1474}
1475
1476void GurobiParametersProto::CopyFrom(const GurobiParametersProto& from) {
1477 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.GurobiParametersProto)
1478 if (&from == this) return;
1479 Clear();
1481}
1482
1483
1484void GurobiParametersProto::InternalSwap(GurobiParametersProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1485 using ::std::swap;
1486 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1487 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1488 _impl_.parameters_.InternalSwap(&other->_impl_.parameters_);
1489}
1490
1491::google::protobuf::Metadata GurobiParametersProto::GetMetadata() const {
1492 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1493}
1494// @@protoc_insertion_point(namespace_scope)
1495} // namespace math_opt
1496} // namespace operations_research
1497namespace google {
1498namespace protobuf {
1499} // namespace protobuf
1500} // namespace google
1501// @@protoc_insertion_point(global_scope)
1502PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1503 _static_init2_ [[maybe_unused]] =
1505 ::std::false_type{});
1506#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[]
decltype(::std::declval< GurobiInitializerProto >()._impl_._has_bits_) HasBits
Definition gurobi.pb.cc:625
decltype(::std::declval< GurobiInitializerProto_ISVKey >()._impl_._has_bits_) HasBits
Definition gurobi.pb.cc:233
friend void swap(GurobiInitializerProto_ISVKey &a, GurobiInitializerProto_ISVKey &b)
Definition gurobi.pb.h:359
void CopyFrom(const GurobiInitializerProto_ISVKey &from)
Definition gurobi.pb.cc:597
void MergeFrom(const GurobiInitializerProto_ISVKey &from)
Definition gurobi.pb.h:382
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition gurobi.pb.h:336
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition gurobi.pb.cc:433
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition gurobi.pb.cc:403
void MergeFrom(const GurobiInitializerProto &from)
Definition gurobi.pb.h:823
friend class ::google::protobuf::MessageLite
Definition gurobi.pb.h:913
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition gurobi.pb.cc:791
::google::protobuf::Metadata GetMetadata() const
Definition gurobi.pb.cc:889
void CopyFrom(const GurobiInitializerProto &from)
Definition gurobi.pb.cc:874
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition gurobi.pb.cc:769
friend void swap(GurobiInitializerProto &a, GurobiInitializerProto &b)
Definition gurobi.pb.h:800
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition gurobi.pb.h:777
void MergeFrom(const GurobiParametersProto_Parameter &from)
Definition gurobi.pb.h:169
void CopyFrom(const GurobiParametersProto_Parameter &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition gurobi.pb.h:123
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend class ::google::protobuf::MessageLite
Definition gurobi.pb.h:716
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const GurobiParametersProto &from)
Definition gurobi.pb.h:624
void CopyFrom(const GurobiParametersProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fsolvers_2fgurobi_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fmath_5fopt_2fsolvers_2fgurobi_2eproto
Definition gurobi.pb.cc:146
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fgurobi_2eproto_once
Definition gurobi.pb.cc:209
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fgurobi_2eproto
Definition gurobi.pb.cc:210
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fsolvers_2fgurobi_2eproto
Definition gurobi.pb.cc:148
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GurobiInitializerProto_ISVKeyDefaultTypeInternal _GurobiInitializerProto_ISVKey_default_instance_
Definition gurobi.pb.cc:92
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GurobiParametersProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GurobiParametersProto_ParameterDefaultTypeInternal _GurobiParametersProto_Parameter_default_instance_
Definition gurobi.pb.cc:58
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GurobiParametersProtoDefaultTypeInternal _GurobiParametersProto_default_instance_
Definition gurobi.pb.cc:117
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GurobiInitializerProto_ISVKey_class_data_
Definition gurobi.pb.cc:337
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GurobiInitializerProtoDefaultTypeInternal _GurobiInitializerProto_default_instance_
Definition gurobi.pb.cc:142
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GurobiParametersProto_Parameter_class_data_
Definition gurobi.pb.cc:996
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull GurobiInitializerProto_class_data_
Definition gurobi.pb.cc:724
OR-Tools root namespace.