10#include "google/protobuf/io/coded_stream.h"
11#include "google/protobuf/generated_message_tctable_impl.h"
12#include "google/protobuf/extension_set.h"
13#include "google/protobuf/generated_message_util.h"
14#include "google/protobuf/wire_format_lite.h"
15#include "google/protobuf/descriptor.h"
16#include "google/protobuf/generated_message_reflection.h"
17#include "google/protobuf/reflection_ops.h"
18#include "google/protobuf/wire_format.h"
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
26namespace _fl = ::google::protobuf::internal::field_layout;
30inline constexpr StatusProto::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
34 &::google::protobuf::internal::fixed_address_empty_string,
35 ::_pbi::ConstantInitialized()),
40#if defined(PROTOBUF_CUSTOM_VTABLE)
43 : ::google::protobuf::Message(),
45 _impl_(::_pbi::ConstantInitialized()) {
55PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
58inline constexpr SolverResourcesProto::Impl_::Impl_(
59 ::_pbi::ConstantInitialized) noexcept
66#if defined(PROTOBUF_CUSTOM_VTABLE)
69 : ::google::protobuf::Message(),
71 _impl_(::_pbi::ConstantInitialized()) {
81PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
84inline constexpr SolveResponse::Impl_::Impl_(
85 ::_pbi::ConstantInitialized) noexcept
93#if defined(PROTOBUF_CUSTOM_VTABLE)
96 : ::google::protobuf::Message(),
98 _impl_(::_pbi::ConstantInitialized()) {
108PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
111inline constexpr SolveRequest::Impl_::Impl_(
112 ::_pbi::ConstantInitialized) noexcept
115 initializer_{
nullptr},
116 parameters_{
nullptr},
117 model_parameters_{
nullptr},
123#if defined(PROTOBUF_CUSTOM_VTABLE)
126 : ::google::protobuf::Message(),
128 _impl_(::_pbi::ConstantInitialized()) {
138PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
142static constexpr const ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
144static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
173 ::_pbi::kInvalidFieldOffsetTag,
174 ::_pbi::kInvalidFieldOffsetTag,
186static const ::_pbi::MigrationSchema
201 "\n\032ortools/math_opt/rpc.proto\022\034operations"
202 "_research.math_opt\032\037ortools/math_opt/cal"
203 "lback.proto\032+ortools/math_opt/infeasible"
204 "_subsystem.proto\032\034ortools/math_opt/model"
205 ".proto\032\'ortools/math_opt/model_parameter"
206 "s.proto\032#ortools/math_opt/model_update.p"
207 "roto\032!ortools/math_opt/parameters.proto\032"
208 "\035ortools/math_opt/result.proto\"J\n\024Solver"
209 "ResourcesProto\022\020\n\003cpu\030\001 \001(\001H\000\210\001\001\022\020\n\003ram\030"
210 "\002 \001(\001H\001\210\001\001B\006\n\004_cpuB\006\n\004_ram\"\270\003\n\014SolveRequ"
211 "est\022B\n\013solver_type\030\001 \001(\0162-.operations_re"
212 "search.math_opt.SolverTypeProto\0227\n\005model"
213 "\030\002 \001(\0132(.operations_research.math_opt.Mo"
214 "delProto\022E\n\tresources\030\006 \001(\01322.operations"
215 "_research.math_opt.SolverResourcesProto\022"
216 "I\n\013initializer\030\003 \001(\01324.operations_resear"
217 "ch.math_opt.SolverInitializerProto\022F\n\npa"
218 "rameters\030\004 \001(\01322.operations_research.mat"
219 "h_opt.SolveParametersProto\022Q\n\020model_para"
220 "meters\030\005 \001(\01327.operations_research.math_"
221 "opt.ModelSolveParametersProto\"\255\001\n\rSolveR"
222 "esponse\022@\n\006result\030\001 \001(\0132..operations_res"
223 "earch.math_opt.SolveResultProtoH\000\022;\n\006sta"
224 "tus\030\003 \001(\0132).operations_research.math_opt"
225 ".StatusProtoH\000\022\020\n\010messages\030\002 \003(\tB\013\n\tstat"
226 "us_or\",\n\013StatusProto\022\014\n\004code\030\001 \001(\005\022\017\n\007me"
227 "ssage\030\002 \001(\tB\036\n\032com.google.ortools.mathop"
230static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL
const
245 descriptor_table_protodef_ortools_2fmath_5fopt_2frpc_2eproto,
246 "ortools/math_opt/rpc.proto",
264 decltype(::std::declval<SolverResourcesProto>()._impl_._has_bits_);
270#if defined(PROTOBUF_CUSTOM_VTABLE)
273 : ::google::protobuf::Message(arena) {
280#if defined(PROTOBUF_CUSTOM_VTABLE)
283 : ::google::protobuf::Message(arena),
286 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
287 from._internal_metadata_);
289PROTOBUF_NDEBUG_INLINE SolverResourcesProto::Impl_::Impl_(
290 ::google::protobuf::internal::InternalVisibility visibility,
291 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
292 : _cached_size_{0} {}
294inline void SolverResourcesProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
295 new (&
_impl_) Impl_(internal_visibility(), arena);
296 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
297 offsetof(Impl_, cpu_),
299 offsetof(Impl_, ram_) -
300 offsetof(Impl_, cpu_) +
301 sizeof(Impl_::ram_));
307inline void SolverResourcesProto::SharedDtor(MessageLite& self) {
309 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
310 ABSL_DCHECK(this_.GetArena() ==
nullptr);
315 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
316 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
324 return ::google::protobuf::internal::ClassDataFull{
325 ::google::protobuf::internal::ClassData{
330 &SolverResourcesProto::MergeImpl,
331 ::google::protobuf::Message::GetNewImpl<SolverResourcesProto>(),
332#if defined(PROTOBUF_CUSTOM_VTABLE)
333 &SolverResourcesProto::SharedDtor,
340 &SolverResourcesProto::kDescriptorMethods,
346PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
350PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
356PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
357const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
358SolverResourcesProto::_table_ = {
363 offsetof(
decltype(_table_), field_lookup_table),
365 offsetof(
decltype(_table_), field_entries),
368 offsetof(
decltype(_table_), field_names),
371 ::_pbi::TcParser::GenericFallback,
372 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
373 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolverResourcesProto>(),
377 {::_pbi::TcParser::FastF64S1,
378 {17, 1, 0, PROTOBUF_FIELD_OFFSET(SolverResourcesProto, _impl_.ram_)}},
380 {::_pbi::TcParser::FastF64S1,
387 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
390 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
398 ::google::protobuf::internal::TSanWrite(&
_impl_);
399 ::uint32_t cached_has_bits = 0;
401 (void) cached_has_bits;
403 cached_has_bits =
_impl_._has_bits_[0];
404 if ((cached_has_bits & 0x00000003u) != 0) {
405 ::memset(&
_impl_.cpu_, 0,
static_cast<::
size_t>(
406 reinterpret_cast<char*
>(&
_impl_.ram_) -
407 reinterpret_cast<char*
>(&
_impl_.cpu_)) +
sizeof(
_impl_.ram_));
409 _impl_._has_bits_.Clear();
410 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
413#if defined(PROTOBUF_CUSTOM_VTABLE)
415 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
416 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
420 ::uint8_t* PROTOBUF_NONNULL target,
421 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
425 ::uint32_t cached_has_bits = 0;
426 (void)cached_has_bits;
428 cached_has_bits = this_.
_impl_._has_bits_[0];
430 if ((cached_has_bits & 0x00000001u) != 0) {
431 target = stream->EnsureSpace(target);
432 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
433 1, this_._internal_cpu(), target);
437 if ((cached_has_bits & 0x00000002u) != 0) {
438 target = stream->EnsureSpace(target);
439 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
440 2, this_._internal_ram(), target);
443 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
445 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
446 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
452#if defined(PROTOBUF_CUSTOM_VTABLE)
460 ::size_t total_size = 0;
462 ::uint32_t cached_has_bits = 0;
464 (void)cached_has_bits;
466 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
467 cached_has_bits = this_.
_impl_._has_bits_[0];
468 total_size += ::absl::popcount(0x00000003u & cached_has_bits) * 9;
469 return this_.MaybeComputeUnknownFieldsSize(total_size,
470 &this_.
_impl_._cached_size_);
473void SolverResourcesProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
477 ABSL_DCHECK_NE(&from, _this);
478 ::uint32_t cached_has_bits = 0;
479 (void) cached_has_bits;
481 cached_has_bits = from.
_impl_._has_bits_[0];
482 if ((cached_has_bits & 0x00000003u) != 0) {
483 if ((cached_has_bits & 0x00000001u) != 0) {
484 _this->_impl_.cpu_ = from.
_impl_.cpu_;
486 if ((cached_has_bits & 0x00000002u) != 0) {
487 _this->_impl_.ram_ = from.
_impl_.ram_;
490 _this->_impl_._has_bits_[0] |= cached_has_bits;
491 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
496 if (&from ==
this)
return;
502void SolverResourcesProto::InternalSwap(
SolverResourcesProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
504 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
505 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
506 ::google::protobuf::internal::memswap<
510 reinterpret_cast<char*
>(&
_impl_.cpu_),
511 reinterpret_cast<char*
>(&other->_impl_.cpu_));
515 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
522 decltype(::std::declval<SolveRequest>()._impl_._has_bits_);
528 ::google::protobuf::internal::TSanWrite(&
_impl_);
530 _impl_._has_bits_[0] &= ~0x00000001u;
533 ::google::protobuf::internal::TSanWrite(&
_impl_);
535 _impl_._has_bits_[0] &= ~0x00000002u;
538 ::google::protobuf::internal::TSanWrite(&
_impl_);
540 _impl_._has_bits_[0] &= ~0x00000004u;
543 ::google::protobuf::internal::TSanWrite(&
_impl_);
544 if (
_impl_.model_parameters_ !=
nullptr)
_impl_.model_parameters_->Clear();
545 _impl_._has_bits_[0] &= ~0x00000008u;
548#if defined(PROTOBUF_CUSTOM_VTABLE)
551 : ::google::protobuf::Message(arena) {
556PROTOBUF_NDEBUG_INLINE SolveRequest::Impl_::Impl_(
557 ::google::protobuf::internal::InternalVisibility visibility,
558 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
559 const ::operations_research::math_opt::SolveRequest& from_msg)
560 : _has_bits_{from._has_bits_},
564 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
566#if defined(PROTOBUF_CUSTOM_VTABLE)
569 : ::google::protobuf::Message(arena) {
573 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
574 from._internal_metadata_);
575 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
576 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
577 _impl_.model_ = ((cached_has_bits & 0x00000001u) != 0)
578 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.model_)
580 _impl_.initializer_ = ((cached_has_bits & 0x00000002u) != 0)
581 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.initializer_)
583 _impl_.parameters_ = ((cached_has_bits & 0x00000004u) != 0)
584 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.parameters_)
586 _impl_.model_parameters_ = ((cached_has_bits & 0x00000008u) != 0)
587 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.model_parameters_)
589 _impl_.resources_ = ((cached_has_bits & 0x00000010u) != 0)
590 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.resources_)
592 _impl_.solver_type_ = from._impl_.solver_type_;
596PROTOBUF_NDEBUG_INLINE SolveRequest::Impl_::Impl_(
597 ::google::protobuf::internal::InternalVisibility visibility,
598 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
599 : _cached_size_{0} {}
601inline void SolveRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
602 new (&
_impl_) Impl_(internal_visibility(), arena);
603 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
604 offsetof(Impl_, model_),
606 offsetof(Impl_, solver_type_) -
607 offsetof(Impl_, model_) +
608 sizeof(Impl_::solver_type_));
614inline void SolveRequest::SharedDtor(
MessageLite& self) {
616 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
617 ABSL_DCHECK(this_.GetArena() ==
nullptr);
618 delete this_.
_impl_.model_;
619 delete this_.
_impl_.initializer_;
620 delete this_.
_impl_.parameters_;
621 delete this_.
_impl_.model_parameters_;
622 delete this_.
_impl_.resources_;
627 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
628 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
632 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
SolveRequest),
636 return ::google::protobuf::internal::ClassDataFull{
637 ::google::protobuf::internal::ClassData{
642 &SolveRequest::MergeImpl,
643 ::google::protobuf::Message::GetNewImpl<SolveRequest>(),
644#if defined(PROTOBUF_CUSTOM_VTABLE)
645 &SolveRequest::SharedDtor,
652 &SolveRequest::kDescriptorMethods,
658PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
662PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
668PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
669const ::_pbi::TcParseTable<3, 6, 5, 0, 2>
670SolveRequest::_table_ = {
675 offsetof(
decltype(_table_), field_lookup_table),
677 offsetof(
decltype(_table_), field_entries),
680 offsetof(
decltype(_table_), aux_entries),
683 ::_pbi::TcParser::GenericFallback,
684 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
685 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveRequest>(),
688 {::_pbi::TcParser::MiniParse, {}},
690 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SolveRequest,
_impl_.solver_type_), 5>(),
691 {8, 5, 0, PROTOBUF_FIELD_OFFSET(SolveRequest,
_impl_.solver_type_)}},
693 {::_pbi::TcParser::FastMtS1,
694 {18, 0, 0, PROTOBUF_FIELD_OFFSET(SolveRequest,
_impl_.model_)}},
696 {::_pbi::TcParser::FastMtS1,
697 {26, 1, 1, PROTOBUF_FIELD_OFFSET(SolveRequest,
_impl_.initializer_)}},
699 {::_pbi::TcParser::FastMtS1,
700 {34, 2, 2, PROTOBUF_FIELD_OFFSET(SolveRequest,
_impl_.parameters_)}},
702 {::_pbi::TcParser::FastMtS1,
703 {42, 3, 3, PROTOBUF_FIELD_OFFSET(SolveRequest,
_impl_.model_parameters_)}},
705 {::_pbi::TcParser::FastMtS1,
706 {50, 4, 4, PROTOBUF_FIELD_OFFSET(SolveRequest,
_impl_.resources_)}},
707 {::_pbi::TcParser::MiniParse, {}},
713 (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
716 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
719 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
722 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
725 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
728 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
731 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelProto>()},
732 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolverInitializerProto>()},
733 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveParametersProto>()},
734 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSolveParametersProto>()},
735 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolverResourcesProto>()},
742 ::google::protobuf::internal::TSanWrite(&
_impl_);
743 ::uint32_t cached_has_bits = 0;
745 (void) cached_has_bits;
747 cached_has_bits =
_impl_._has_bits_[0];
748 if ((cached_has_bits & 0x0000001fu) != 0) {
749 if ((cached_has_bits & 0x00000001u) != 0) {
750 ABSL_DCHECK(
_impl_.model_ !=
nullptr);
753 if ((cached_has_bits & 0x00000002u) != 0) {
754 ABSL_DCHECK(
_impl_.initializer_ !=
nullptr);
755 _impl_.initializer_->Clear();
757 if ((cached_has_bits & 0x00000004u) != 0) {
758 ABSL_DCHECK(
_impl_.parameters_ !=
nullptr);
759 _impl_.parameters_->Clear();
761 if ((cached_has_bits & 0x00000008u) != 0) {
762 ABSL_DCHECK(
_impl_.model_parameters_ !=
nullptr);
763 _impl_.model_parameters_->Clear();
765 if ((cached_has_bits & 0x00000010u) != 0) {
766 ABSL_DCHECK(
_impl_.resources_ !=
nullptr);
767 _impl_.resources_->Clear();
771 _impl_._has_bits_.Clear();
772 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
775#if defined(PROTOBUF_CUSTOM_VTABLE)
777 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
778 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
779 const SolveRequest& this_ =
static_cast<const SolveRequest&
>(base);
782 ::uint8_t* PROTOBUF_NONNULL target,
783 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
787 ::uint32_t cached_has_bits = 0;
788 (void)cached_has_bits;
791 if ((this_.
_impl_._has_bits_[0] & 0x00000020u) != 0) {
792 if (this_._internal_solver_type() != 0) {
793 target = stream->EnsureSpace(target);
794 target = ::_pbi::WireFormatLite::WriteEnumToArray(
795 1, this_._internal_solver_type(), target);
799 cached_has_bits = this_.
_impl_._has_bits_[0];
801 if ((cached_has_bits & 0x00000001u) != 0) {
802 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
803 2, *this_.
_impl_.model_, this_.
_impl_.model_->GetCachedSize(), target,
808 if ((cached_has_bits & 0x00000002u) != 0) {
809 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
810 3, *this_.
_impl_.initializer_, this_.
_impl_.initializer_->GetCachedSize(), target,
815 if ((cached_has_bits & 0x00000004u) != 0) {
816 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
817 4, *this_.
_impl_.parameters_, this_.
_impl_.parameters_->GetCachedSize(), target,
822 if ((cached_has_bits & 0x00000008u) != 0) {
823 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
824 5, *this_.
_impl_.model_parameters_, this_.
_impl_.model_parameters_->GetCachedSize(), target,
829 if ((cached_has_bits & 0x00000010u) != 0) {
830 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
831 6, *this_.
_impl_.resources_, this_.
_impl_.resources_->GetCachedSize(), target,
835 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
837 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
838 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
844#if defined(PROTOBUF_CUSTOM_VTABLE)
852 ::size_t total_size = 0;
854 ::uint32_t cached_has_bits = 0;
856 (void)cached_has_bits;
858 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
859 cached_has_bits = this_.
_impl_._has_bits_[0];
860 if ((cached_has_bits & 0x0000003fu) != 0) {
862 if ((cached_has_bits & 0x00000001u) != 0) {
864 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_.
_impl_.model_);
867 if ((cached_has_bits & 0x00000002u) != 0) {
869 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_.
_impl_.initializer_);
872 if ((cached_has_bits & 0x00000004u) != 0) {
874 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_.
_impl_.parameters_);
877 if ((cached_has_bits & 0x00000008u) != 0) {
879 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_.
_impl_.model_parameters_);
882 if ((cached_has_bits & 0x00000010u) != 0) {
884 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_.
_impl_.resources_);
887 if ((cached_has_bits & 0x00000020u) != 0) {
888 if (this_._internal_solver_type() != 0) {
890 ::_pbi::WireFormatLite::EnumSize(this_._internal_solver_type());
894 return this_.MaybeComputeUnknownFieldsSize(total_size,
895 &this_.
_impl_._cached_size_);
898void SolveRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
899 auto*
const _this =
static_cast<SolveRequest*
>(&to_msg);
900 auto& from =
static_cast<const SolveRequest&
>(from_msg);
903 ABSL_DCHECK_NE(&from, _this);
904 ::uint32_t cached_has_bits = 0;
905 (void) cached_has_bits;
907 cached_has_bits = from._impl_._has_bits_[0];
908 if ((cached_has_bits & 0x0000003fu) != 0) {
909 if ((cached_has_bits & 0x00000001u) != 0) {
910 ABSL_DCHECK(from._impl_.model_ !=
nullptr);
911 if (_this->_impl_.model_ ==
nullptr) {
912 _this->_impl_.model_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.model_);
914 _this->_impl_.model_->MergeFrom(*from._impl_.model_);
917 if ((cached_has_bits & 0x00000002u) != 0) {
918 ABSL_DCHECK(from._impl_.initializer_ !=
nullptr);
919 if (_this->_impl_.initializer_ ==
nullptr) {
920 _this->_impl_.initializer_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.initializer_);
922 _this->_impl_.initializer_->MergeFrom(*from._impl_.initializer_);
925 if ((cached_has_bits & 0x00000004u) != 0) {
926 ABSL_DCHECK(from._impl_.parameters_ !=
nullptr);
927 if (_this->_impl_.parameters_ ==
nullptr) {
928 _this->_impl_.parameters_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.parameters_);
930 _this->_impl_.parameters_->MergeFrom(*from._impl_.parameters_);
933 if ((cached_has_bits & 0x00000008u) != 0) {
934 ABSL_DCHECK(from._impl_.model_parameters_ !=
nullptr);
935 if (_this->_impl_.model_parameters_ ==
nullptr) {
936 _this->_impl_.model_parameters_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.model_parameters_);
938 _this->_impl_.model_parameters_->MergeFrom(*from._impl_.model_parameters_);
941 if ((cached_has_bits & 0x00000010u) != 0) {
942 ABSL_DCHECK(from._impl_.resources_ !=
nullptr);
943 if (_this->_impl_.resources_ ==
nullptr) {
944 _this->_impl_.resources_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.resources_);
946 _this->_impl_.resources_->MergeFrom(*from._impl_.resources_);
949 if ((cached_has_bits & 0x00000020u) != 0) {
950 if (from._internal_solver_type() != 0) {
951 _this->_impl_.solver_type_ = from._impl_.solver_type_;
955 _this->_impl_._has_bits_[0] |= cached_has_bits;
956 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
961 if (&from ==
this)
return;
967void SolveRequest::InternalSwap(
SolveRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
969 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
970 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
971 ::google::protobuf::internal::memswap<
975 reinterpret_cast<char*
>(&
_impl_.model_),
976 reinterpret_cast<char*
>(&other->_impl_.model_));
980 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
986 static constexpr ::int32_t kOneofCaseOffset =
991 ::google::protobuf::Arena* message_arena = GetArena();
994 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(
result)->GetArena();
995 if (message_arena != submessage_arena) {
996 result = ::google::protobuf::internal::GetOwnedMessage(message_arena,
result, submessage_arena);
1004 ::google::protobuf::internal::TSanWrite(&
_impl_);
1005 if (status_or_case() == kResult) {
1006 if (GetArena() ==
nullptr) {
1007 delete _impl_.status_or_.result_;
1008 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
1009 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.status_or_.result_);
1011 clear_has_status_or();
1018 ::google::protobuf::Arena* submessage_arena =
status->GetArena();
1019 if (message_arena != submessage_arena) {
1020 status = ::google::protobuf::internal::GetOwnedMessage(message_arena,
status, submessage_arena);
1028#if defined(PROTOBUF_CUSTOM_VTABLE)
1031 : ::google::protobuf::Message(arena) {
1036PROTOBUF_NDEBUG_INLINE SolveResponse::Impl_::Impl_(
1037 ::google::protobuf::internal::InternalVisibility visibility,
1038 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1039 const ::operations_research::math_opt::SolveResponse& from_msg)
1040 : messages_{visibility, arena, from.messages_},
1043 _oneof_case_{from._oneof_case_[0]} {}
1046 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1047 const SolveResponse& from)
1048#if defined(PROTOBUF_CUSTOM_VTABLE)
1051 : ::google::protobuf::Message(arena) {
1055 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1056 from._internal_metadata_);
1057 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1062 _impl_.status_or_.result_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_or_.result_);
1065 _impl_.status_or_.status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_or_.status_);
1071PROTOBUF_NDEBUG_INLINE SolveResponse::Impl_::Impl_(
1072 ::google::protobuf::internal::InternalVisibility visibility,
1073 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1074 : messages_{visibility, arena},
1079inline void SolveResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1080 new (&
_impl_) Impl_(internal_visibility(), arena);
1086inline void SolveResponse::SharedDtor(MessageLite& self) {
1088 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1089 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1090 if (this_.has_status_or()) {
1098 ::google::protobuf::internal::TSanWrite(&
_impl_);
1101 if (GetArena() ==
nullptr) {
1102 delete _impl_.status_or_.result_;
1103 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
1104 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.status_or_.result_);
1109 if (GetArena() ==
nullptr) {
1110 delete _impl_.status_or_.status_;
1111 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
1112 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.status_or_.status_);
1125 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1126 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1130 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1133 InternalGetArenaOffset(
1136 if (arena_bits.has_value()) {
1137 return ::google::protobuf::internal::MessageCreator::ZeroInit(
1138 sizeof(SolveResponse), alignof(SolveResponse), *arena_bits);
1140 return ::google::protobuf::internal::MessageCreator(&SolveResponse::PlacementNew_,
1141 sizeof(SolveResponse),
1142 alignof(SolveResponse));
1146 return ::google::protobuf::internal::ClassDataFull{
1147 ::google::protobuf::internal::ClassData{
1152 &SolveResponse::MergeImpl,
1153 ::google::protobuf::Message::GetNewImpl<SolveResponse>(),
1154#if defined(PROTOBUF_CUSTOM_VTABLE)
1155 &SolveResponse::SharedDtor,
1162 &SolveResponse::kDescriptorMethods,
1168PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1172PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1178PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1179const ::_pbi::TcParseTable<0, 3, 2, 59, 2>
1180SolveResponse::_table_ = {
1185 offsetof(
decltype(_table_), field_lookup_table),
1187 offsetof(
decltype(_table_), field_entries),
1190 offsetof(
decltype(_table_), aux_entries),
1193 ::_pbi::TcParser::GenericFallback,
1194 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1195 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveResponse>(),
1199 {::_pbi::TcParser::FastUR1,
1206 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
1209 (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)},
1212 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
1215 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveResultProto>()},
1216 {::_pbi::TcParser::GetTable<::operations_research::math_opt::StatusProto>()},
1219 "\52\0\10\0\0\0\0\0"
1220 "operations_research.math_opt.SolveResponse"
1226 ::google::protobuf::internal::TSanWrite(&
_impl_);
1227 ::uint32_t cached_has_bits = 0;
1229 (void) cached_has_bits;
1231 _impl_.messages_.Clear();
1233 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1236#if defined(PROTOBUF_CUSTOM_VTABLE)
1238 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1239 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1243 ::uint8_t* PROTOBUF_NONNULL target,
1244 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1248 ::uint32_t cached_has_bits = 0;
1249 (void)cached_has_bits;
1253 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1259 for (
int i = 0, n = this_._internal_messages_size(); i < n; ++i) {
1260 const auto& s = this_._internal_messages().Get(i);
1261 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1262 s.data(),
static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.math_opt.SolveResponse.messages");
1263 target = stream->WriteString(2, s, target);
1268 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1273 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1275 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1276 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1282#if defined(PROTOBUF_CUSTOM_VTABLE)
1290 ::size_t total_size = 0;
1292 ::uint32_t cached_has_bits = 0;
1294 (void)cached_has_bits;
1296 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1301 1 * ::google::protobuf::internal::FromIntSize(this_._internal_messages().size());
1302 for (
int i = 0, n = this_._internal_messages().size(); i < n; ++i) {
1303 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
1304 this_._internal_messages().Get(i));
1308 switch (this_.status_or_case()) {
1312 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_or_.result_);
1318 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_or_.status_);
1325 return this_.MaybeComputeUnknownFieldsSize(total_size,
1326 &this_._impl_._cached_size_);
1329void SolveResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1334 ABSL_DCHECK_NE(&from, _this);
1335 ::uint32_t cached_has_bits = 0;
1336 (void) cached_has_bits;
1338 _this->_internal_mutable_messages()->MergeFrom(from._internal_messages());
1339 if (
const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
1340 const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
1341 const bool oneof_needs_init = oneof_to_case != oneof_from_case;
1342 if (oneof_needs_init) {
1343 if (oneof_to_case != 0) {
1344 _this->clear_status_or();
1346 _this->_impl_._oneof_case_[0] = oneof_from_case;
1349 switch (oneof_from_case) {
1351 if (oneof_needs_init) {
1352 _this->_impl_.status_or_.result_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_or_.result_);
1354 _this->_impl_.status_or_.result_->MergeFrom(*from._impl_.status_or_.result_);
1359 if (oneof_needs_init) {
1360 _this->_impl_.status_or_.status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.status_or_.status_);
1362 _this->_impl_.status_or_.status_->MergeFrom(*from._impl_.status_or_.status_);
1370 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1375 if (&from ==
this)
return;
1381void SolveResponse::InternalSwap(
SolveResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1383 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1384 _impl_.messages_.InternalSwap(&other->_impl_.messages_);
1385 swap(
_impl_.status_or_, other->_impl_.status_or_);
1386 swap(
_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
1390 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1397 decltype(::std::declval<StatusProto>()._impl_._has_bits_);
1403#if defined(PROTOBUF_CUSTOM_VTABLE)
1406 : ::google::protobuf::Message(arena) {
1411PROTOBUF_NDEBUG_INLINE StatusProto::Impl_::Impl_(
1412 ::google::protobuf::internal::InternalVisibility visibility,
1413 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1414 const ::operations_research::math_opt::StatusProto& from_msg)
1415 : _has_bits_{from._has_bits_},
1417 message_(arena, from.message_) {}
1420 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1421 const StatusProto& from)
1422#if defined(PROTOBUF_CUSTOM_VTABLE)
1425 : ::google::protobuf::Message(arena) {
1429 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1430 from._internal_metadata_);
1431 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1432 _impl_.code_ = from._impl_.code_;
1436PROTOBUF_NDEBUG_INLINE StatusProto::Impl_::Impl_(
1437 ::google::protobuf::internal::InternalVisibility visibility,
1438 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1442inline void StatusProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1443 new (&
_impl_) Impl_(internal_visibility(), arena);
1452 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1453 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1454 this_.
_impl_.message_.Destroy();
1459 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1460 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1464 return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(
StatusProto),
1468 return ::google::protobuf::internal::ClassDataFull{
1469 ::google::protobuf::internal::ClassData{
1474 &StatusProto::MergeImpl,
1475 ::google::protobuf::Message::GetNewImpl<StatusProto>(),
1476#if defined(PROTOBUF_CUSTOM_VTABLE)
1477 &StatusProto::SharedDtor,
1484 &StatusProto::kDescriptorMethods,
1490PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1494PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1500PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1501const ::_pbi::TcParseTable<1, 2, 0, 56, 2>
1502StatusProto::_table_ = {
1504 PROTOBUF_FIELD_OFFSET(
StatusProto, _impl_._has_bits_),
1507 offsetof(
decltype(_table_), field_lookup_table),
1509 offsetof(
decltype(_table_), field_entries),
1512 offsetof(
decltype(_table_), field_names),
1515 ::_pbi::TcParser::GenericFallback,
1516 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1517 ::_pbi::TcParser::GetTable<::operations_research::math_opt::StatusProto>(),
1521 {::_pbi::TcParser::FastUS1,
1522 {18, 0, 0, PROTOBUF_FIELD_OFFSET(StatusProto, _impl_.message_)}},
1524 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
StatusProto, _impl_.code_), 1>(),
1525 {8, 1, 0, PROTOBUF_FIELD_OFFSET(
StatusProto, _impl_.code_)}},
1530 {PROTOBUF_FIELD_OFFSET(
StatusProto, _impl_.code_), _Internal::kHasBitsOffset + 1, 0,
1531 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1533 {PROTOBUF_FIELD_OFFSET(
StatusProto, _impl_.message_), _Internal::kHasBitsOffset + 0, 0,
1534 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1539 "operations_research.math_opt.StatusProto"
1545 ::google::protobuf::internal::TSanWrite(&
_impl_);
1546 ::uint32_t cached_has_bits = 0;
1548 (void) cached_has_bits;
1550 cached_has_bits =
_impl_._has_bits_[0];
1551 if ((cached_has_bits & 0x00000001u) != 0) {
1552 _impl_.message_.ClearNonDefaultToEmpty();
1555 _impl_._has_bits_.Clear();
1556 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1559#if defined(PROTOBUF_CUSTOM_VTABLE)
1561 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1562 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1566 ::uint8_t* PROTOBUF_NONNULL target,
1567 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1571 ::uint32_t cached_has_bits = 0;
1572 (void)cached_has_bits;
1575 if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
1576 if (this_._internal_code() != 0) {
1578 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
1579 stream, this_._internal_code(), target);
1584 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
1585 if (!this_._internal_message().empty()) {
1586 const ::std::string& _s = this_._internal_message();
1587 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1588 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.math_opt.StatusProto.message");
1589 target = stream->WriteStringMaybeAliased(2, _s, target);
1593 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1595 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1596 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1602#if defined(PROTOBUF_CUSTOM_VTABLE)
1610 ::size_t total_size = 0;
1612 ::uint32_t cached_has_bits = 0;
1614 (void)cached_has_bits;
1616 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1617 cached_has_bits = this_._impl_._has_bits_[0];
1618 if ((cached_has_bits & 0x00000003u) != 0) {
1620 if ((cached_has_bits & 0x00000001u) != 0) {
1621 if (!this_._internal_message().empty()) {
1622 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1623 this_._internal_message());
1627 if ((cached_has_bits & 0x00000002u) != 0) {
1628 if (this_._internal_code() != 0) {
1629 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1630 this_._internal_code());
1634 return this_.MaybeComputeUnknownFieldsSize(total_size,
1635 &this_._impl_._cached_size_);
1638void StatusProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1639 auto*
const _this =
static_cast<StatusProto*
>(&to_msg);
1640 auto& from =
static_cast<const StatusProto&
>(from_msg);
1642 ABSL_DCHECK_NE(&from, _this);
1643 ::uint32_t cached_has_bits = 0;
1644 (void) cached_has_bits;
1646 cached_has_bits = from._impl_._has_bits_[0];
1647 if ((cached_has_bits & 0x00000003u) != 0) {
1648 if ((cached_has_bits & 0x00000001u) != 0) {
1649 if (!from._internal_message().empty()) {
1650 _this->_internal_set_message(from._internal_message());
1652 if (_this->_impl_.message_.IsDefault()) {
1653 _this->_internal_set_message(
"");
1657 if ((cached_has_bits & 0x00000002u) != 0) {
1658 if (from._internal_code() != 0) {
1659 _this->_impl_.code_ = from._impl_.code_;
1663 _this->_impl_._has_bits_[0] |= cached_has_bits;
1664 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1669 if (&from ==
this)
return;
1675void StatusProto::InternalSwap(
StatusProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1677 auto* arena = GetArena();
1678 ABSL_DCHECK_EQ(arena, other->GetArena());
1679 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1680 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1681 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.message_, &other->_impl_.message_, arena);
1686 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1696PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1699 ::std::false_type{});
1700#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
@protoc_insertion_point(global_scope)
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto
decltype(::std::declval< SolveRequest >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
~SolveRequest() PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
::size_t ByteSizeLong() const final
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_model_parameters()
void CopyFrom(const SolveRequest &from)
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const SolveRequest &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
static constexpr ::int32_t kOneofCaseOffset
static constexpr auto InternalNewImpl_()
friend class ::google::protobuf::MessageLite
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::operations_research::math_opt::StatusProto & status() const
void MergeFrom(const SolveResponse &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
~SolveResponse() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void CopyFrom(const SolveResponse &from)
void set_allocated_status(::operations_research::math_opt::StatusProto *PROTOBUF_NULLABLE value)
friend void swap(SolveResponse &a, SolveResponse &b)
void set_allocated_result(::operations_research::math_opt::SolveResultProto *PROTOBUF_NULLABLE value)
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::operations_research::math_opt::SolveResultProto & result() const
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::Arena
StatusOrCase status_or_case() const
int GetCachedSize() const
decltype(::std::declval< SolverResourcesProto >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::MessageLite
void CopyFrom(const SolverResourcesProto &from)
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void MergeFrom(const SolverResourcesProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(SolverResourcesProto &a, SolverResourcesProto &b)
~SolverResourcesProto() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
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
static constexpr auto InternalNewImpl_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const StatusProto &from)
static constexpr auto InternalNewImpl_()
void MergeFrom(const StatusProto &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend void swap(StatusProto &a, StatusProto &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
~StatusProto() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
::size_t ByteSizeLong() const final
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
int GetCachedSize() const
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
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_5fparameters_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_5fupdate_2eproto
An object oriented wrapper for quadratic constraints in ModelStorage.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolverResourcesProtoDefaultTypeInternal _SolverResourcesProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveRequestDefaultTypeInternal _SolveRequest_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolverResourcesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveRequest_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatusProtoDefaultTypeInternal _StatusProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResponseDefaultTypeInternal _SolveResponse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull StatusProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveResponse_class_data_
In SWIG mode, we don't want anything besides these top-level includes.
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fmath_5fopt_2frpc_2eproto
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fmath_5fopt_2frpc_2eproto_deps[7]
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2frpc_2eproto_once
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2frpc_2eproto
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2frpc_2eproto
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2frpc_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
PROTOBUF_CONSTEXPR SolveRequestDefaultTypeInternal()
~SolveRequestDefaultTypeInternal()
~SolveResponseDefaultTypeInternal()
PROTOBUF_CONSTEXPR SolveResponseDefaultTypeInternal()
PROTOBUF_CONSTEXPR SolverResourcesProtoDefaultTypeInternal()
~SolverResourcesProtoDefaultTypeInternal()
SolverResourcesProto _instance
~StatusProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR StatusProtoDefaultTypeInternal()
::operations_research::math_opt::SolveResultProto *PROTOBUF_NULLABLE result_
::operations_research::math_opt::StatusProto *PROTOBUF_NULLABLE status_