Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
rpc.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/rpc.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 StatusProto::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
32 : _cached_size_{0},
33 message_(
34 &::google::protobuf::internal::fixed_address_empty_string,
35 ::_pbi::ConstantInitialized()),
36 code_{0} {}
37
38template <typename>
39PROTOBUF_CONSTEXPR StatusProto::StatusProto(::_pbi::ConstantInitialized)
40#if defined(PROTOBUF_CUSTOM_VTABLE)
41 : ::google::protobuf::Message(StatusProto_class_data_.base()),
42#else // PROTOBUF_CUSTOM_VTABLE
43 : ::google::protobuf::Message(),
44#endif // PROTOBUF_CUSTOM_VTABLE
45 _impl_(::_pbi::ConstantInitialized()) {
46}
48 PROTOBUF_CONSTEXPR StatusProtoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
50 union {
52 };
53};
54
55PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
57
58inline constexpr SolverResourcesProto::Impl_::Impl_(
59 ::_pbi::ConstantInitialized) noexcept
60 : _cached_size_{0},
61 cpu_{0},
62 ram_{0} {}
63
64template <typename>
65PROTOBUF_CONSTEXPR SolverResourcesProto::SolverResourcesProto(::_pbi::ConstantInitialized)
66#if defined(PROTOBUF_CUSTOM_VTABLE)
67 : ::google::protobuf::Message(SolverResourcesProto_class_data_.base()),
68#else // PROTOBUF_CUSTOM_VTABLE
69 : ::google::protobuf::Message(),
70#endif // PROTOBUF_CUSTOM_VTABLE
71 _impl_(::_pbi::ConstantInitialized()) {
72}
80
81PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
83
84inline constexpr SolveResponse::Impl_::Impl_(
85 ::_pbi::ConstantInitialized) noexcept
86 : _cached_size_{0},
87 messages_{},
88 status_or_{},
89 _oneof_case_{} {}
90
91template <typename>
92PROTOBUF_CONSTEXPR SolveResponse::SolveResponse(::_pbi::ConstantInitialized)
93#if defined(PROTOBUF_CUSTOM_VTABLE)
94 : ::google::protobuf::Message(SolveResponse_class_data_.base()),
95#else // PROTOBUF_CUSTOM_VTABLE
96 : ::google::protobuf::Message(),
97#endif // PROTOBUF_CUSTOM_VTABLE
98 _impl_(::_pbi::ConstantInitialized()) {
99}
101 PROTOBUF_CONSTEXPR SolveResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
103 union {
105 };
106};
107
108PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
110
111inline constexpr SolveRequest::Impl_::Impl_(
112 ::_pbi::ConstantInitialized) noexcept
113 : _cached_size_{0},
114 model_{nullptr},
115 initializer_{nullptr},
116 parameters_{nullptr},
117 model_parameters_{nullptr},
118 resources_{nullptr},
119 solver_type_{static_cast< ::operations_research::math_opt::SolverTypeProto >(0)} {}
120
121template <typename>
122PROTOBUF_CONSTEXPR SolveRequest::SolveRequest(::_pbi::ConstantInitialized)
123#if defined(PROTOBUF_CUSTOM_VTABLE)
124 : ::google::protobuf::Message(SolveRequest_class_data_.base()),
125#else // PROTOBUF_CUSTOM_VTABLE
126 : ::google::protobuf::Message(),
127#endif // PROTOBUF_CUSTOM_VTABLE
128 _impl_(::_pbi::ConstantInitialized()) {
129}
131 PROTOBUF_CONSTEXPR SolveRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
133 union {
135 };
136};
137
138PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
140} // namespace math_opt
141} // namespace operations_research
142static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
144static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
146const ::uint32_t
148 protodesc_cold) = {
149 0x081, // bitmap
150 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolverResourcesProto, _impl_._has_bits_),
151 5, // hasbit index offset
152 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolverResourcesProto, _impl_.cpu_),
153 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolverResourcesProto, _impl_.ram_),
154 0,
155 1,
156 0x081, // bitmap
157 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveRequest, _impl_._has_bits_),
158 9, // hasbit index offset
159 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveRequest, _impl_.solver_type_),
160 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveRequest, _impl_.model_),
161 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveRequest, _impl_.resources_),
162 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveRequest, _impl_.initializer_),
163 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveRequest, _impl_.parameters_),
164 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveRequest, _impl_.model_parameters_),
165 5,
166 0,
167 4,
168 1,
169 2,
170 3,
171 0x085, // bitmap
172 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResponse, _impl_._has_bits_),
173 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResponse, _impl_._oneof_case_[0]),
174 8, // hasbit index offset
175 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResponse, _impl_.status_or_),
176 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResponse, _impl_.status_or_),
177 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResponse, _impl_.messages_),
178 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResponse, _impl_.status_or_),
179 ~0u,
180 ~0u,
181 0,
182 0x081, // bitmap
183 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::StatusProto, _impl_._has_bits_),
184 5, // hasbit index offset
185 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::StatusProto, _impl_.code_),
186 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::StatusProto, _impl_.message_),
187 1,
188 0,
189};
190
191static const ::_pbi::MigrationSchema
192 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
197};
204const char descriptor_table_protodef_ortools_2fmath_5fopt_2frpc_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
205 protodesc_cold) = {
206 "\n\032ortools/math_opt/rpc.proto\022\034operations"
207 "_research.math_opt\032\037ortools/math_opt/cal"
208 "lback.proto\032+ortools/math_opt/infeasible"
209 "_subsystem.proto\032\034ortools/math_opt/model"
210 ".proto\032\'ortools/math_opt/model_parameter"
211 "s.proto\032#ortools/math_opt/model_update.p"
212 "roto\032!ortools/math_opt/parameters.proto\032"
213 "\035ortools/math_opt/result.proto\"J\n\024Solver"
214 "ResourcesProto\022\020\n\003cpu\030\001 \001(\001H\000\210\001\001\022\020\n\003ram\030"
215 "\002 \001(\001H\001\210\001\001B\006\n\004_cpuB\006\n\004_ram\"\270\003\n\014SolveRequ"
216 "est\022B\n\013solver_type\030\001 \001(\0162-.operations_re"
217 "search.math_opt.SolverTypeProto\0227\n\005model"
218 "\030\002 \001(\0132(.operations_research.math_opt.Mo"
219 "delProto\022E\n\tresources\030\006 \001(\01322.operations"
220 "_research.math_opt.SolverResourcesProto\022"
221 "I\n\013initializer\030\003 \001(\01324.operations_resear"
222 "ch.math_opt.SolverInitializerProto\022F\n\npa"
223 "rameters\030\004 \001(\01322.operations_research.mat"
224 "h_opt.SolveParametersProto\022Q\n\020model_para"
225 "meters\030\005 \001(\01327.operations_research.math_"
226 "opt.ModelSolveParametersProto\"\255\001\n\rSolveR"
227 "esponse\022@\n\006result\030\001 \001(\0132..operations_res"
228 "earch.math_opt.SolveResultProtoH\000\022;\n\006sta"
229 "tus\030\003 \001(\0132).operations_research.math_opt"
230 ".StatusProtoH\000\022\020\n\010messages\030\002 \003(\tB\013\n\tstat"
231 "us_or\",\n\013StatusProto\022\014\n\004code\030\001 \001(\005\022\017\n\007me"
232 "ssage\030\002 \001(\tB\036\n\032com.google.ortools.mathop"
233 "tP\001b\006proto3"
234};
235static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
262namespace operations_research {
263namespace math_opt {
264// ===================================================================
265
267 public:
268 using HasBits =
269 decltype(::std::declval<SolverResourcesProto>()._impl_._has_bits_);
270 static constexpr ::int32_t kHasBitsOffset =
271 8 * PROTOBUF_FIELD_OFFSET(SolverResourcesProto, _impl_._has_bits_);
272};
273
274SolverResourcesProto::SolverResourcesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
275#if defined(PROTOBUF_CUSTOM_VTABLE)
276 : ::google::protobuf::Message(arena, SolverResourcesProto_class_data_.base()) {
277#else // PROTOBUF_CUSTOM_VTABLE
278 : ::google::protobuf::Message(arena) {
279#endif // PROTOBUF_CUSTOM_VTABLE
280 SharedCtor(arena);
281 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.SolverResourcesProto)
282}
284 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SolverResourcesProto& from)
285#if defined(PROTOBUF_CUSTOM_VTABLE)
286 : ::google::protobuf::Message(arena, SolverResourcesProto_class_data_.base()),
287#else // PROTOBUF_CUSTOM_VTABLE
288 : ::google::protobuf::Message(arena),
289#endif // PROTOBUF_CUSTOM_VTABLE
290 _impl_(from._impl_) {
291 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
292 from._internal_metadata_);
293}
294PROTOBUF_NDEBUG_INLINE SolverResourcesProto::Impl_::Impl_(
295 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
296 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
297 : _cached_size_{0} {}
298
299inline void SolverResourcesProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
300 new (&_impl_) Impl_(internal_visibility(), arena);
301 ::memset(reinterpret_cast<char*>(&_impl_) +
302 offsetof(Impl_, cpu_),
303 0,
304 offsetof(Impl_, ram_) -
305 offsetof(Impl_, cpu_) +
306 sizeof(Impl_::ram_));
307}
309 // @@protoc_insertion_point(destructor:operations_research.math_opt.SolverResourcesProto)
310 SharedDtor(*this);
311}
312inline void SolverResourcesProto::SharedDtor(MessageLite& self) {
313 SolverResourcesProto& this_ = static_cast<SolverResourcesProto&>(self);
314 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
315 this_.CheckHasBitConsistency();
316 }
317 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
318 ABSL_DCHECK(this_.GetArena() == nullptr);
319 this_._impl_.~Impl_();
320}
321
322inline void* PROTOBUF_NONNULL SolverResourcesProto::PlacementNew_(
323 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
324 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
325 return ::new (mem) SolverResourcesProto(arena);
326}
327constexpr auto SolverResourcesProto::InternalNewImpl_() {
328 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SolverResourcesProto),
329 alignof(SolverResourcesProto));
330}
332 return ::google::protobuf::internal::ClassDataFull{
333 ::google::protobuf::internal::ClassData{
335 &_table_.header,
336 nullptr, // OnDemandRegisterArenaDtor
337 nullptr, // IsInitialized
338 &SolverResourcesProto::MergeImpl,
339 ::google::protobuf::Message::GetNewImpl<SolverResourcesProto>(),
340#if defined(PROTOBUF_CUSTOM_VTABLE)
341 &SolverResourcesProto::SharedDtor,
342 ::google::protobuf::Message::GetClearImpl<SolverResourcesProto>(), &SolverResourcesProto::ByteSizeLong,
344#endif // PROTOBUF_CUSTOM_VTABLE
345 PROTOBUF_FIELD_OFFSET(SolverResourcesProto, _impl_._cached_size_),
346 false,
347 },
348 &SolverResourcesProto::kDescriptorMethods,
350 nullptr, // tracker
351 };
352}
353
354PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
355 ::google::protobuf::internal::ClassDataFull SolverResourcesProto_class_data_ =
357
358PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
359SolverResourcesProto::GetClassData() const {
360 ::google::protobuf::internal::PrefetchToLocalCache(&SolverResourcesProto_class_data_);
361 ::google::protobuf::internal::PrefetchToLocalCache(SolverResourcesProto_class_data_.tc_table);
363}
364PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
365const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
366SolverResourcesProto::_table_ = {
367 {
368 PROTOBUF_FIELD_OFFSET(SolverResourcesProto, _impl_._has_bits_),
369 0, // no _extensions_
370 2, 8, // max_field_number, fast_idx_mask
371 offsetof(decltype(_table_), field_lookup_table),
372 4294967292, // skipmap
373 offsetof(decltype(_table_), field_entries),
374 2, // num_field_entries
375 0, // num_aux_entries
376 offsetof(decltype(_table_), field_names), // no aux_entries
378 nullptr, // post_loop_handler
379 ::_pbi::TcParser::GenericFallback, // fallback
380 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
381 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolverResourcesProto>(), // to_prefetch
382 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
383 }, {{
384 // optional double ram = 2;
385 {::_pbi::TcParser::FastF64S1,
386 {17, 1, 0,
387 PROTOBUF_FIELD_OFFSET(SolverResourcesProto, _impl_.ram_)}},
388 // optional double cpu = 1;
389 {::_pbi::TcParser::FastF64S1,
390 {9, 0, 0,
391 PROTOBUF_FIELD_OFFSET(SolverResourcesProto, _impl_.cpu_)}},
392 }}, {{
393 65535, 65535
394 }}, {{
395 // optional double cpu = 1;
396 {PROTOBUF_FIELD_OFFSET(SolverResourcesProto, _impl_.cpu_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
397 // optional double ram = 2;
398 {PROTOBUF_FIELD_OFFSET(SolverResourcesProto, _impl_.ram_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
399 }},
400 // no aux_entries
401 {{
402 }},
403};
404PROTOBUF_NOINLINE void SolverResourcesProto::Clear() {
405// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.SolverResourcesProto)
406 ::google::protobuf::internal::TSanWrite(&_impl_);
407 ::uint32_t cached_has_bits = 0;
408 // Prevent compiler warnings about cached_has_bits being unused
409 (void) cached_has_bits;
410
411 cached_has_bits = _impl_._has_bits_[0];
412 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
413 ::memset(&_impl_.cpu_, 0, static_cast<::size_t>(
414 reinterpret_cast<char*>(&_impl_.ram_) -
415 reinterpret_cast<char*>(&_impl_.cpu_)) + sizeof(_impl_.ram_));
416 }
417 _impl_._has_bits_.Clear();
418 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
419}
420
421#if defined(PROTOBUF_CUSTOM_VTABLE)
422::uint8_t* PROTOBUF_NONNULL SolverResourcesProto::_InternalSerialize(
423 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
424 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
425 const SolverResourcesProto& this_ = static_cast<const SolverResourcesProto&>(base);
426#else // PROTOBUF_CUSTOM_VTABLE
427::uint8_t* PROTOBUF_NONNULL SolverResourcesProto::_InternalSerialize(
428 ::uint8_t* PROTOBUF_NONNULL target,
429 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
430 const SolverResourcesProto& this_ = *this;
431#endif // PROTOBUF_CUSTOM_VTABLE
432 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
433 this_.CheckHasBitConsistency();
434 }
435 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SolverResourcesProto)
436 ::uint32_t cached_has_bits = 0;
437 (void)cached_has_bits;
438
439 cached_has_bits = this_._impl_._has_bits_[0];
440 // optional double cpu = 1;
441 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
442 target = stream->EnsureSpace(target);
443 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
444 1, this_._internal_cpu(), target);
445 }
446
447 // optional double ram = 2;
448 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
449 target = stream->EnsureSpace(target);
450 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
451 2, this_._internal_ram(), target);
452 }
453
454 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
455 target =
456 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
457 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
458 }
459 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SolverResourcesProto)
460 return target;
461}
462
463#if defined(PROTOBUF_CUSTOM_VTABLE)
465 const SolverResourcesProto& this_ = static_cast<const SolverResourcesProto&>(base);
466#else // PROTOBUF_CUSTOM_VTABLE
467::size_t SolverResourcesProto::ByteSizeLong() const {
468 const SolverResourcesProto& this_ = *this;
469#endif // PROTOBUF_CUSTOM_VTABLE
470 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SolverResourcesProto)
471 ::size_t total_size = 0;
472
473 ::uint32_t cached_has_bits = 0;
474 // Prevent compiler warnings about cached_has_bits being unused
475 (void)cached_has_bits;
476
477 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
478 cached_has_bits = this_._impl_._has_bits_[0];
479 total_size += ::absl::popcount(0x00000003U & cached_has_bits) * 9;
480 return this_.MaybeComputeUnknownFieldsSize(total_size,
481 &this_._impl_._cached_size_);
482}
483
484void SolverResourcesProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
485 const ::google::protobuf::MessageLite& from_msg) {
486 auto* const _this =
487 static_cast<SolverResourcesProto*>(&to_msg);
488 auto& from = static_cast<const SolverResourcesProto&>(from_msg);
489 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
490 from.CheckHasBitConsistency();
491 }
492 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.SolverResourcesProto)
493 ABSL_DCHECK_NE(&from, _this);
494 ::uint32_t cached_has_bits = 0;
495 (void)cached_has_bits;
496
497 cached_has_bits = from._impl_._has_bits_[0];
498 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
499 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
500 _this->_impl_.cpu_ = from._impl_.cpu_;
501 }
502 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
503 _this->_impl_.ram_ = from._impl_.ram_;
504 }
505 }
506 _this->_impl_._has_bits_[0] |= cached_has_bits;
507 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
508 from._internal_metadata_);
509}
510
512 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SolverResourcesProto)
513 if (&from == this) return;
514 Clear();
515 MergeFrom(from);
516}
517
518
519void SolverResourcesProto::InternalSwap(SolverResourcesProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
520 using ::std::swap;
521 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
522 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
523 ::google::protobuf::internal::memswap<
524 PROTOBUF_FIELD_OFFSET(SolverResourcesProto, _impl_.ram_)
525 + sizeof(SolverResourcesProto::_impl_.ram_)
526 - PROTOBUF_FIELD_OFFSET(SolverResourcesProto, _impl_.cpu_)>(
527 reinterpret_cast<char*>(&_impl_.cpu_),
528 reinterpret_cast<char*>(&other->_impl_.cpu_));
529}
530
531::google::protobuf::Metadata SolverResourcesProto::GetMetadata() const {
532 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
533}
534// ===================================================================
535
537 public:
538 using HasBits =
539 decltype(::std::declval<SolveRequest>()._impl_._has_bits_);
540 static constexpr ::int32_t kHasBitsOffset =
541 8 * PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_._has_bits_);
543
545 ::google::protobuf::internal::TSanWrite(&_impl_);
546 if (_impl_.model_ != nullptr) _impl_.model_->Clear();
547 ClearHasBit(_impl_._has_bits_[0],
548 0x00000001U);
549}
551 ::google::protobuf::internal::TSanWrite(&_impl_);
552 if (_impl_.initializer_ != nullptr) _impl_.initializer_->Clear();
553 ClearHasBit(_impl_._has_bits_[0],
554 0x00000002U);
555}
557 ::google::protobuf::internal::TSanWrite(&_impl_);
558 if (_impl_.parameters_ != nullptr) _impl_.parameters_->Clear();
559 ClearHasBit(_impl_._has_bits_[0],
560 0x00000004U);
561}
563 ::google::protobuf::internal::TSanWrite(&_impl_);
564 if (_impl_.model_parameters_ != nullptr) _impl_.model_parameters_->Clear();
565 ClearHasBit(_impl_._has_bits_[0],
566 0x00000008U);
567}
568SolveRequest::SolveRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
569#if defined(PROTOBUF_CUSTOM_VTABLE)
570 : ::google::protobuf::Message(arena, SolveRequest_class_data_.base()) {
571#else // PROTOBUF_CUSTOM_VTABLE
572 : ::google::protobuf::Message(arena) {
573#endif // PROTOBUF_CUSTOM_VTABLE
574 SharedCtor(arena);
575 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.SolveRequest)
576}
577PROTOBUF_NDEBUG_INLINE SolveRequest::Impl_::Impl_(
578 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
579 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
580 [[maybe_unused]] const ::operations_research::math_opt::SolveRequest& from_msg)
581 : _has_bits_{from._has_bits_},
582 _cached_size_{0} {}
583
585 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
586 const SolveRequest& from)
587#if defined(PROTOBUF_CUSTOM_VTABLE)
588 : ::google::protobuf::Message(arena, SolveRequest_class_data_.base()) {
589#else // PROTOBUF_CUSTOM_VTABLE
590 : ::google::protobuf::Message(arena) {
591#endif // PROTOBUF_CUSTOM_VTABLE
592 SolveRequest* const _this = this;
593 (void)_this;
594 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
595 from._internal_metadata_);
596 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
597 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
598 _impl_.model_ = (CheckHasBit(cached_has_bits, 0x00000001U))
599 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.model_)
600 : nullptr;
601 _impl_.initializer_ = (CheckHasBit(cached_has_bits, 0x00000002U))
602 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.initializer_)
603 : nullptr;
604 _impl_.parameters_ = (CheckHasBit(cached_has_bits, 0x00000004U))
605 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.parameters_)
606 : nullptr;
607 _impl_.model_parameters_ = (CheckHasBit(cached_has_bits, 0x00000008U))
608 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.model_parameters_)
609 : nullptr;
610 _impl_.resources_ = (CheckHasBit(cached_has_bits, 0x00000010U))
611 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.resources_)
612 : nullptr;
613 _impl_.solver_type_ = from._impl_.solver_type_;
614
615 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.SolveRequest)
616}
617PROTOBUF_NDEBUG_INLINE SolveRequest::Impl_::Impl_(
618 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
619 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
620 : _cached_size_{0} {}
621
622inline void SolveRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
623 new (&_impl_) Impl_(internal_visibility(), arena);
624 ::memset(reinterpret_cast<char*>(&_impl_) +
625 offsetof(Impl_, model_),
626 0,
627 offsetof(Impl_, solver_type_) -
628 offsetof(Impl_, model_) +
629 sizeof(Impl_::solver_type_));
630}
632 // @@protoc_insertion_point(destructor:operations_research.math_opt.SolveRequest)
633 SharedDtor(*this);
634}
635inline void SolveRequest::SharedDtor(MessageLite& self) {
636 SolveRequest& this_ = static_cast<SolveRequest&>(self);
637 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
638 this_.CheckHasBitConsistency();
639 }
640 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
641 ABSL_DCHECK(this_.GetArena() == nullptr);
642 delete this_._impl_.model_;
643 delete this_._impl_.initializer_;
644 delete this_._impl_.parameters_;
645 delete this_._impl_.model_parameters_;
646 delete this_._impl_.resources_;
647 this_._impl_.~Impl_();
648}
649
650inline void* PROTOBUF_NONNULL SolveRequest::PlacementNew_(
651 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
652 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
653 return ::new (mem) SolveRequest(arena);
654}
655constexpr auto SolveRequest::InternalNewImpl_() {
656 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SolveRequest),
657 alignof(SolveRequest));
658}
660 return ::google::protobuf::internal::ClassDataFull{
661 ::google::protobuf::internal::ClassData{
663 &_table_.header,
664 nullptr, // OnDemandRegisterArenaDtor
665 nullptr, // IsInitialized
666 &SolveRequest::MergeImpl,
667 ::google::protobuf::Message::GetNewImpl<SolveRequest>(),
668#if defined(PROTOBUF_CUSTOM_VTABLE)
669 &SolveRequest::SharedDtor,
670 ::google::protobuf::Message::GetClearImpl<SolveRequest>(), &SolveRequest::ByteSizeLong,
672#endif // PROTOBUF_CUSTOM_VTABLE
673 PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_._cached_size_),
674 false,
675 },
676 &SolveRequest::kDescriptorMethods,
678 nullptr, // tracker
679 };
680}
681
682PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
683 ::google::protobuf::internal::ClassDataFull SolveRequest_class_data_ =
686PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
687SolveRequest::GetClassData() const {
688 ::google::protobuf::internal::PrefetchToLocalCache(&SolveRequest_class_data_);
689 ::google::protobuf::internal::PrefetchToLocalCache(SolveRequest_class_data_.tc_table);
690 return SolveRequest_class_data_.base();
691}
692PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
693const ::_pbi::TcParseTable<3, 6, 5, 0, 2>
694SolveRequest::_table_ = {
695 {
696 PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_._has_bits_),
697 0, // no _extensions_
698 6, 56, // max_field_number, fast_idx_mask
699 offsetof(decltype(_table_), field_lookup_table),
700 4294967232, // skipmap
701 offsetof(decltype(_table_), field_entries),
702 6, // num_field_entries
703 5, // num_aux_entries
704 offsetof(decltype(_table_), aux_entries),
706 nullptr, // post_loop_handler
707 ::_pbi::TcParser::GenericFallback, // fallback
708 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
709 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveRequest>(), // to_prefetch
710 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
711 }, {{
712 {::_pbi::TcParser::MiniParse, {}},
713 // .operations_research.math_opt.SolverTypeProto solver_type = 1;
714 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SolveRequest, _impl_.solver_type_), 5>(),
715 {8, 5, 0,
716 PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.solver_type_)}},
717 // .operations_research.math_opt.ModelProto model = 2;
718 {::_pbi::TcParser::FastMtS1,
719 {18, 0, 0,
720 PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.model_)}},
721 // .operations_research.math_opt.SolverInitializerProto initializer = 3;
722 {::_pbi::TcParser::FastMtS1,
723 {26, 1, 1,
724 PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.initializer_)}},
725 // .operations_research.math_opt.SolveParametersProto parameters = 4;
726 {::_pbi::TcParser::FastMtS1,
727 {34, 2, 2,
728 PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.parameters_)}},
729 // .operations_research.math_opt.ModelSolveParametersProto model_parameters = 5;
730 {::_pbi::TcParser::FastMtS1,
731 {42, 3, 3,
732 PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.model_parameters_)}},
733 // .operations_research.math_opt.SolverResourcesProto resources = 6;
734 {::_pbi::TcParser::FastMtS1,
735 {50, 4, 4,
736 PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.resources_)}},
737 {::_pbi::TcParser::MiniParse, {}},
738 }}, {{
739 65535, 65535
740 }}, {{
741 // .operations_research.math_opt.SolverTypeProto solver_type = 1;
742 {PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.solver_type_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
743 // .operations_research.math_opt.ModelProto model = 2;
744 {PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.model_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
745 // .operations_research.math_opt.SolverInitializerProto initializer = 3;
746 {PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.initializer_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
747 // .operations_research.math_opt.SolveParametersProto parameters = 4;
748 {PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.parameters_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
749 // .operations_research.math_opt.ModelSolveParametersProto model_parameters = 5;
750 {PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.model_parameters_), _Internal::kHasBitsOffset + 3, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
751 // .operations_research.math_opt.SolverResourcesProto resources = 6;
752 {PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.resources_), _Internal::kHasBitsOffset + 4, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
753 }},
754 {{
755 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelProto>()},
756 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolverInitializerProto>()},
757 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveParametersProto>()},
758 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSolveParametersProto>()},
759 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolverResourcesProto>()},
760 }},
761 {{
762 }},
763};
764PROTOBUF_NOINLINE void SolveRequest::Clear() {
765// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.SolveRequest)
766 ::google::protobuf::internal::TSanWrite(&_impl_);
767 ::uint32_t cached_has_bits = 0;
768 // Prevent compiler warnings about cached_has_bits being unused
769 (void) cached_has_bits;
770
771 cached_has_bits = _impl_._has_bits_[0];
772 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
773 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
774 ABSL_DCHECK(_impl_.model_ != nullptr);
775 _impl_.model_->Clear();
776 }
777 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
778 ABSL_DCHECK(_impl_.initializer_ != nullptr);
779 _impl_.initializer_->Clear();
780 }
781 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
782 ABSL_DCHECK(_impl_.parameters_ != nullptr);
783 _impl_.parameters_->Clear();
784 }
785 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
786 ABSL_DCHECK(_impl_.model_parameters_ != nullptr);
787 _impl_.model_parameters_->Clear();
788 }
789 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
790 ABSL_DCHECK(_impl_.resources_ != nullptr);
791 _impl_.resources_->Clear();
792 }
793 }
794 _impl_.solver_type_ = 0;
795 _impl_._has_bits_.Clear();
796 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
797}
798
799#if defined(PROTOBUF_CUSTOM_VTABLE)
800::uint8_t* PROTOBUF_NONNULL SolveRequest::_InternalSerialize(
801 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
802 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
803 const SolveRequest& this_ = static_cast<const SolveRequest&>(base);
804#else // PROTOBUF_CUSTOM_VTABLE
805::uint8_t* PROTOBUF_NONNULL SolveRequest::_InternalSerialize(
806 ::uint8_t* PROTOBUF_NONNULL target,
807 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
808 const SolveRequest& this_ = *this;
809#endif // PROTOBUF_CUSTOM_VTABLE
810 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
811 this_.CheckHasBitConsistency();
812 }
813 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SolveRequest)
814 ::uint32_t cached_has_bits = 0;
815 (void)cached_has_bits;
816
817 cached_has_bits = this_._impl_._has_bits_[0];
818 // .operations_research.math_opt.SolverTypeProto solver_type = 1;
819 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
820 if (this_._internal_solver_type() != 0) {
821 target = stream->EnsureSpace(target);
822 target = ::_pbi::WireFormatLite::WriteEnumToArray(
823 1, this_._internal_solver_type(), target);
824 }
825 }
826
827 // .operations_research.math_opt.ModelProto model = 2;
828 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
829 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
830 2, *this_._impl_.model_, this_._impl_.model_->GetCachedSize(), target,
831 stream);
832 }
833
834 // .operations_research.math_opt.SolverInitializerProto initializer = 3;
835 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
836 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
837 3, *this_._impl_.initializer_, this_._impl_.initializer_->GetCachedSize(), target,
838 stream);
839 }
840
841 // .operations_research.math_opt.SolveParametersProto parameters = 4;
842 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
843 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
844 4, *this_._impl_.parameters_, this_._impl_.parameters_->GetCachedSize(), target,
845 stream);
846 }
847
848 // .operations_research.math_opt.ModelSolveParametersProto model_parameters = 5;
849 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
850 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
851 5, *this_._impl_.model_parameters_, this_._impl_.model_parameters_->GetCachedSize(), target,
852 stream);
853 }
854
855 // .operations_research.math_opt.SolverResourcesProto resources = 6;
856 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
857 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
858 6, *this_._impl_.resources_, this_._impl_.resources_->GetCachedSize(), target,
859 stream);
860 }
861
862 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
863 target =
864 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
865 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
866 }
867 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SolveRequest)
868 return target;
869}
870
871#if defined(PROTOBUF_CUSTOM_VTABLE)
873 const SolveRequest& this_ = static_cast<const SolveRequest&>(base);
874#else // PROTOBUF_CUSTOM_VTABLE
875::size_t SolveRequest::ByteSizeLong() const {
876 const SolveRequest& this_ = *this;
877#endif // PROTOBUF_CUSTOM_VTABLE
878 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SolveRequest)
879 ::size_t total_size = 0;
880
881 ::uint32_t cached_has_bits = 0;
882 // Prevent compiler warnings about cached_has_bits being unused
883 (void)cached_has_bits;
884
885 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
886 cached_has_bits = this_._impl_._has_bits_[0];
887 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
888 // .operations_research.math_opt.ModelProto model = 2;
889 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
890 total_size += 1 +
891 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.model_);
892 }
893 // .operations_research.math_opt.SolverInitializerProto initializer = 3;
894 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
895 total_size += 1 +
896 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.initializer_);
897 }
898 // .operations_research.math_opt.SolveParametersProto parameters = 4;
899 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
900 total_size += 1 +
901 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.parameters_);
902 }
903 // .operations_research.math_opt.ModelSolveParametersProto model_parameters = 5;
904 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
905 total_size += 1 +
906 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.model_parameters_);
907 }
908 // .operations_research.math_opt.SolverResourcesProto resources = 6;
909 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
910 total_size += 1 +
911 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.resources_);
912 }
913 // .operations_research.math_opt.SolverTypeProto solver_type = 1;
914 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
915 if (this_._internal_solver_type() != 0) {
916 total_size += 1 +
917 ::_pbi::WireFormatLite::EnumSize(this_._internal_solver_type());
918 }
919 }
920 }
921 return this_.MaybeComputeUnknownFieldsSize(total_size,
922 &this_._impl_._cached_size_);
923}
924
925void SolveRequest::MergeImpl(::google::protobuf::MessageLite& to_msg,
926 const ::google::protobuf::MessageLite& from_msg) {
927 auto* const _this =
928 static_cast<SolveRequest*>(&to_msg);
929 auto& from = static_cast<const SolveRequest&>(from_msg);
930 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
931 from.CheckHasBitConsistency();
932 }
933 ::google::protobuf::Arena* arena = _this->GetArena();
934 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.SolveRequest)
935 ABSL_DCHECK_NE(&from, _this);
936 ::uint32_t cached_has_bits = 0;
937 (void)cached_has_bits;
938
939 cached_has_bits = from._impl_._has_bits_[0];
940 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
941 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
942 ABSL_DCHECK(from._impl_.model_ != nullptr);
943 if (_this->_impl_.model_ == nullptr) {
944 _this->_impl_.model_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.model_);
945 } else {
946 _this->_impl_.model_->MergeFrom(*from._impl_.model_);
947 }
948 }
949 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
950 ABSL_DCHECK(from._impl_.initializer_ != nullptr);
951 if (_this->_impl_.initializer_ == nullptr) {
952 _this->_impl_.initializer_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.initializer_);
953 } else {
954 _this->_impl_.initializer_->MergeFrom(*from._impl_.initializer_);
955 }
956 }
957 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
958 ABSL_DCHECK(from._impl_.parameters_ != nullptr);
959 if (_this->_impl_.parameters_ == nullptr) {
960 _this->_impl_.parameters_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.parameters_);
961 } else {
962 _this->_impl_.parameters_->MergeFrom(*from._impl_.parameters_);
963 }
964 }
965 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
966 ABSL_DCHECK(from._impl_.model_parameters_ != nullptr);
967 if (_this->_impl_.model_parameters_ == nullptr) {
968 _this->_impl_.model_parameters_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.model_parameters_);
969 } else {
970 _this->_impl_.model_parameters_->MergeFrom(*from._impl_.model_parameters_);
971 }
972 }
973 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
974 ABSL_DCHECK(from._impl_.resources_ != nullptr);
975 if (_this->_impl_.resources_ == nullptr) {
976 _this->_impl_.resources_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.resources_);
977 } else {
978 _this->_impl_.resources_->MergeFrom(*from._impl_.resources_);
979 }
980 }
981 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
982 if (from._internal_solver_type() != 0) {
983 _this->_impl_.solver_type_ = from._impl_.solver_type_;
984 }
985 }
986 }
987 _this->_impl_._has_bits_[0] |= cached_has_bits;
988 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
989 from._internal_metadata_);
990}
991
992void SolveRequest::CopyFrom(const SolveRequest& from) {
993 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SolveRequest)
994 if (&from == this) return;
995 Clear();
996 MergeFrom(from);
997}
998
999
1000void SolveRequest::InternalSwap(SolveRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1001 using ::std::swap;
1002 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1003 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1004 ::google::protobuf::internal::memswap<
1005 PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.solver_type_)
1006 + sizeof(SolveRequest::_impl_.solver_type_)
1007 - PROTOBUF_FIELD_OFFSET(SolveRequest, _impl_.model_)>(
1008 reinterpret_cast<char*>(&_impl_.model_),
1009 reinterpret_cast<char*>(&other->_impl_.model_));
1010}
1011
1012::google::protobuf::Metadata SolveRequest::GetMetadata() const {
1013 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1015// ===================================================================
1016
1018 public:
1019 using HasBits =
1020 decltype(::std::declval<SolveResponse>()._impl_._has_bits_);
1021 static constexpr ::int32_t kHasBitsOffset =
1022 8 * PROTOBUF_FIELD_OFFSET(SolveResponse, _impl_._has_bits_);
1023 static constexpr ::int32_t kOneofCaseOffset =
1024 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolveResponse, _impl_._oneof_case_);
1025};
1028 ::google::protobuf::Arena* message_arena = GetArena();
1030 if (result) {
1031 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(result)->GetArena();
1032 if (message_arena != submessage_arena) {
1033 result = ::google::protobuf::internal::GetOwnedMessage(message_arena, result, submessage_arena);
1034 }
1035 set_has_result();
1036 _impl_.status_or_.result_ = result;
1037 }
1038 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResponse.result)
1039}
1041 ::google::protobuf::internal::TSanWrite(&_impl_);
1042 if (status_or_case() == kResult) {
1043 if (GetArena() == nullptr) {
1044 delete _impl_.status_or_.result_;
1045 } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
1046 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.status_or_.result_);
1047 }
1048 clear_has_status_or();
1049 }
1050}
1051void SolveResponse::set_allocated_status(::operations_research::math_opt::StatusProto* PROTOBUF_NULLABLE status) {
1052 ::google::protobuf::Arena* message_arena = GetArena();
1053 clear_status_or();
1054 if (status) {
1055 ::google::protobuf::Arena* submessage_arena = status->GetArena();
1056 if (message_arena != submessage_arena) {
1057 status = ::google::protobuf::internal::GetOwnedMessage(message_arena, status, submessage_arena);
1058 }
1059 set_has_status();
1060 _impl_.status_or_.status_ = status;
1061 }
1062 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResponse.status)
1063}
1064SolveResponse::SolveResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1065#if defined(PROTOBUF_CUSTOM_VTABLE)
1066 : ::google::protobuf::Message(arena, SolveResponse_class_data_.base()) {
1067#else // PROTOBUF_CUSTOM_VTABLE
1068 : ::google::protobuf::Message(arena) {
1069#endif // PROTOBUF_CUSTOM_VTABLE
1070 SharedCtor(arena);
1071 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.SolveResponse)
1072}
1073PROTOBUF_NDEBUG_INLINE SolveResponse::Impl_::Impl_(
1074 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1075 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1076 [[maybe_unused]] const ::operations_research::math_opt::SolveResponse& from_msg)
1077 : _has_bits_{from._has_bits_},
1078 _cached_size_{0},
1079 messages_{visibility, arena, from.messages_},
1080 status_or_{},
1081 _oneof_case_{from._oneof_case_[0]} {}
1082
1084 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1085 const SolveResponse& from)
1086#if defined(PROTOBUF_CUSTOM_VTABLE)
1087 : ::google::protobuf::Message(arena, SolveResponse_class_data_.base()) {
1088#else // PROTOBUF_CUSTOM_VTABLE
1089 : ::google::protobuf::Message(arena) {
1090#endif // PROTOBUF_CUSTOM_VTABLE
1091 SolveResponse* const _this = this;
1092 (void)_this;
1093 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1094 from._internal_metadata_);
1095 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1096 switch (status_or_case()) {
1097 case STATUS_OR_NOT_SET:
1098 break;
1099 case kResult:
1100 _impl_.status_or_.result_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_or_.result_);
1101 break;
1102 case kStatus:
1103 _impl_.status_or_.status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_or_.status_);
1104 break;
1105 }
1106
1107 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.SolveResponse)
1108}
1109PROTOBUF_NDEBUG_INLINE SolveResponse::Impl_::Impl_(
1110 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1111 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1112 : _cached_size_{0},
1113 messages_{visibility, arena},
1114 status_or_{},
1115 _oneof_case_{} {}
1116
1117inline void SolveResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1118 new (&_impl_) Impl_(internal_visibility(), arena);
1119}
1121 // @@protoc_insertion_point(destructor:operations_research.math_opt.SolveResponse)
1122 SharedDtor(*this);
1124inline void SolveResponse::SharedDtor(MessageLite& self) {
1125 SolveResponse& this_ = static_cast<SolveResponse&>(self);
1126 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1127 this_.CheckHasBitConsistency();
1128 }
1129 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1130 ABSL_DCHECK(this_.GetArena() == nullptr);
1131 if (this_.has_status_or()) {
1132 this_.clear_status_or();
1133 }
1134 this_._impl_.~Impl_();
1135}
1136
1138// @@protoc_insertion_point(one_of_clear_start:operations_research.math_opt.SolveResponse)
1139 ::google::protobuf::internal::TSanWrite(&_impl_);
1140 switch (status_or_case()) {
1141 case kResult: {
1142 if (GetArena() == nullptr) {
1143 delete _impl_.status_or_.result_;
1144 } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
1145 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.status_or_.result_);
1146 }
1147 break;
1148 }
1149 case kStatus: {
1150 if (GetArena() == nullptr) {
1151 delete _impl_.status_or_.status_;
1152 } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
1153 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.status_or_.status_);
1154 }
1155 break;
1156 }
1157 case STATUS_OR_NOT_SET: {
1158 break;
1159 }
1160 }
1161 _impl_._oneof_case_[0] = STATUS_OR_NOT_SET;
1162}
1163
1164
1165inline void* PROTOBUF_NONNULL SolveResponse::PlacementNew_(
1166 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1167 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1168 return ::new (mem) SolveResponse(arena);
1169}
1170constexpr auto SolveResponse::InternalNewImpl_() {
1171 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1172 PROTOBUF_FIELD_OFFSET(SolveResponse, _impl_.messages_) +
1173 decltype(SolveResponse::_impl_.messages_)::
1174 InternalGetArenaOffset(
1175 ::google::protobuf::Message::internal_visibility()),
1176 });
1177 if (arena_bits.has_value()) {
1178 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1179 sizeof(SolveResponse), alignof(SolveResponse), *arena_bits);
1180 } else {
1181 return ::google::protobuf::internal::MessageCreator(&SolveResponse::PlacementNew_,
1182 sizeof(SolveResponse),
1183 alignof(SolveResponse));
1184 }
1185}
1187 return ::google::protobuf::internal::ClassDataFull{
1188 ::google::protobuf::internal::ClassData{
1190 &_table_.header,
1191 nullptr, // OnDemandRegisterArenaDtor
1192 nullptr, // IsInitialized
1193 &SolveResponse::MergeImpl,
1194 ::google::protobuf::Message::GetNewImpl<SolveResponse>(),
1195#if defined(PROTOBUF_CUSTOM_VTABLE)
1196 &SolveResponse::SharedDtor,
1197 ::google::protobuf::Message::GetClearImpl<SolveResponse>(), &SolveResponse::ByteSizeLong,
1199#endif // PROTOBUF_CUSTOM_VTABLE
1200 PROTOBUF_FIELD_OFFSET(SolveResponse, _impl_._cached_size_),
1201 false,
1202 },
1203 &SolveResponse::kDescriptorMethods,
1205 nullptr, // tracker
1206 };
1207}
1208
1209PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1210 ::google::protobuf::internal::ClassDataFull SolveResponse_class_data_ =
1212
1213PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1214SolveResponse::GetClassData() const {
1215 ::google::protobuf::internal::PrefetchToLocalCache(&SolveResponse_class_data_);
1216 ::google::protobuf::internal::PrefetchToLocalCache(SolveResponse_class_data_.tc_table);
1217 return SolveResponse_class_data_.base();
1218}
1219PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1220const ::_pbi::TcParseTable<0, 3, 2, 59, 2>
1221SolveResponse::_table_ = {
1222 {
1223 PROTOBUF_FIELD_OFFSET(SolveResponse, _impl_._has_bits_),
1224 0, // no _extensions_
1225 3, 0, // max_field_number, fast_idx_mask
1226 offsetof(decltype(_table_), field_lookup_table),
1227 4294967288, // skipmap
1228 offsetof(decltype(_table_), field_entries),
1229 3, // num_field_entries
1230 2, // num_aux_entries
1231 offsetof(decltype(_table_), aux_entries),
1233 nullptr, // post_loop_handler
1234 ::_pbi::TcParser::GenericFallback, // fallback
1235 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1236 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveResponse>(), // to_prefetch
1237 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1238 }, {{
1239 // repeated string messages = 2;
1240 {::_pbi::TcParser::FastUR1,
1241 {18, 0, 0,
1242 PROTOBUF_FIELD_OFFSET(SolveResponse, _impl_.messages_)}},
1243 }}, {{
1244 65535, 65535
1245 }}, {{
1246 // .operations_research.math_opt.SolveResultProto result = 1;
1247 {PROTOBUF_FIELD_OFFSET(SolveResponse, _impl_.status_or_.result_), _Internal::kOneofCaseOffset + 0, 0, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
1248 // repeated string messages = 2;
1249 {PROTOBUF_FIELD_OFFSET(SolveResponse, _impl_.messages_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)},
1250 // .operations_research.math_opt.StatusProto status = 3;
1251 {PROTOBUF_FIELD_OFFSET(SolveResponse, _impl_.status_or_.status_), _Internal::kOneofCaseOffset + 0, 1, (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
1252 }},
1253 {{
1254 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveResultProto>()},
1255 {::_pbi::TcParser::GetTable<::operations_research::math_opt::StatusProto>()},
1256 }},
1257 {{
1258 "\52\0\10\0\0\0\0\0"
1259 "operations_research.math_opt.SolveResponse"
1260 "messages"
1261 }},
1262};
1263PROTOBUF_NOINLINE void SolveResponse::Clear() {
1264// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.SolveResponse)
1265 ::google::protobuf::internal::TSanWrite(&_impl_);
1266 ::uint32_t cached_has_bits = 0;
1267 // Prevent compiler warnings about cached_has_bits being unused
1268 (void) cached_has_bits;
1269
1270 cached_has_bits = _impl_._has_bits_[0];
1271 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1272 _impl_.messages_.Clear();
1273 }
1275 _impl_._has_bits_.Clear();
1276 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1277}
1278
1279#if defined(PROTOBUF_CUSTOM_VTABLE)
1280::uint8_t* PROTOBUF_NONNULL SolveResponse::_InternalSerialize(
1281 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1282 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1283 const SolveResponse& this_ = static_cast<const SolveResponse&>(base);
1284#else // PROTOBUF_CUSTOM_VTABLE
1285::uint8_t* PROTOBUF_NONNULL SolveResponse::_InternalSerialize(
1286 ::uint8_t* PROTOBUF_NONNULL target,
1287 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1288 const SolveResponse& this_ = *this;
1289#endif // PROTOBUF_CUSTOM_VTABLE
1290 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1291 this_.CheckHasBitConsistency();
1292 }
1293 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SolveResponse)
1294 ::uint32_t cached_has_bits = 0;
1295 (void)cached_has_bits;
1296
1297 // .operations_research.math_opt.SolveResultProto result = 1;
1298 if (this_.status_or_case() == kResult) {
1299 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1300 1, *this_._impl_.status_or_.result_, this_._impl_.status_or_.result_->GetCachedSize(), target,
1301 stream);
1302 }
1303
1304 cached_has_bits = this_._impl_._has_bits_[0];
1305 // repeated string messages = 2;
1306 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1307 for (int i = 0, n = this_._internal_messages_size(); i < n; ++i) {
1308 const auto& s = this_._internal_messages().Get(i);
1309 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1310 s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.SolveResponse.messages");
1311 target = stream->WriteString(2, s, target);
1312 }
1313 }
1314
1315 // .operations_research.math_opt.StatusProto status = 3;
1316 if (this_.status_or_case() == kStatus) {
1317 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1318 3, *this_._impl_.status_or_.status_, this_._impl_.status_or_.status_->GetCachedSize(), target,
1319 stream);
1320 }
1321
1322 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1323 target =
1324 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1325 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1326 }
1327 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SolveResponse)
1328 return target;
1329}
1330
1331#if defined(PROTOBUF_CUSTOM_VTABLE)
1332::size_t SolveResponse::ByteSizeLong(const MessageLite& base) {
1333 const SolveResponse& this_ = static_cast<const SolveResponse&>(base);
1334#else // PROTOBUF_CUSTOM_VTABLE
1335::size_t SolveResponse::ByteSizeLong() const {
1336 const SolveResponse& this_ = *this;
1337#endif // PROTOBUF_CUSTOM_VTABLE
1338 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SolveResponse)
1339 ::size_t total_size = 0;
1340
1341 ::uint32_t cached_has_bits = 0;
1342 // Prevent compiler warnings about cached_has_bits being unused
1343 (void)cached_has_bits;
1344
1345 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1346 {
1347 // repeated string messages = 2;
1348 cached_has_bits = this_._impl_._has_bits_[0];
1349 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1350 total_size +=
1351 1 * ::google::protobuf::internal::FromIntSize(this_._internal_messages().size());
1352 for (int i = 0, n = this_._internal_messages().size(); i < n; ++i) {
1353 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
1354 this_._internal_messages().Get(i));
1355 }
1356 }
1357 }
1358 switch (this_.status_or_case()) {
1359 // .operations_research.math_opt.SolveResultProto result = 1;
1360 case kResult: {
1361 total_size += 1 +
1362 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_or_.result_);
1363 break;
1364 }
1365 // .operations_research.math_opt.StatusProto status = 3;
1366 case kStatus: {
1367 total_size += 1 +
1368 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_or_.status_);
1369 break;
1370 }
1371 case STATUS_OR_NOT_SET: {
1372 break;
1373 }
1374 }
1375 return this_.MaybeComputeUnknownFieldsSize(total_size,
1376 &this_._impl_._cached_size_);
1377}
1378
1379void SolveResponse::MergeImpl(::google::protobuf::MessageLite& to_msg,
1380 const ::google::protobuf::MessageLite& from_msg) {
1381 auto* const _this =
1382 static_cast<SolveResponse*>(&to_msg);
1383 auto& from = static_cast<const SolveResponse&>(from_msg);
1384 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1385 from.CheckHasBitConsistency();
1386 }
1387 ::google::protobuf::Arena* arena = _this->GetArena();
1388 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.SolveResponse)
1389 ABSL_DCHECK_NE(&from, _this);
1390 ::uint32_t cached_has_bits = 0;
1391 (void)cached_has_bits;
1392
1393 cached_has_bits = from._impl_._has_bits_[0];
1394 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
1395 _this->_internal_mutable_messages()->InternalMergeFromWithArena(
1396 ::google::protobuf::MessageLite::internal_visibility(), arena,
1397 from._internal_messages());
1398 }
1399 _this->_impl_._has_bits_[0] |= cached_has_bits;
1400 if (const uint32_t oneof_from_case =
1401 from._impl_._oneof_case_[0]) {
1402 const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
1403 const bool oneof_needs_init = oneof_to_case != oneof_from_case;
1404 if (oneof_needs_init) {
1405 if (oneof_to_case != 0) {
1406 _this->clear_status_or();
1407 }
1408 _this->_impl_._oneof_case_[0] = oneof_from_case;
1409 }
1410
1411 switch (oneof_from_case) {
1412 case kResult: {
1413 if (oneof_needs_init) {
1414 _this->_impl_.status_or_.result_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_or_.result_);
1415 } else {
1416 _this->_impl_.status_or_.result_->MergeFrom(*from._impl_.status_or_.result_);
1417 }
1418 break;
1419 }
1420 case kStatus: {
1421 if (oneof_needs_init) {
1422 _this->_impl_.status_or_.status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_or_.status_);
1423 } else {
1424 _this->_impl_.status_or_.status_->MergeFrom(*from._impl_.status_or_.status_);
1425 }
1426 break;
1427 }
1428 case STATUS_OR_NOT_SET:
1429 break;
1430 }
1431 }
1432 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1433 from._internal_metadata_);
1434}
1435
1436void SolveResponse::CopyFrom(const SolveResponse& from) {
1437 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SolveResponse)
1438 if (&from == this) return;
1440 MergeFrom(from);
1441}
1442
1443
1444void SolveResponse::InternalSwap(SolveResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1445 using ::std::swap;
1446 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1447 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1448 _impl_.messages_.InternalSwap(&other->_impl_.messages_);
1449 swap(_impl_.status_or_, other->_impl_.status_or_);
1450 swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
1451}
1452
1453::google::protobuf::Metadata SolveResponse::GetMetadata() const {
1454 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1455}
1456// ===================================================================
1457
1459 public:
1460 using HasBits =
1461 decltype(::std::declval<StatusProto>()._impl_._has_bits_);
1462 static constexpr ::int32_t kHasBitsOffset =
1463 8 * PROTOBUF_FIELD_OFFSET(StatusProto, _impl_._has_bits_);
1465
1466StatusProto::StatusProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1467#if defined(PROTOBUF_CUSTOM_VTABLE)
1468 : ::google::protobuf::Message(arena, StatusProto_class_data_.base()) {
1469#else // PROTOBUF_CUSTOM_VTABLE
1470 : ::google::protobuf::Message(arena) {
1471#endif // PROTOBUF_CUSTOM_VTABLE
1472 SharedCtor(arena);
1473 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.StatusProto)
1474}
1475PROTOBUF_NDEBUG_INLINE StatusProto::Impl_::Impl_(
1476 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1477 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1478 [[maybe_unused]] const ::operations_research::math_opt::StatusProto& from_msg)
1479 : _has_bits_{from._has_bits_},
1480 _cached_size_{0},
1481 message_(arena, from.message_) {}
1482
1484 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1485 const StatusProto& from)
1486#if defined(PROTOBUF_CUSTOM_VTABLE)
1487 : ::google::protobuf::Message(arena, StatusProto_class_data_.base()) {
1488#else // PROTOBUF_CUSTOM_VTABLE
1489 : ::google::protobuf::Message(arena) {
1490#endif // PROTOBUF_CUSTOM_VTABLE
1491 StatusProto* const _this = this;
1492 (void)_this;
1493 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1494 from._internal_metadata_);
1495 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1496 _impl_.code_ = from._impl_.code_;
1497
1498 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.StatusProto)
1499}
1500PROTOBUF_NDEBUG_INLINE StatusProto::Impl_::Impl_(
1501 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1502 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1503 : _cached_size_{0},
1504 message_(arena) {}
1505
1506inline void StatusProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1507 new (&_impl_) Impl_(internal_visibility(), arena);
1508 _impl_.code_ = {};
1509}
1511 // @@protoc_insertion_point(destructor:operations_research.math_opt.StatusProto)
1512 SharedDtor(*this);
1513}
1514inline void StatusProto::SharedDtor(MessageLite& self) {
1515 StatusProto& this_ = static_cast<StatusProto&>(self);
1516 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1517 this_.CheckHasBitConsistency();
1518 }
1519 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1520 ABSL_DCHECK(this_.GetArena() == nullptr);
1521 this_._impl_.message_.Destroy();
1522 this_._impl_.~Impl_();
1523}
1524
1525inline void* PROTOBUF_NONNULL StatusProto::PlacementNew_(
1526 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1527 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1528 return ::new (mem) StatusProto(arena);
1529}
1530constexpr auto StatusProto::InternalNewImpl_() {
1531 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(StatusProto),
1532 alignof(StatusProto));
1533}
1535 return ::google::protobuf::internal::ClassDataFull{
1536 ::google::protobuf::internal::ClassData{
1538 &_table_.header,
1539 nullptr, // OnDemandRegisterArenaDtor
1540 nullptr, // IsInitialized
1541 &StatusProto::MergeImpl,
1542 ::google::protobuf::Message::GetNewImpl<StatusProto>(),
1543#if defined(PROTOBUF_CUSTOM_VTABLE)
1544 &StatusProto::SharedDtor,
1545 ::google::protobuf::Message::GetClearImpl<StatusProto>(), &StatusProto::ByteSizeLong,
1547#endif // PROTOBUF_CUSTOM_VTABLE
1548 PROTOBUF_FIELD_OFFSET(StatusProto, _impl_._cached_size_),
1549 false,
1550 },
1551 &StatusProto::kDescriptorMethods,
1553 nullptr, // tracker
1554 };
1555}
1556
1557PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1558 ::google::protobuf::internal::ClassDataFull StatusProto_class_data_ =
1560
1561PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1562StatusProto::GetClassData() const {
1563 ::google::protobuf::internal::PrefetchToLocalCache(&StatusProto_class_data_);
1564 ::google::protobuf::internal::PrefetchToLocalCache(StatusProto_class_data_.tc_table);
1565 return StatusProto_class_data_.base();
1566}
1567PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1568const ::_pbi::TcParseTable<1, 2, 0, 56, 2>
1569StatusProto::_table_ = {
1570 {
1571 PROTOBUF_FIELD_OFFSET(StatusProto, _impl_._has_bits_),
1572 0, // no _extensions_
1573 2, 8, // max_field_number, fast_idx_mask
1574 offsetof(decltype(_table_), field_lookup_table),
1575 4294967292, // skipmap
1576 offsetof(decltype(_table_), field_entries),
1577 2, // num_field_entries
1578 0, // num_aux_entries
1579 offsetof(decltype(_table_), field_names), // no aux_entries
1581 nullptr, // post_loop_handler
1582 ::_pbi::TcParser::GenericFallback, // fallback
1583 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1584 ::_pbi::TcParser::GetTable<::operations_research::math_opt::StatusProto>(), // to_prefetch
1585 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1586 }, {{
1587 // string message = 2;
1588 {::_pbi::TcParser::FastUS1,
1589 {18, 0, 0,
1590 PROTOBUF_FIELD_OFFSET(StatusProto, _impl_.message_)}},
1591 // int32 code = 1;
1592 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(StatusProto, _impl_.code_), 1>(),
1593 {8, 1, 0,
1594 PROTOBUF_FIELD_OFFSET(StatusProto, _impl_.code_)}},
1595 }}, {{
1596 65535, 65535
1597 }}, {{
1598 // int32 code = 1;
1599 {PROTOBUF_FIELD_OFFSET(StatusProto, _impl_.code_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1600 // string message = 2;
1601 {PROTOBUF_FIELD_OFFSET(StatusProto, _impl_.message_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1602 }},
1603 // no aux_entries
1604 {{
1605 "\50\0\7\0\0\0\0\0"
1606 "operations_research.math_opt.StatusProto"
1607 "message"
1608 }},
1609};
1610PROTOBUF_NOINLINE void StatusProto::Clear() {
1611// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.StatusProto)
1612 ::google::protobuf::internal::TSanWrite(&_impl_);
1613 ::uint32_t cached_has_bits = 0;
1614 // Prevent compiler warnings about cached_has_bits being unused
1615 (void) cached_has_bits;
1616
1617 cached_has_bits = _impl_._has_bits_[0];
1618 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1619 _impl_.message_.ClearNonDefaultToEmpty();
1620 }
1621 _impl_.code_ = 0;
1622 _impl_._has_bits_.Clear();
1623 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1624}
1625
1626#if defined(PROTOBUF_CUSTOM_VTABLE)
1627::uint8_t* PROTOBUF_NONNULL StatusProto::_InternalSerialize(
1628 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1629 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1630 const StatusProto& this_ = static_cast<const StatusProto&>(base);
1631#else // PROTOBUF_CUSTOM_VTABLE
1632::uint8_t* PROTOBUF_NONNULL StatusProto::_InternalSerialize(
1633 ::uint8_t* PROTOBUF_NONNULL target,
1634 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1635 const StatusProto& this_ = *this;
1636#endif // PROTOBUF_CUSTOM_VTABLE
1637 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1638 this_.CheckHasBitConsistency();
1639 }
1640 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.StatusProto)
1641 ::uint32_t cached_has_bits = 0;
1642 (void)cached_has_bits;
1643
1644 cached_has_bits = this_._impl_._has_bits_[0];
1645 // int32 code = 1;
1646 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1647 if (this_._internal_code() != 0) {
1648 target =
1649 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
1650 stream, this_._internal_code(), target);
1651 }
1652 }
1653
1654 // string message = 2;
1655 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1656 if (!this_._internal_message().empty()) {
1657 const ::std::string& _s = this_._internal_message();
1658 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1659 _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "operations_research.math_opt.StatusProto.message");
1660 target = stream->WriteStringMaybeAliased(2, _s, target);
1661 }
1662 }
1663
1664 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1665 target =
1666 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1667 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1668 }
1669 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.StatusProto)
1670 return target;
1671}
1672
1673#if defined(PROTOBUF_CUSTOM_VTABLE)
1674::size_t StatusProto::ByteSizeLong(const MessageLite& base) {
1675 const StatusProto& this_ = static_cast<const StatusProto&>(base);
1676#else // PROTOBUF_CUSTOM_VTABLE
1677::size_t StatusProto::ByteSizeLong() const {
1678 const StatusProto& this_ = *this;
1679#endif // PROTOBUF_CUSTOM_VTABLE
1680 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.StatusProto)
1681 ::size_t total_size = 0;
1682
1683 ::uint32_t cached_has_bits = 0;
1684 // Prevent compiler warnings about cached_has_bits being unused
1685 (void)cached_has_bits;
1686
1687 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1688 cached_has_bits = this_._impl_._has_bits_[0];
1689 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1690 // string message = 2;
1691 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1692 if (!this_._internal_message().empty()) {
1693 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1694 this_._internal_message());
1695 }
1696 }
1697 // int32 code = 1;
1698 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1699 if (this_._internal_code() != 0) {
1700 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1701 this_._internal_code());
1702 }
1703 }
1704 }
1705 return this_.MaybeComputeUnknownFieldsSize(total_size,
1706 &this_._impl_._cached_size_);
1707}
1708
1709void StatusProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1710 const ::google::protobuf::MessageLite& from_msg) {
1711 auto* const _this =
1712 static_cast<StatusProto*>(&to_msg);
1713 auto& from = static_cast<const StatusProto&>(from_msg);
1714 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1715 from.CheckHasBitConsistency();
1716 }
1717 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.StatusProto)
1718 ABSL_DCHECK_NE(&from, _this);
1719 ::uint32_t cached_has_bits = 0;
1720 (void)cached_has_bits;
1721
1722 cached_has_bits = from._impl_._has_bits_[0];
1723 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1724 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1725 if (!from._internal_message().empty()) {
1726 _this->_internal_set_message(from._internal_message());
1727 } else {
1728 if (_this->_impl_.message_.IsDefault()) {
1729 _this->_internal_set_message("");
1730 }
1731 }
1732 }
1733 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1734 if (from._internal_code() != 0) {
1735 _this->_impl_.code_ = from._impl_.code_;
1736 }
1737 }
1738 }
1739 _this->_impl_._has_bits_[0] |= cached_has_bits;
1740 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1741 from._internal_metadata_);
1742}
1743
1744void StatusProto::CopyFrom(const StatusProto& from) {
1745 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.StatusProto)
1746 if (&from == this) return;
1747 Clear();
1749}
1750
1751
1752void StatusProto::InternalSwap(StatusProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1753 using ::std::swap;
1754 auto* arena = GetArena();
1755 ABSL_DCHECK_EQ(arena, other->GetArena());
1756 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1757 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1758 ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, &other->_impl_.message_, arena);
1759 swap(_impl_.code_, other->_impl_.code_);
1760}
1761
1762::google::protobuf::Metadata StatusProto::GetMetadata() const {
1763 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1764}
1765// @@protoc_insertion_point(namespace_scope)
1766} // namespace math_opt
1767} // namespace operations_research
1768namespace google {
1769namespace protobuf {
1770} // namespace protobuf
1771} // namespace google
1772// @@protoc_insertion_point(global_scope)
1773PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1774 _static_init2_ [[maybe_unused]] =
1776 ::std::false_type{});
1777#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[]
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
decltype(::std::declval< SolveRequest >()._impl_._has_bits_) HasBits
Definition rpc.pb.cc:540
friend class ::google::protobuf::MessageLite
Definition rpc.pb.h:1014
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rpc.pb.h:804
void CopyFrom(const SolveRequest &from)
Definition rpc.pb.cc:994
::google::protobuf::Metadata GetMetadata() const
Definition rpc.pb.cc:1014
void MergeFrom(const SolveRequest &from)
Definition rpc.pb.h:850
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rpc.pb.cc:807
friend void swap(SolveRequest &a, SolveRequest &b)
Definition rpc.pb.h:827
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition rpc.pb.cc:766
static constexpr auto InternalGenerateClassData_()
Definition rpc.pb.cc:661
friend class ::google::protobuf::Arena
Definition rpc.pb.h:1015
friend class ::google::protobuf::MessageLite
Definition rpc.pb.h:736
const ::operations_research::math_opt::StatusProto & status() const
Definition rpc.pb.h:1738
void MergeFrom(const SolveResponse &from)
Definition rpc.pb.h:594
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition rpc.pb.cc:1266
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rpc.pb.h:543
void CopyFrom(const SolveResponse &from)
Definition rpc.pb.cc:1439
void set_allocated_status(::operations_research::math_opt::StatusProto *PROTOBUF_NULLABLE value)
Definition rpc.pb.cc:1054
friend void swap(SolveResponse &a, SolveResponse &b)
Definition rpc.pb.h:571
void set_allocated_result(::operations_research::math_opt::SolveResultProto *PROTOBUF_NULLABLE value)
Definition rpc.pb.cc:1030
static constexpr auto InternalGenerateClassData_()
Definition rpc.pb.cc:1189
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rpc.pb.cc:1288
const ::operations_research::math_opt::SolveResultProto & result() const
Definition rpc.pb.h:1656
::google::protobuf::Metadata GetMetadata() const
Definition rpc.pb.cc:1456
friend class ::google::protobuf::Arena
Definition rpc.pb.h:737
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
decltype(::std::declval< SolverResourcesProto >()._impl_._has_bits_) HasBits
Definition rpc.pb.cc:269
::google::protobuf::Metadata GetMetadata() const
Definition rpc.pb.cc:532
friend class ::google::protobuf::MessageLite
Definition rpc.pb.h:481
void CopyFrom(const SolverResourcesProto &from)
Definition rpc.pb.cc:512
void MergeFrom(const SolverResourcesProto &from)
Definition rpc.pb.h:384
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition rpc.pb.h:338
friend void swap(SolverResourcesProto &a, SolverResourcesProto &b)
Definition rpc.pb.h:361
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition rpc.pb.cc:405
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rpc.pb.cc:428
friend class ::google::protobuf::MessageLite
Definition rpc.pb.h:276
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition rpc.pb.cc:1636
static constexpr auto InternalGenerateClassData_()
Definition rpc.pb.cc:1538
void CopyFrom(const StatusProto &from)
Definition rpc.pb.cc:1748
void MergeFrom(const StatusProto &from)
Definition rpc.pb.h:176
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition rpc.pb.cc:1614
::google::protobuf::Metadata GetMetadata() const
Definition rpc.pb.cc:1766
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fparameters_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_2eproto
Definition model.pb.cc:666
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_5fparameters_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolverResourcesProtoDefaultTypeInternal _SolverResourcesProto_default_instance_
Definition rpc.pb.cc:82
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveRequestDefaultTypeInternal _SolveRequest_default_instance_
Definition rpc.pb.cc:139
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolverResourcesProto_class_data_
Definition rpc.pb.cc:356
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveRequest_class_data_
Definition rpc.pb.cc:685
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatusProtoDefaultTypeInternal _StatusProto_default_instance_
Definition rpc.pb.cc:56
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResponseDefaultTypeInternal _SolveResponse_default_instance_
Definition rpc.pb.cc:109
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull StatusProto_class_data_
Definition rpc.pb.cc:1562
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveResponse_class_data_
Definition rpc.pb.cc:1213
OR-Tools root namespace.
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto
Definition result.pb.cc:383
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fmath_5fopt_2frpc_2eproto
Definition rpc.pb.cc:143
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fmath_5fopt_2frpc_2eproto_deps[7]
Definition rpc.pb.cc:236
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2frpc_2eproto_once
Definition rpc.pb.cc:245
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2frpc_2eproto
Definition rpc.pb.cc:246
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2frpc_2eproto
Definition rpc.pb.cc:145
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2frpc_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static const ::uint32_t offsets[]
Definition rpc.pb.h:57
::operations_research::math_opt::SolveResultProto *PROTOBUF_NULLABLE result_
Definition rpc.pb.h:757
::operations_research::math_opt::StatusProto *PROTOBUF_NULLABLE status_
Definition rpc.pb.h:758