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;
29inline constexpr DemonRuns::Impl_::Impl_(
30 ::_pbi::ConstantInitialized) noexcept
33 _start_time_cached_byte_size_{0},
35 _end_time_cached_byte_size_{0},
37 &::google::protobuf::internal::fixed_address_empty_string,
38 ::_pbi::ConstantInitialized()),
39 failures_{::int64_t{0}} {}
43#if defined(PROTOBUF_CUSTOM_VTABLE)
46 : ::google::protobuf::Message(),
48 _impl_(::_pbi::ConstantInitialized()) {
58PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
61inline constexpr ConstraintRuns::Impl_::Impl_(
62 ::_pbi::ConstantInitialized) noexcept
64 initial_propagation_start_time_{},
65 _initial_propagation_start_time_cached_byte_size_{0},
66 initial_propagation_end_time_{},
67 _initial_propagation_end_time_cached_byte_size_{0},
70 &::google::protobuf::internal::fixed_address_empty_string,
71 ::_pbi::ConstantInitialized()),
72 failures_{::int64_t{0}} {}
76#if defined(PROTOBUF_CUSTOM_VTABLE)
79 : ::google::protobuf::Message(),
81 _impl_(::_pbi::ConstantInitialized()) {
91PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
94static constexpr const ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
96static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
127static const ::_pbi::MigrationSchema
138 "\n.ortools/constraint_solver/demon_profil"
139 "er.proto\022\023operations_research\"U\n\tDemonRu"
140 "ns\022\020\n\010demon_id\030\001 \001(\t\022\022\n\nstart_time\030\002 \003(\003"
141 "\022\020\n\010end_time\030\003 \003(\003\022\020\n\010failures\030\004 \001(\003\"\267\001\n"
142 "\016ConstraintRuns\022\025\n\rconstraint_id\030\001 \001(\t\022&"
143 "\n\036initial_propagation_start_time\030\002 \003(\003\022$"
144 "\n\034initial_propagation_end_time\030\003 \003(\003\022\020\n\010"
145 "failures\030\004 \001(\003\022.\n\006demons\030\005 \003(\0132\036.operati"
146 "ons_research.DemonRunsb\006proto3"
153 descriptor_table_protodef_ortools_2fconstraint_5fsolver_2fdemon_5fprofiler_2eproto,
154 "ortools/constraint_solver/demon_profiler.proto",
171 decltype(::std::declval<DemonRuns>()._impl_._has_bits_);
177#if defined(PROTOBUF_CUSTOM_VTABLE)
180 : ::google::protobuf::Message(arena) {
185PROTOBUF_NDEBUG_INLINE DemonRuns::Impl_::Impl_(
186 ::google::protobuf::internal::InternalVisibility visibility,
187 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
188 const ::operations_research::DemonRuns& from_msg)
189 : _has_bits_{from._has_bits_},
191 start_time_{visibility, arena, from.start_time_},
192 _start_time_cached_byte_size_{0},
193 end_time_{visibility, arena, from.end_time_},
194 _end_time_cached_byte_size_{0},
195 demon_id_(arena, from.demon_id_) {}
198 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
200#if defined(PROTOBUF_CUSTOM_VTABLE)
203 : ::google::protobuf::Message(arena) {
207 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
208 from._internal_metadata_);
209 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
210 _impl_.failures_ = from._impl_.failures_;
214PROTOBUF_NDEBUG_INLINE DemonRuns::Impl_::Impl_(
215 ::google::protobuf::internal::InternalVisibility visibility,
216 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
218 start_time_{visibility, arena},
219 _start_time_cached_byte_size_{0},
220 end_time_{visibility, arena},
221 _end_time_cached_byte_size_{0},
224inline void DemonRuns::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
225 new (&
_impl_) Impl_(internal_visibility(), arena);
232inline void DemonRuns::SharedDtor(MessageLite& self) {
234 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
235 ABSL_DCHECK(this_.GetArena() ==
nullptr);
236 this_.
_impl_.demon_id_.Destroy();
241 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
242 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
246 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
249 InternalGetArenaOffset(
250 ::google::protobuf::Message::internal_visibility()),
253 InternalGetArenaOffset(
254 ::google::protobuf::Message::internal_visibility()),
256 if (arena_bits.has_value()) {
257 return ::google::protobuf::internal::MessageCreator::CopyInit(
266 return ::google::protobuf::internal::ClassDataFull{
267 ::google::protobuf::internal::ClassData{
272 &DemonRuns::MergeImpl,
273 ::google::protobuf::Message::GetNewImpl<DemonRuns>(),
274#if defined(PROTOBUF_CUSTOM_VTABLE)
275 &DemonRuns::SharedDtor,
282 &DemonRuns::kDescriptorMethods,
288PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
292PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
298PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
299const ::_pbi::TcParseTable<2, 4, 0, 46, 2>
300DemonRuns::_table_ = {
302 PROTOBUF_FIELD_OFFSET(
DemonRuns, _impl_._has_bits_),
305 offsetof(
decltype(_table_), field_lookup_table),
307 offsetof(
decltype(_table_), field_entries),
310 offsetof(
decltype(_table_), field_names),
313 ::_pbi::TcParser::GenericFallback,
314 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
315 ::_pbi::TcParser::GetTable<::operations_research::DemonRuns>(),
319 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(DemonRuns, _impl_.failures_), 1>(),
320 {32, 1, 0, PROTOBUF_FIELD_OFFSET(DemonRuns, _impl_.failures_)}},
322 {::_pbi::TcParser::FastUS1,
323 {10, 0, 0, PROTOBUF_FIELD_OFFSET(
DemonRuns, _impl_.demon_id_)}},
325 {::_pbi::TcParser::FastV64P1,
326 {18, 63, 0, PROTOBUF_FIELD_OFFSET(
DemonRuns, _impl_.start_time_)}},
328 {::_pbi::TcParser::FastV64P1,
329 {26, 63, 0, PROTOBUF_FIELD_OFFSET(
DemonRuns, _impl_.end_time_)}},
334 {PROTOBUF_FIELD_OFFSET(
DemonRuns, _impl_.demon_id_), _Internal::kHasBitsOffset + 0, 0,
335 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
337 {PROTOBUF_FIELD_OFFSET(
DemonRuns, _impl_.start_time_), -1, 0,
338 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
340 {PROTOBUF_FIELD_OFFSET(
DemonRuns, _impl_.end_time_), -1, 0,
341 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
343 {PROTOBUF_FIELD_OFFSET(
DemonRuns, _impl_.failures_), _Internal::kHasBitsOffset + 1, 0,
344 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
349 "operations_research.DemonRuns"
355 ::google::protobuf::internal::TSanWrite(&
_impl_);
356 ::uint32_t cached_has_bits = 0;
358 (void) cached_has_bits;
360 _impl_.start_time_.Clear();
362 cached_has_bits =
_impl_._has_bits_[0];
363 if ((cached_has_bits & 0x00000001u) != 0) {
364 _impl_.demon_id_.ClearNonDefaultToEmpty();
366 _impl_.failures_ = ::int64_t{0};
367 _impl_._has_bits_.Clear();
368 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
371#if defined(PROTOBUF_CUSTOM_VTABLE)
373 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
374 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
378 ::uint8_t* PROTOBUF_NONNULL target,
379 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
383 ::uint32_t cached_has_bits = 0;
384 (void)cached_has_bits;
387 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
388 if (!this_._internal_demon_id().empty()) {
389 const ::std::string& _s = this_._internal_demon_id();
390 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
391 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.DemonRuns.demon_id");
392 target = stream->WriteStringMaybeAliased(1, _s, target);
398 int byte_size = this_.
_impl_._start_time_cached_byte_size_.Get();
400 target = stream->WriteInt64Packed(
401 2, this_._internal_start_time(), byte_size, target);
407 int byte_size = this_.
_impl_._end_time_cached_byte_size_.Get();
409 target = stream->WriteInt64Packed(
410 3, this_._internal_end_time(), byte_size, target);
415 if ((this_.
_impl_._has_bits_[0] & 0x00000002u) != 0) {
416 if (this_._internal_failures() != 0) {
418 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
419 stream, this_._internal_failures(), target);
423 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
425 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
426 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
432#if defined(PROTOBUF_CUSTOM_VTABLE)
440 ::size_t total_size = 0;
442 ::uint32_t cached_has_bits = 0;
444 (void)cached_has_bits;
446 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
451 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
452 this_._internal_start_time(), 1,
453 this_.
_impl_._start_time_cached_byte_size_);
458 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
459 this_._internal_end_time(), 1,
460 this_.
_impl_._end_time_cached_byte_size_);
463 cached_has_bits = this_.
_impl_._has_bits_[0];
464 if ((cached_has_bits & 0x00000003u) != 0) {
466 if ((cached_has_bits & 0x00000001u) != 0) {
467 if (!this_._internal_demon_id().empty()) {
468 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
469 this_._internal_demon_id());
473 if ((cached_has_bits & 0x00000002u) != 0) {
474 if (this_._internal_failures() != 0) {
475 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
476 this_._internal_failures());
480 return this_.MaybeComputeUnknownFieldsSize(total_size,
481 &this_.
_impl_._cached_size_);
484void DemonRuns::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
485 auto*
const _this =
static_cast<DemonRuns*
>(&to_msg);
486 auto& from =
static_cast<const DemonRuns&
>(from_msg);
488 ABSL_DCHECK_NE(&from, _this);
489 ::uint32_t cached_has_bits = 0;
490 (void) cached_has_bits;
492 _this->_internal_mutable_start_time()->MergeFrom(from._internal_start_time());
493 _this->_internal_mutable_end_time()->MergeFrom(from._internal_end_time());
494 cached_has_bits = from._impl_._has_bits_[0];
495 if ((cached_has_bits & 0x00000003u) != 0) {
496 if ((cached_has_bits & 0x00000001u) != 0) {
497 if (!from._internal_demon_id().empty()) {
498 _this->_internal_set_demon_id(from._internal_demon_id());
500 if (_this->_impl_.demon_id_.IsDefault()) {
501 _this->_internal_set_demon_id(
"");
505 if ((cached_has_bits & 0x00000002u) != 0) {
506 if (from._internal_failures() != 0) {
507 _this->_impl_.failures_ = from._impl_.failures_;
511 _this->_impl_._has_bits_[0] |= cached_has_bits;
512 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
517 if (&from ==
this)
return;
523void DemonRuns::InternalSwap(
DemonRuns* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
525 auto* arena = GetArena();
526 ABSL_DCHECK_EQ(arena, other->GetArena());
527 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
528 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
529 _impl_.start_time_.InternalSwap(&other->_impl_.start_time_);
530 _impl_.end_time_.InternalSwap(&other->_impl_.end_time_);
531 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.demon_id_, &other->_impl_.demon_id_, arena);
532 swap(
_impl_.failures_, other->_impl_.failures_);
536 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
543 decltype(::std::declval<ConstraintRuns>()._impl_._has_bits_);
549#if defined(PROTOBUF_CUSTOM_VTABLE)
552 : ::google::protobuf::Message(arena) {
557PROTOBUF_NDEBUG_INLINE ConstraintRuns::Impl_::Impl_(
558 ::google::protobuf::internal::InternalVisibility visibility,
559 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
560 const ::operations_research::ConstraintRuns& from_msg)
561 : _has_bits_{from._has_bits_},
563 initial_propagation_start_time_{visibility, arena, from.initial_propagation_start_time_},
564 _initial_propagation_start_time_cached_byte_size_{0},
565 initial_propagation_end_time_{visibility, arena, from.initial_propagation_end_time_},
566 _initial_propagation_end_time_cached_byte_size_{0},
567 demons_{visibility, arena, from.demons_},
568 constraint_id_(arena, from.constraint_id_) {}
571 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
573#if defined(PROTOBUF_CUSTOM_VTABLE)
576 : ::google::protobuf::Message(arena) {
580 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
581 from._internal_metadata_);
582 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
583 _impl_.failures_ = from._impl_.failures_;
587PROTOBUF_NDEBUG_INLINE ConstraintRuns::Impl_::Impl_(
588 ::google::protobuf::internal::InternalVisibility visibility,
589 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
591 initial_propagation_start_time_{visibility, arena},
592 _initial_propagation_start_time_cached_byte_size_{0},
593 initial_propagation_end_time_{visibility, arena},
594 _initial_propagation_end_time_cached_byte_size_{0},
595 demons_{visibility, arena},
596 constraint_id_(arena) {}
598inline void ConstraintRuns::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
599 new (&
_impl_) Impl_(internal_visibility(), arena);
606inline void ConstraintRuns::SharedDtor(
MessageLite& self) {
608 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
609 ABSL_DCHECK(this_.GetArena() ==
nullptr);
610 this_.
_impl_.constraint_id_.Destroy();
615 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
616 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
620 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
623 InternalGetArenaOffset(
627 InternalGetArenaOffset(
631 InternalGetArenaOffset(
634 if (arena_bits.has_value()) {
635 return ::google::protobuf::internal::MessageCreator::CopyInit(
636 sizeof(ConstraintRuns), alignof(ConstraintRuns), *arena_bits);
638 return ::google::protobuf::internal::MessageCreator(&ConstraintRuns::PlacementNew_,
639 sizeof(ConstraintRuns),
640 alignof(ConstraintRuns));
644 return ::google::protobuf::internal::ClassDataFull{
645 ::google::protobuf::internal::ClassData{
650 &ConstraintRuns::MergeImpl,
651 ::google::protobuf::Message::GetNewImpl<ConstraintRuns>(),
652#if defined(PROTOBUF_CUSTOM_VTABLE)
653 &ConstraintRuns::SharedDtor,
660 &ConstraintRuns::kDescriptorMethods,
666PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
670PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
676PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
677const ::_pbi::TcParseTable<3, 5, 1, 56, 2>
678ConstraintRuns::_table_ = {
683 offsetof(
decltype(_table_), field_lookup_table),
685 offsetof(
decltype(_table_), field_entries),
688 offsetof(
decltype(_table_), aux_entries),
691 ::_pbi::TcParser::GenericFallback,
692 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
693 ::_pbi::TcParser::GetTable<::operations_research::ConstraintRuns>(),
696 {::_pbi::TcParser::MiniParse, {}},
698 {::_pbi::TcParser::FastUS1,
699 {10, 0, 0, PROTOBUF_FIELD_OFFSET(ConstraintRuns,
_impl_.constraint_id_)}},
701 {::_pbi::TcParser::FastV64P1,
702 {18, 63, 0, PROTOBUF_FIELD_OFFSET(ConstraintRuns,
_impl_.initial_propagation_start_time_)}},
704 {::_pbi::TcParser::FastV64P1,
705 {26, 63, 0, PROTOBUF_FIELD_OFFSET(ConstraintRuns,
_impl_.initial_propagation_end_time_)}},
707 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ConstraintRuns,
_impl_.failures_), 1>(),
708 {32, 1, 0, PROTOBUF_FIELD_OFFSET(ConstraintRuns,
_impl_.failures_)}},
710 {::_pbi::TcParser::FastMtR1,
711 {42, 63, 0, PROTOBUF_FIELD_OFFSET(ConstraintRuns,
_impl_.demons_)}},
712 {::_pbi::TcParser::MiniParse, {}},
713 {::_pbi::TcParser::MiniParse, {}},
719 (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
721 {PROTOBUF_FIELD_OFFSET(ConstraintRuns,
_impl_.initial_propagation_start_time_), -1, 0,
722 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
724 {PROTOBUF_FIELD_OFFSET(ConstraintRuns,
_impl_.initial_propagation_end_time_), -1, 0,
725 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
728 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
730 {PROTOBUF_FIELD_OFFSET(ConstraintRuns,
_impl_.demons_), -1, 0,
731 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
734 {::_pbi::TcParser::GetTable<::operations_research::DemonRuns>()},
738 "operations_research.ConstraintRuns"
744 ::google::protobuf::internal::TSanWrite(&
_impl_);
745 ::uint32_t cached_has_bits = 0;
747 (void) cached_has_bits;
749 _impl_.initial_propagation_start_time_.Clear();
750 _impl_.initial_propagation_end_time_.Clear();
752 cached_has_bits =
_impl_._has_bits_[0];
753 if ((cached_has_bits & 0x00000001u) != 0) {
754 _impl_.constraint_id_.ClearNonDefaultToEmpty();
756 _impl_.failures_ = ::int64_t{0};
757 _impl_._has_bits_.Clear();
758 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
761#if defined(PROTOBUF_CUSTOM_VTABLE)
763 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
764 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
765 const ConstraintRuns& this_ =
static_cast<const ConstraintRuns&
>(base);
768 ::uint8_t* PROTOBUF_NONNULL target,
769 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
773 ::uint32_t cached_has_bits = 0;
774 (void)cached_has_bits;
777 if ((this_.
_impl_._has_bits_[0] & 0x00000001u) != 0) {
778 if (!this_._internal_constraint_id().empty()) {
779 const ::std::string& _s = this_._internal_constraint_id();
780 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
781 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.ConstraintRuns.constraint_id");
782 target = stream->WriteStringMaybeAliased(1, _s, target);
788 int byte_size = this_.
_impl_._initial_propagation_start_time_cached_byte_size_.Get();
790 target = stream->WriteInt64Packed(
791 2, this_._internal_initial_propagation_start_time(), byte_size, target);
797 int byte_size = this_.
_impl_._initial_propagation_end_time_cached_byte_size_.Get();
799 target = stream->WriteInt64Packed(
800 3, this_._internal_initial_propagation_end_time(), byte_size, target);
805 if ((this_.
_impl_._has_bits_[0] & 0x00000002u) != 0) {
806 if (this_._internal_failures() != 0) {
808 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
809 stream, this_._internal_failures(), target);
814 for (
unsigned i = 0, n =
static_cast<unsigned>(
815 this_._internal_demons_size());
817 const auto& repfield = this_._internal_demons().Get(i);
819 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
820 5, repfield, repfield.GetCachedSize(),
824 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
826 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
827 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
833#if defined(PROTOBUF_CUSTOM_VTABLE)
841 ::size_t total_size = 0;
843 ::uint32_t cached_has_bits = 0;
845 (void)cached_has_bits;
847 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
852 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
853 this_._internal_initial_propagation_start_time(), 1,
854 this_.
_impl_._initial_propagation_start_time_cached_byte_size_);
859 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
860 this_._internal_initial_propagation_end_time(), 1,
861 this_.
_impl_._initial_propagation_end_time_cached_byte_size_);
865 total_size += 1UL * this_._internal_demons_size();
866 for (
const auto& msg : this_._internal_demons()) {
867 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
871 cached_has_bits = this_.
_impl_._has_bits_[0];
872 if ((cached_has_bits & 0x00000003u) != 0) {
874 if ((cached_has_bits & 0x00000001u) != 0) {
875 if (!this_._internal_constraint_id().empty()) {
876 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
877 this_._internal_constraint_id());
881 if ((cached_has_bits & 0x00000002u) != 0) {
882 if (this_._internal_failures() != 0) {
883 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
884 this_._internal_failures());
888 return this_.MaybeComputeUnknownFieldsSize(total_size,
889 &this_.
_impl_._cached_size_);
892void ConstraintRuns::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
893 auto*
const _this =
static_cast<ConstraintRuns*
>(&to_msg);
894 auto& from =
static_cast<const ConstraintRuns&
>(from_msg);
896 ABSL_DCHECK_NE(&from, _this);
897 ::uint32_t cached_has_bits = 0;
898 (void) cached_has_bits;
900 _this->_internal_mutable_initial_propagation_start_time()->MergeFrom(from._internal_initial_propagation_start_time());
901 _this->_internal_mutable_initial_propagation_end_time()->MergeFrom(from._internal_initial_propagation_end_time());
902 _this->_internal_mutable_demons()->MergeFrom(
903 from._internal_demons());
904 cached_has_bits = from._impl_._has_bits_[0];
905 if ((cached_has_bits & 0x00000003u) != 0) {
906 if ((cached_has_bits & 0x00000001u) != 0) {
907 if (!from._internal_constraint_id().empty()) {
908 _this->_internal_set_constraint_id(from._internal_constraint_id());
910 if (_this->_impl_.constraint_id_.IsDefault()) {
911 _this->_internal_set_constraint_id(
"");
915 if ((cached_has_bits & 0x00000002u) != 0) {
916 if (from._internal_failures() != 0) {
917 _this->_impl_.failures_ = from._impl_.failures_;
921 _this->_impl_._has_bits_[0] |= cached_has_bits;
922 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
927 if (&from ==
this)
return;
933void ConstraintRuns::InternalSwap(
ConstraintRuns* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
935 auto* arena = GetArena();
936 ABSL_DCHECK_EQ(arena, other->GetArena());
937 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
938 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
939 _impl_.initial_propagation_start_time_.InternalSwap(&other->_impl_.initial_propagation_start_time_);
940 _impl_.initial_propagation_end_time_.InternalSwap(&other->_impl_.initial_propagation_end_time_);
941 _impl_.demons_.InternalSwap(&other->_impl_.demons_);
942 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.constraint_id_, &other->_impl_.constraint_id_, arena);
943 swap(
_impl_.failures_, other->_impl_.failures_);
947 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
956PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
959 ::std::false_type{});
960#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[]
decltype(::std::declval< ConstraintRuns >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
static constexpr auto InternalGenerateClassData_()
static constexpr auto InternalNewImpl_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
~ConstraintRuns() PROTOBUF_FINAL
void CopyFrom(const ConstraintRuns &from)
void MergeFrom(const ConstraintRuns &from)
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
decltype(::std::declval< DemonRuns >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
void CopyFrom(const DemonRuns &from)
friend class ::google::protobuf::MessageLite
void MergeFrom(const DemonRuns &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_()
~DemonRuns() PROTOBUF_FINAL
friend void swap(DemonRuns &a, DemonRuns &b)
static constexpr auto InternalGenerateClassData_()
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
::google::protobuf::Metadata GetMetadata() const
::size_t ByteSizeLong() const final
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fconstraint_5fsolver_2fdemon_5fprofiler_2eproto
::absl::once_flag descriptor_table_ortools_2fconstraint_5fsolver_2fdemon_5fprofiler_2eproto_once
const ::uint32_t TableStruct_ortools_2fconstraint_5fsolver_2fdemon_5fprofiler_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fconstraint_5fsolver_2fdemon_5fprofiler_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fdemon_5fprofiler_2eproto
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DemonRunsDefaultTypeInternal _DemonRuns_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull DemonRuns_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ConstraintRuns_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConstraintRunsDefaultTypeInternal _ConstraintRuns_default_instance_
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_CONSTEXPR ConstraintRunsDefaultTypeInternal()
~ConstraintRunsDefaultTypeInternal()
PROTOBUF_CONSTEXPR DemonRunsDefaultTypeInternal()
~DemonRunsDefaultTypeInternal()